How to install CUPS on Fedora CoreOS Latest

CUPS, short for Common Unix Printing System, allows you to print documents in Unix-based operating systems. In this tutorial, we will guide you through the steps to install CUPS on Fedora CoreOS Latest.

Prerequisites

Step 1: Update the System

Before installing CUPS, it's important to update the system to ensure that all packages are up to date. To do that, run the following command:

sudo dnf update

Step 2: Install CUPS

To install CUPS, run the following command:

sudo dnf install cups

During the installation, you might be prompted to confirm certain dependencies. Type "y" or "yes," as necessary.

Step 3: Start and Enable CUPS Service

After installing CUPS, start the service and enable it to run when the system starts by running the following command:

sudo systemctl enable --now cups.service

To verify that the CUPS service is running, use the following command:

sudo systemctl status cups.service

Step 4: Configure CUPS

CUPS has a web-based interface, which can be accessed by navigating to http://localhost:631 in your web browser. From there, you can configure the CUPS server, add printers, and manage print jobs.

To access the CUPS web interface from another device on the network, you need to modify the CUPS configuration file. To do that, run the following command:

sudo nano /etc/cups/cupsd.conf

In the file, locate the line that says "Listen localhost:631" and replace it with "Listen *:631." Save the changes and restart the CUPS service by running:

sudo systemctl restart cups.service

Now you can access the CUPS web interface from any device on your network by navigating to http://:631.

Conclusion

In this tutorial, you've learned how to install CUPS on Fedora CoreOS Latest and configure it to manage printers and print jobs. CUPS is an essential tool for any Linux-based system, and it provides a reliable and efficient way to print documents.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!