How To Install cups-libs on CentOS 8

cups-libs is CUPS printing system - libraries CUPS printing system - libraries

Introduction

In this tutorial we learn how to install cups-libs on CentOS 8.

What is cups-libs

CUPS printing system provides a portable printing layer for UNIX\xae operating systems. It has been developed by Apple Inc. to promote a standard printing solution for all UNIX vendors and users. CUPS provides the System V and Berkeley command-line interfaces. The cups-libs package provides libraries used by applications to use CUPS natively, without needing the lp/lpr commands. cups-libs 1 2.2.6 38.el8 x86_64 433 k cups-2.2.6-38.el8.src.rpm baseos CUPS printing system - libraries http LGPLv2 and zlib CUPS printing system provides a portable printing layer for UNIX\xae operating systems. It has been developed by Apple Inc. to promote a standard printing solution for all UNIX vendors and users. CUPS provides the System V and Berkeley command-line interfaces. The cups-libs package provides libraries used by applications to use CUPS natively, without needing the lp/lpr commands.

We can use yum or dnf to install cups-libs on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install cups-libs.

Install cups-libs on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install cups-libs using dnf by running the following command:

sudo dnf -y install cups-libs

Install cups-libs on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install cups-libs using yum by running the following command:

sudo yum -y install cups-libs

How To Uninstall cups-libs on CentOS 8

To uninstall only the cups-libs package we can use the following command:

sudo dnf remove cups-libs

cups-libs Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/04
/usr/lib/.build-id/04/cd55bdc053a82cf8f3035e6da41eb0ac819cde
/usr/lib/.build-id/76
/usr/lib/.build-id/76/c440d8f46ca049fc1495c57c6e4d87565e3f27
/usr/lib/.build-id/a9
/usr/lib/.build-id/a9/80874f1f95b867e2c3b726bbff4249572556f3
/usr/lib/.build-id/ae
/usr/lib/.build-id/ae/972d9d201f506dd6935f1644acdb27d7ccb058
/usr/lib/.build-id/d5/35b10b4bb705f8d4e556545041b19f3b064421
/usr/lib/libcups.so.2
/usr/lib/libcupscgi.so.1
/usr/lib/libcupsimage.so.2
/usr/lib/libcupsmime.so.1
/usr/lib/libcupsppdc.so.1
/usr/share/licenses/cups-libs
/usr/share/licenses/cups-libs/LICENSE.txt
/usr/lib/.build-id
/usr/lib/.build-id/1f
/usr/lib/.build-id/1f/8ad0c3facc6b5cf01fb8bb0487c73d90dae8bb
/usr/lib/.build-id/22
/usr/lib/.build-id/22/c600ed23fbb60c4335c72592e90b8c5f41fd0d
/usr/lib/.build-id/36/0fab947b3954b6974dc0f8d923f01a99852183
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/bc2af4e36888d0d1bc3533742c4dd29353705f
/usr/lib/.build-id/e9
/usr/lib/.build-id/e9/28a117c021646f24794227436bb2486024bc99
/usr/lib64/libcups.so.2
/usr/lib64/libcupscgi.so.1
/usr/lib64/libcupsimage.so.2
/usr/lib64/libcupsmime.so.1
/usr/lib64/libcupsppdc.so.1
/usr/share/licenses/cups-libs
/usr/share/licenses/cups-libs/LICENSE.txt

References

Summary

In this tutorial we learn how to install cups-libs on CentOS 8 using yum and dnf.