How To Install libvarlink-util on CentOS 8

libvarlink-util is Varlink command line tools

Introduction

In this tutorial we learn how to install libvarlink-util on CentOS 8.

The libvarlink-util package contains varlink command line tools.

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

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

sudo dnf -y install libvarlink-util

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

sudo yum -y install libvarlink-util

To uninstall only the libvarlink-util package we can use the following command:

sudo dnf remove libvarlink-util
/usr/bin/varlink
/usr/lib/.build-id
/usr/lib/.build-id/22
/usr/lib/.build-id/22/e7bd014bc9a4da57e70508eb85c704b169973f
/usr/share/bash-completion/completions/varlink
/usr/share/vim/vimfiles/after/ftdetect
/usr/share/vim/vimfiles/after/ftdetect/varlink.vim
/usr/share/vim/vimfiles/after/ftplugin
/usr/share/vim/vimfiles/after/ftplugin/varlink.vim
/usr/share/vim/vimfiles/after/syntax
/usr/share/vim/vimfiles/after/syntax/varlink.vim

References

Summary

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