How To Install netpbm on CentOS 8

netpbm is A library for handling different graphics file formats A library for handling different graphics file formats

Introduction

In this tutorial we learn how to install netpbm on CentOS 8.

What is netpbm

The netpbm package contains a library of functions which support programs for handling various graphics file formats, including .pbm (portable bitmaps), .pgm (portable graymaps), .pnm (portable anymaps), .ppm (portable pixmaps) and others. netpbm 10.82.00 6.el8 x86_64 206 k netpbm-10.82.00-6.el8.src.rpm appstream A library for handling different graphics file formats http BSD and GPLv2 and IJG and MIT and Public Domain The netpbm package contains a library of functions which support programs for handling various graphics file formats, including .pbm (portable bitmaps), .pgm (portable graymaps), .pnm (portable anymaps), .ppm (portable pixmaps) and others.

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

Install netpbm 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 netpbm using dnf by running the following command:

sudo dnf -y install netpbm

Install netpbm 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 netpbm using yum by running the following command:

sudo yum -y install netpbm

How To Uninstall netpbm on CentOS 8

To uninstall only the netpbm package we can use the following command:

sudo dnf remove netpbm

netpbm Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/4e959cddc5c00e22ba0bd82a7acf6d45bbaff2
/usr/lib/libnetpbm.so.11
/usr/lib/libnetpbm.so.11.82
/usr/share/doc/netpbm
/usr/share/doc/netpbm/COPYRIGHT.PATENT
/usr/share/doc/netpbm/HISTORY
/usr/share/doc/netpbm/README
/usr/share/doc/netpbm/copyright_summary
/usr/share/licenses/netpbm
/usr/share/licenses/netpbm/GPL_LICENSE.txt
/usr/lib/.build-id
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/07c306b99f6660ccc5644e30f6c864e3dfa32e
/usr/lib64/libnetpbm.so.11
/usr/lib64/libnetpbm.so.11.82
/usr/share/doc/netpbm
/usr/share/doc/netpbm/COPYRIGHT.PATENT
/usr/share/doc/netpbm/HISTORY
/usr/share/doc/netpbm/README
/usr/share/doc/netpbm/copyright_summary
/usr/share/licenses/netpbm
/usr/share/licenses/netpbm/GPL_LICENSE.txt

References

Summary

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