How To Install strongswan-tnc-imcvs on CentOS 8

strongswan-tnc-imcvs is Trusted network connect (TNC)’s IMC/IMV functionality

Introduction

In this tutorial we learn how to install strongswan-tnc-imcvs on CentOS 8.

What is strongswan-tnc-imcvs

This package provides Trusted Network Connect’s (TNC) architecture support. It includes support for TNC client and server (IF-TNCCS), IMC and IMV message exchange (IF-M), interface between IMC/IMV and TNC client/server (IF-IMC and IF-IMV). It also includes PTS based IMC/IMV for TPM based remote attestation, SWID IMC/IMV, and OS IMC/IMV. It’s IMC/IMV dynamic libraries modules can be used by any third party TNC Client/Server implementation possessing a standard IF-IMC/IMV interface. In addition, it implements PT-TLS to support TNC over TLS.

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

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

sudo dnf -y install strongswan-tnc-imcvs

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

sudo yum -y install strongswan-tnc-imcvs

How To Uninstall strongswan-tnc-imcvs on CentOS 8

To uninstall only the strongswan-tnc-imcvs package we can use the following command:

sudo dnf remove strongswan-tnc-imcvs

strongswan-tnc-imcvs Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/0e/7ccbec2d1bd903398f2e73b73934ee8a70291b
/usr/lib/.build-id/2f/57c78b537075b1c069aa31bbf376cc58aa135e
/usr/lib/.build-id/34/febf5382b8bf92edb1152e0c22f7f456cbcc10
/usr/lib/.build-id/49
/usr/lib/.build-id/49/18d58c21a8bc578841032af72561e8e8b2f8a3
/usr/lib/.build-id/56/c79e239aac4216ac7ead88f2b79bfedde1375c
/usr/lib/.build-id/64/bdc47e3ca8ac03d9e60faea8b78f350566acdb
/usr/lib/.build-id/88/3d043f41d4dbb7802a8d42de80ffb809920785
/usr/lib/.build-id/a3/c368d6a78c797e931ce09d95b0d5f4dd183728
/usr/lib/.build-id/b8/5890482e2a841223875fa0af3d272db67fd85d
/usr/lib/.build-id/ba/9091c3f74787d6045064fc613c3bfd2d6f3c4d
/usr/lib/.build-id/c3/734be97e5c23d4dc7654f647be8f48b7fb68f7
/usr/lib/.build-id/da/960e9b9e9f51032f69e24290ac6383fe550433
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/cf81cb89fcb66356cebaa9189963905c6884c7
/usr/lib/.build-id/f3/f11987d644790de9ba2ebb95dfc14fbc8006c5
/usr/lib/.build-id/fb/dfa413ecf9227b7d2356d607225d355c85175b
/usr/lib64/strongswan/imcvs
/usr/lib64/strongswan/libimcv.so.0
/usr/lib64/strongswan/libimcv.so.0.0.0
/usr/lib64/strongswan/libtnccs.so.0
/usr/lib64/strongswan/libtnccs.so.0.0.0
/usr/lib64/strongswan/plugins
/usr/lib64/strongswan/plugins/libstrongswan-eap-tnc.so
/usr/lib64/strongswan/plugins/libstrongswan-tnc-ifmap.so
/usr/lib64/strongswan/plugins/libstrongswan-tnc-imc.so
/usr/lib64/strongswan/plugins/libstrongswan-tnc-imv.so
/usr/lib64/strongswan/plugins/libstrongswan-tnc-pdp.so
/usr/lib64/strongswan/plugins/libstrongswan-tnc-tnccs.so
/usr/lib64/strongswan/plugins/libstrongswan-tnccs-11.so
/usr/lib64/strongswan/plugins/libstrongswan-tnccs-20.so
/usr/lib64/strongswan/plugins/libstrongswan-tnccs-dynamic.so
/usr/libexec/strongswan/attest
/usr/libexec/strongswan/pt-tls-client
/usr/sbin/sec-updater
/usr/sbin/sw-collector
/usr/share/strongswan/swidtag
/usr/share/strongswan/swidtag/strongswan.org__strongSwan-5-9-1.swidtag

References

Summary

In this tutorial we learn how to install strongswan-tnc-imcvs on CentOS 8 using yum and dnf.