How To Install charliecloud on CentOS 8

Hostnbit

charliecloud is Lightweight user-defined software stacks for high-performance computing

Introduction

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

What is charliecloud

Charliecloud uses Linux user namespaces to run containers with no privileged operations or daemons and minimal configuration changes on center resources. This simple approach avoids most security risks while maintaining access to the performance and functionality already on offer. Container images can be built using Docker or anything else that can generate a standard Linux filesystem tree. For more information

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

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

sudo dnf -y install charliecloud

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

sudo yum -y install charliecloud

How To Uninstall charliecloud on CentOS 8

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

sudo dnf remove charliecloud

charliecloud Package Contents on CentOS 8

/usr/bin/ch-build
/usr/bin/ch-build2dir
/usr/bin/ch-builder2squash
/usr/bin/ch-builder2tar
/usr/bin/ch-checkns
/usr/bin/ch-dir2squash
/usr/bin/ch-fromhost
/usr/bin/ch-grow
/usr/bin/ch-image
/usr/bin/ch-mount
/usr/bin/ch-pull2dir
/usr/bin/ch-pull2tar
/usr/bin/ch-run
/usr/bin/ch-run-oci
/usr/bin/ch-ssh
/usr/bin/ch-tar2dir
/usr/bin/ch-umount
/usr/lib/.build-id
/usr/lib/.build-id/0d
/usr/lib/.build-id/0d/2ff5032cda9da6acf8e6538e599e2a655a67e6
/usr/lib/.build-id/81
/usr/lib/.build-id/81/25a42a189ee641460b9c76fc5bfb275266821d
/usr/lib/.build-id/81/25a42a189ee641460b9c76fc5bfb275266821d.1
/usr/lib/.build-id/81/25a42a189ee641460b9c76fc5bfb275266821d.2
/usr/lib/.build-id/81/25a42a189ee641460b9c76fc5bfb275266821d.3
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/264c98ad8aa9c8ff2856b6d101e64ee35f2c58
/usr/lib/.build-id/a9
/usr/lib/.build-id/a9/6cfa037310f0a9c2cfa651a8be87f7e2dbf1d5
/usr/lib/.build-id/a9/6cfa037310f0a9c2cfa651a8be87f7e2dbf1d5.1
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/896455fbc147a161775e6b3493900903375b5e
/usr/lib64/charliecloud/base.sh
/usr/lib64/charliecloud/build.py
/usr/lib64/charliecloud/charliecloud.py
/usr/lib64/charliecloud/contributors.bash
/usr/lib64/charliecloud/fakeroot.py
/usr/lib64/charliecloud/misc.py
/usr/lib64/charliecloud/version.py
/usr/lib64/charliecloud/version.sh
/usr/lib64/charliecloud/version.txt
/usr/share/doc/charliecloud
/usr/share/doc/charliecloud/README.rst
/usr/share/licenses/charliecloud
/usr/share/licenses/charliecloud/LICENSE
/usr/share/man/man1/ch-build.1.gz
/usr/share/man/man1/ch-build2dir.1.gz
/usr/share/man/man1/ch-builder2squash.1.gz
/usr/share/man/man1/ch-builder2tar.1.gz
/usr/share/man/man1/ch-checkns.1.gz
/usr/share/man/man1/ch-dir2squash.1.gz
/usr/share/man/man1/ch-fromhost.1.gz
/usr/share/man/man1/ch-grow.1.gz
/usr/share/man/man1/ch-image.1.gz
/usr/share/man/man1/ch-mount.1.gz
/usr/share/man/man1/ch-pull2dir.1.gz
/usr/share/man/man1/ch-pull2tar.1.gz
/usr/share/man/man1/ch-run-oci.1.gz
/usr/share/man/man1/ch-run.1.gz
/usr/share/man/man1/ch-ssh.1.gz
/usr/share/man/man1/ch-tar2dir.1.gz
/usr/share/man/man1/ch-test.1.gz
/usr/share/man/man1/ch-umount.1.gz

References

AdvertisementsEzoicreport this ad

Summary

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

Hostnbit

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Menu Title
Scroll to Top