How To Install spirv-tools-libs on CentOS 8

spirv-tools-libs is Library files for spirv-tools Library files for spirv-tools

Introduction

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

What is spirv-tools-libs

library files for spirv-tools spirv-tools-libs 2020.5 3.20201208.gitb27b1af.el8 x86_64 1.4 M spirv-tools-2020.5-3.20201208.gitb27b1af.el8.src.rpm appstream Library files for spirv-tools https ASL 2.0 library files for spirv-tools

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

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

sudo dnf -y install spirv-tools-libs

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

sudo yum -y install spirv-tools-libs

How To Uninstall spirv-tools-libs on CentOS 8

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

sudo dnf remove spirv-tools-libs

spirv-tools-libs Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/3a
/usr/lib/.build-id/3a/beb3e1bfaa40aef41a440d3fd27c6b57b999e4
/usr/lib/.build-id/6b
/usr/lib/.build-id/6b/f76d5f3626cc64c252f93f5ceaf97b0c2fddc6
/usr/lib/.build-id/71
/usr/lib/.build-id/71/c212a340460fceddd9051fad70970c40802cbe
/usr/lib/.build-id/a6
/usr/lib/.build-id/a6/98f82474a1242163aba953abd12e590cfbc143
/usr/lib/.build-id/da
/usr/lib/.build-id/da/27c6be9a3e7ce0903aec0f4536f716d85d62d9
/usr/lib64/libSPIRV-Tools-link.so
/usr/lib64/libSPIRV-Tools-opt.so
/usr/lib64/libSPIRV-Tools-reduce.so
/usr/lib64/libSPIRV-Tools-shared.so
/usr/lib64/libSPIRV-Tools.so
/usr/lib/.build-id
/usr/lib/.build-id/4b
/usr/lib/.build-id/4b/e522e7c1c1ee8fd7790c297d206a15ffe3ffa9
/usr/lib/.build-id/9a
/usr/lib/.build-id/9a/1acd2091c6c1b754fff6a4fa5ba57e1f64b121
/usr/lib/.build-id/a6
/usr/lib/.build-id/a6/a13668887ab6bb1ab2a670f259c42a833fdd00
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/3eae957b16605ffa75abceee91a15c8850aa9e
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/ec16bbbda0f05f3d24c8b103a197a53a7acf7f
/usr/lib/libSPIRV-Tools-link.so
/usr/lib/libSPIRV-Tools-opt.so
/usr/lib/libSPIRV-Tools-reduce.so
/usr/lib/libSPIRV-Tools-shared.so
/usr/lib/libSPIRV-Tools.so

References

Summary

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