How To Install pinfo on CentOS 8

pinfo is An info file viewer

Introduction

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

What is pinfo

Pinfo is an info file (or man page) viewer with a user interface similar to the Lynx Web browser’s interface. Pinfo supports searching using regular expressions, and is based on the ncurses library.

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

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

sudo dnf -y install pinfo

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

sudo yum -y install pinfo

How To Uninstall pinfo on CentOS 8

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

sudo dnf remove pinfo

pinfo Package Contents on CentOS 8

/etc/pinforc
/usr/bin/pinfo
/usr/lib/.build-id
/usr/lib/.build-id/eb
/usr/lib/.build-id/eb/e01c829466b9a7ed5babd8a74b381384874249
/usr/share/doc/pinfo
/usr/share/doc/pinfo/AUTHORS
/usr/share/doc/pinfo/COPYING
/usr/share/doc/pinfo/ChangeLog
/usr/share/doc/pinfo/ChangeLog.old
/usr/share/doc/pinfo/NEWS
/usr/share/doc/pinfo/README
/usr/share/doc/pinfo/TECHSTUFF
/usr/share/info/pinfo.info.gz
/usr/share/locale/cs/LC_MESSAGES/pinfo.mo
/usr/share/locale/de/LC_MESSAGES/pinfo.mo
/usr/share/locale/eu/LC_MESSAGES/pinfo.mo
/usr/share/locale/ja/LC_MESSAGES/pinfo.mo
/usr/share/locale/nl/LC_MESSAGES/pinfo.mo
/usr/share/locale/pl/LC_MESSAGES/pinfo.mo
/usr/share/locale/pt_BR/LC_MESSAGES/pinfo.mo
/usr/share/locale/ro/LC_MESSAGES/pinfo.mo
/usr/share/locale/ru/LC_MESSAGES/pinfo.mo
/usr/share/locale/sv/LC_MESSAGES/pinfo.mo
/usr/share/locale/vi/LC_MESSAGES/pinfo.mo
/usr/share/man/man1/pinfo.1.gz

References

Summary

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