How To Install capnproto-libs on CentOS 8

capnproto-libs is Libraries for capnproto

Introduction

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

What is capnproto-libs

The capnproto-libs package contains the libraries for using capnproto in applications.

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

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

sudo dnf -y install capnproto-libs

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

sudo yum -y install capnproto-libs

How To Uninstall capnproto-libs on CentOS 8

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

sudo dnf remove capnproto-libs

capnproto-libs Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/0a
/usr/lib/.build-id/0a/99123779455b8ca0350b27e47d5dcd77eaa744
/usr/lib/.build-id/1f
/usr/lib/.build-id/1f/fff3fb5fd6df07601a1de7d4de951ec2896db7
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/4a5b04d409402925d303ac85f5ee825a9c2111
/usr/lib/.build-id/46
/usr/lib/.build-id/46/8e5ab63fc8378fa86805b36cb32cb71e502290
/usr/lib/.build-id/5f
/usr/lib/.build-id/5f/d0e1d0786bdba9f8e5df2979da801728478e25
/usr/lib/.build-id/60
/usr/lib/.build-id/60/b5086bf4947eca8e1a9d4893369db2e85851fc
/usr/lib/.build-id/8e/72438a2ea3720f02c967858e363183a1ac60c0
/usr/lib/.build-id/c1
/usr/lib/.build-id/c1/d189945cb238a1ab1af8d37b26bfa992ecb1b9
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/4543dd4327bab9b09ef56c4a0c1b8474b6022d
/usr/lib64/libcapnp-json.so.0.7.0
/usr/lib64/libcapnp-rpc.so.0.7.0
/usr/lib64/libcapnp.so.0.7.0
/usr/lib64/libcapnpc.so.0.7.0
/usr/lib64/libkj-async.so.0.7.0
/usr/lib64/libkj-gzip.so.0.7.0
/usr/lib64/libkj-http.so.0.7.0
/usr/lib64/libkj-test.so.0.7.0
/usr/lib64/libkj.so.0.7.0
/usr/share/licenses/capnproto-libs
/usr/share/licenses/capnproto-libs/LICENSE.txt

References

Summary

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