How To Install orc on CentOS 8

orc is The Oil Run-time Compiler The Oil Run-time Compiler

Introduction

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

What is orc

Orc is a library and set of tools for compiling and executing very simple programs that operate on arrays of data. The “language” is a generic assembly language that represents many of the features available in SIMD architectures, including saturated addition and subtraction, and many arithmetic operations. orc 0.4.28 3.el8 x86_64 175 k orc-0.4.28-3.el8.src.rpm appstream The Oil Run-time Compiler http BSD Orc is a library and set of tools for compiling and executing very simple programs that operate on arrays of data. The “language” is a generic assembly language that represents many of the features available in SIMD architectures, including saturated addition and subtraction, and many arithmetic operations.

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

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

sudo dnf -y install orc

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

sudo yum -y install orc

How To Uninstall orc on CentOS 8

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

sudo dnf remove orc

orc Package Contents on CentOS 8

/usr/bin/orc-bugreport
/usr/lib/.build-id
/usr/lib/.build-id/06
/usr/lib/.build-id/06/26cb3cce0b8246d1c44c3b40afb66a9b587947
/usr/lib/.build-id/b4
/usr/lib/.build-id/b4/01ca1d0e0c0b114394afe44729f1c6e282eba4
/usr/lib/.build-id/fe
/usr/lib/.build-id/fe/d97e2200a15b9bec77b4ba5f94194c3b53ee0e
/usr/lib/liborc-0.4.so.0
/usr/lib/liborc-0.4.so.0.28.0
/usr/lib/liborc-test-0.4.so.0
/usr/lib/liborc-test-0.4.so.0.28.0
/usr/share/doc/orc
/usr/share/doc/orc/COPYING
/usr/share/doc/orc/README
/usr/bin/orc-bugreport
/usr/lib/.build-id
/usr/lib/.build-id/5e
/usr/lib/.build-id/5e/4a775d0b2adff51b5f48305b289cb6e3bf2b29
/usr/lib/.build-id/8e
/usr/lib/.build-id/8e/f1a77215a5dbd531414b2fd33f6788cbd72c8d
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/9ea6a60df483ad5ee19313fa6ad9bcd14ceda3
/usr/lib64/liborc-0.4.so.0
/usr/lib64/liborc-0.4.so.0.28.0
/usr/lib64/liborc-test-0.4.so.0
/usr/lib64/liborc-test-0.4.so.0.28.0
/usr/share/doc/orc
/usr/share/doc/orc/COPYING
/usr/share/doc/orc/README

References

Summary

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