How to Install CUPS on FreeBSD Latest
CUPS is a printing system that allows you to easily print documents and images from your computer. In this tutorial, we will show you how to install CUPS on FreeBSD Latest in easy steps.
Prerequisites
Before starting the installation of CUPS, make sure that your FreeBSD system is up to date using these commands:
sudo pkg update
sudo pkg upgrade
Installing CUPS
Follow these steps to install CUPS on FreeBSD Latest:
- Open the terminal window in your FreeBSD system.
- Type the following command to install CUPS:
sudo pkg install cups
- Wait for the installation process to complete.
- Enable CUPS by adding
cupsd_enable="yes"to/etc/rc.conffile using your favorite text editor.
sudo nano /etc/rc.conf
- Start the CUPS service by running the following command:
sudo service cupsd start
Configuring CUPS
After installing CUPS, you need to configure it to use the printers properly. Follow these steps to configure CUPS:
- Open your web browser and navigate to
http://localhost:631. - Click on the "Administration" tab located on the top of the page.
- Enter your system administrator credentials to access the CUPS configuration page.
- Click on "Add Printer" and follow the on-screen instructions to add your printer.
Testing CUPS
To test if CUPS is working on FreeBSD Latest:
- Navigate to
http://localhost:631/printersin your web browser. - Click on the printer you added and select “Print Test Page” to print a test page.
Conclusion
Congratulations, you have successfully installed and configured CUPS on FreeBSD Latest. You can now enjoy printing your documents with ease.