How To Install charliecloud on Fedora 34
Introduction
In this tutorial we learn how to install charliecloud
on Fedora 34.
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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install charliecloud.
Install charliecloud on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 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 Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 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 Fedora 34
To uninstall only the charliecloud
package we can use the following command:
sudo dnf remove charliecloud
charliecloud Package Contents on Fedora 34
/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/3f
/usr/lib/.build-id/3f/268f408e4fbb0f7ced7b2a40c0ef8661e500e3
/usr/lib/.build-id/76
/usr/lib/.build-id/76/12673c4f47051139761a9d6195b01b71ab38f4
/usr/lib/.build-id/ae
/usr/lib/.build-id/ae/4eaca416d9e4c6ee49ebdd3e819586bb96e67f
/usr/lib/.build-id/ae/4eaca416d9e4c6ee49ebdd3e819586bb96e67f.1
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/6532e6afbc1810579aab4e927e9405eef6914e
/usr/lib/.build-id/d9
/usr/lib/.build-id/d9/f04762b92807bf484c744a867434245af66a2b
/usr/lib/.build-id/d9/f04762b92807bf484c744a867434245af66a2b.1
/usr/lib/.build-id/d9/f04762b92807bf484c744a867434245af66a2b.2
/usr/lib/.build-id/d9/f04762b92807bf484c744a867434245af66a2b.3
/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
Summary
In this tutorial we learn how to install charliecloud
on Fedora 34 using yum and dnf.