• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to install and configure CUPS on Rocky Linux 8.6

  • 00:40 cat /etc/os-release
  • 00:54 yum install cups*
  • 01:30 vim /etc/cups/cupsd.conf
  • 02:51 systemctl enable cups
  • 03:03 systemctl start cups
  • 03:15 firewall-cmd --add-service=ipp --permanent
  • 03:42 firewall-cmd –reload
{{postValue.id}}

To Install And Configure CUPS On Rocky Linux 8.6

Installation Procedure:

Step 1: Check the installed version OS by using the below command

[root@linuxhelp ~]# cat /etc/os-release 
NAME="Rocky Linux"
VERSION="8.6 (Green Obsidian)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="8.6"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Rocky Linux 8.6 (Green Obsidian)"

Step 2: Install CUPS by using the below command

[root@linuxhelp ~]# yum install cups*	
============================================================================================================
 Package                        Architecture      Version                        Repository            Size
============================================================================================================
Installing:
 cups-devel                     x86_64            1:2.2.6-45.el8_6.2             appstream            149 k
 cups-lpd                       x86_64            1:2.2.6-45.el8_6.2             appstream            125 k
Upgrading:
 cups                           x86_64            1:2.2.6-45.el8_6.2             appstream            1.4 M
 cups-client                    x86_64            1:2.2.6-45.el8_6.2             appstream            169 k
 cups-filesystem                noarch            1:2.2.6-45.el8_6.2             appstream            109 k
Total download size: 14 M
Is this ok [y/N]: y
Complete!

Step 3: Make Some changes on cup configuration by using the below command

[root@linuxhelp ~]# vim /etc/cups/cupsd.conf
allow 192.168.7.0/23
allow 192.168.6.121

Step 4: Enable cups services by using the below command

[root@linuxhelp ~]# systemctl enable cups

Step 5: Start cups services by using the below command

 [root@linuxhelp ~]# systemctl start cups 

Step 6: Add firewall for ipp by using the below command

[root@linuxhelp ~]# firewall-cmd --add-service=ipp --permanent 
Success

Step 7: Reload Firewall by using the below command

[root@linuxhelp ~]# firewall-cmd –reload
success

Step 8: Browse your server Ip with Cups port number as shown in the below image

Snap 1

Step 9: This is Welcome page of cups

Snap 2

Step 10: Here you can add the printer

Snap 3

Step 11: Login with root credential

Snap 4

Step 12: Configure your printer here

Snap 5

Conclusion:

We have reached the end of this article. In this guide, we have walked you through the steps required to install and configure CUPS on Rocky Linux 8.6. Your feedback is much welcome.

Tags:
wilson
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

Name the tool that provides Linux printing support?

A

CUPS, the Common Unix Printing System

Q

List the packages to install CUPS?

A

CUPS includes as following RPM packages:
cups: Common Unix Printing System
cups-libs: CUPS printing system – libraries.
hal-cups-utils: Halified CUPS utilities
libgnomecups: GNOME library for CUPS integration
gutenprint-cups: CUPS drivers for Canon, Epson, HP, and compatible printers
foomatic: Database of printers and printer drivers

Q

What is the configuration location of CUPS?

A

#/etc/cups.cupsd.conf

Q

How to start the service of CUPS?

A

systemctl start cups

Q

How to restart the service of CUPS?

A

systemctl restart cups

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Jayce ?
What are the types of table used in IPtables

What are the various types of table used in IPtables and how to use that for my server security?

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.