How To Install rdopkg on CentOS 8

rdopkg is RPM packaging automation tool CLI

Introduction

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

What is rdopkg

rdopkg is a tool for automating RPM packaging tasks such as managing patches, updating to a new version and much more. Although it contains several RDO-specific actions, most of rdopkg functionality can be used for any RPM package following conventions described in the rdopkg manual. This package contains rdopkg executable, man pages and docs.

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

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

sudo dnf -y install rdopkg

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

sudo yum -y install rdopkg

How To Uninstall rdopkg on CentOS 8

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

sudo dnf remove rdopkg

rdopkg Package Contents on CentOS 8

/usr/bin/rdopkg
/usr/share/doc/rdopkg
/usr/share/doc/rdopkg/README.md
/usr/share/doc/rdopkg/html
/usr/share/doc/rdopkg/html/rdo.css
/usr/share/doc/rdopkg/html/rdopkg-adv-new-version.7.html
/usr/share/doc/rdopkg/html/rdopkg-adv-requirements.7.html
/usr/share/doc/rdopkg/html/rdopkg-feature-actions.7.html
/usr/share/doc/rdopkg/html/rdopkg-feature-fix.7.html
/usr/share/doc/rdopkg/html/rdopkg-feature-new-version.7.html
/usr/share/doc/rdopkg/html/rdopkg-feature-patch.7.html
/usr/share/doc/rdopkg/html/rdopkg-feature-pkgenv.7.html
/usr/share/doc/rdopkg/html/rdopkg.1.html
/usr/share/doc/rdopkg/rdopkg-adv-new-version.7.adoc
/usr/share/doc/rdopkg/rdopkg-adv-requirements.7.adoc
/usr/share/doc/rdopkg/rdopkg-feature-actions.7.adoc
/usr/share/doc/rdopkg/rdopkg-feature-fix.7.adoc
/usr/share/doc/rdopkg/rdopkg-feature-new-version.7.adoc
/usr/share/doc/rdopkg/rdopkg-feature-patch.7.adoc
/usr/share/doc/rdopkg/rdopkg-feature-pkgenv.7.adoc
/usr/share/doc/rdopkg/rdopkg.1.adoc
/usr/share/man/man1/rdopkg.1.gz
/usr/share/man/man7/rdopkg-adv-new-version.7.gz
/usr/share/man/man7/rdopkg-adv-requirements.7.gz
/usr/share/man/man7/rdopkg-feature-actions.7.gz
/usr/share/man/man7/rdopkg-feature-fix.7.gz
/usr/share/man/man7/rdopkg-feature-new-version.7.gz
/usr/share/man/man7/rdopkg-feature-patch.7.gz
/usr/share/man/man7/rdopkg-feature-pkgenv.7.gz

References

Summary

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