How To Install cekit on CentOS 8
Introduction
In this tutorial we learn how to install cekit
on CentOS 8.
What is cekit
CEKit helps to build container images from image definition files
We can use yum
or dnf
to install cekit
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install cekit.
Install cekit 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 cekit
using dnf
by running the following command:
sudo dnf -y install cekit
Install cekit 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 cekit
using yum
by running the following command:
sudo yum -y install cekit
How To Uninstall cekit on CentOS 8
To uninstall only the cekit
package we can use the following command:
sudo dnf remove cekit
cekit Package Contents on CentOS 8
/usr/bin/cekit
/usr/bin/cekit-cache
/usr/lib/python3.6/site-packages/cekit
/usr/lib/python3.6/site-packages/cekit-3.8.0-py3.6.egg-info
/usr/lib/python3.6/site-packages/cekit-3.8.0-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/cekit-3.8.0-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/cekit-3.8.0-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/cekit-3.8.0-py3.6.egg-info/entry_points.txt
/usr/lib/python3.6/site-packages/cekit-3.8.0-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/cekit-3.8.0-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/cekit/__init__.py
/usr/lib/python3.6/site-packages/cekit/__pycache__
/usr/lib/python3.6/site-packages/cekit/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/cekit/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/cekit/__pycache__/builder.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/cekit/__pycache__/builder.cpython-36.pyc
/usr/lib/python3.6/site-packages/cekit/__pycache__/cli.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/cekit/__pycache__/cli.cpython-36.pyc
/usr/lib/python3.6/site-packages/cekit/__pycache__/config.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/cekit/__pycache__/config.cpython-36.pyc
/usr/lib/python3.6/site-packages/cekit/__pycache__/crypto.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/cekit/__pycache__/crypto.cpython-36.pyc
/usr/lib/python3.6/site-packages/cekit/__pycache__/errors.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/cekit/__pycache__/errors.cpython-36.pyc
/usr/lib/python3.6/site-packages/cekit/__pycache__/log.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/cekit/__pycache__/log.cpython-36.pyc
/usr/lib/python3.6/site-packages/cekit/__pycache__/template_helper.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/cekit/__pycache__/template_helper.cpython-36.pyc
/usr/lib/python3.6/site-packages/cekit/__pycache__/tools.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/cekit/__pycache__/tools.cpython-36.pyc
/usr/lib/python3.6/site-packages/cekit/__pycache__/version.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/cekit/__pycache__/version.cpython-36.pyc
/usr/lib/python3.6/site-packages/cekit/builder.py
/usr/lib/python3.6/site-packages/cekit/builders
/usr/lib/python3.6/site-packages/cekit/builders/__init__.py
/usr/lib/python3.6/site-packages/cekit/builders/__pycache__
/usr/lib/python3.6/site-packages/cekit/builders/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/cekit/builders/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/cekit/builders/__pycache__/buildah.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/cekit/builders/__pycache__/buildah.cpython-36.pyc
/usr/lib/python3.6/site-packages/cekit/builders/__pycache__/docker_builder.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/cekit/builders/__pycache__/docker_builder.cpython-36.pyc
/usr/lib/python3.6/site-packages/cekit/builders/__pycache__/osbs.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/cekit/builders/__pycache__/osbs.cpython-36.pyc
/usr/lib/python3.6/site-packages/cekit/builders/__pycache__/podman.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/cekit/builders/__pycache__/podman.cpython-36.pyc
/usr/lib/python3.6/site-packages/cekit/builders/buildah.py
/usr/lib/python3.6/site-packages/cekit/builders/docker_builder.py
/usr/lib/python3.6/site-packages/cekit/builders/osbs.py
/usr/lib/python3.6/site-packages/cekit/builders/podman.py
/usr/lib/python3.6/site-packages/cekit/cache
/usr/lib/python3.6/site-packages/cekit/cache/__init__.py
/usr/lib/python3.6/site-packages/cekit/cache/__pycache__
/usr/lib/python3.6/site-packages/cekit/cache/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/cekit/cache/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/cekit/cache/__pycache__/artifact.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/cekit/cache/__pycache__/artifact.cpython-36.pyc
/usr/lib/python3.6/site-packages/cekit/cache/__pycache__/cli.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/cekit/cache/__pycache__/cli.cpython-36.pyc
/usr/lib/python3.6/site-packages/cekit/cache/artifact.py
/usr/lib/python3.6/site-packages/cekit/cache/cli.py
/usr/lib/python3.6/site-packages/cekit/cli.py
/usr/lib/python3.6/site-packages/cekit/config.py
/usr/lib/python3.6/site-packages/cekit/crypto.py
/usr/lib/python3.6/site-packages/cekit/descriptor
/usr/lib/python3.6/site-packages/cekit/descriptor/__init__.py
/usr/lib/python3.6/site-packages/cekit/descriptor/__pycache__
/usr/lib/python3.6/site-packages/cekit/descriptor/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/cekit/descriptor/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/cekit/descriptor/__pycache__/base.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/cekit/descriptor/__pycache__/base.cpython-36.pyc
/usr/lib/python3.6/site-packages/cekit/descriptor/__pycache__/env.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/cekit/descriptor/__pycache__/env.cpython-36.pyc
/usr/lib/python3.6/site-packages/cekit/descriptor/__pycache__/execute.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/cekit/descriptor/__pycache__/execute.cpython-36.pyc
/usr/lib/python3.6/site-packages/cekit/descriptor/__pycache__/image.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/cekit/descriptor/__pycache__/image.cpython-36.pyc
/usr/lib/python3.6/site-packages/cekit/descriptor/__pycache__/label.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/cekit/descriptor/__pycache__/label.cpython-36.pyc
/usr/lib/python3.6/site-packages/cekit/descriptor/__pycache__/module.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/cekit/descriptor/__pycache__/module.cpython-36.pyc
/usr/lib/python3.6/site-packages/cekit/descriptor/__pycache__/modules.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/cekit/descriptor/__pycache__/modules.cpython-36.pyc
/usr/lib/python3.6/site-packages/cekit/descriptor/__pycache__/osbs.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/cekit/descriptor/__pycache__/osbs.cpython-36.pyc
/usr/lib/python3.6/site-packages/cekit/descriptor/__pycache__/overrides.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/cekit/descriptor/__pycache__/overrides.cpython-36.pyc
/usr/lib/python3.6/site-packages/cekit/descriptor/__pycache__/packages.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/cekit/descriptor/__pycache__/packages.cpython-36.pyc
/usr/lib/python3.6/site-packages/cekit/descriptor/__pycache__/port.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/cekit/descriptor/__pycache__/port.cpython-36.pyc
/usr/lib/python3.6/site-packages/cekit/descriptor/__pycache__/resource.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/cekit/descriptor/__pycache__/resource.cpython-36.pyc
/usr/lib/python3.6/site-packages/cekit/descriptor/__pycache__/run.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/cekit/descriptor/__pycache__/run.cpython-36.pyc
/usr/lib/python3.6/site-packages/cekit/descriptor/__pycache__/volume.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/cekit/descriptor/__pycache__/volume.cpython-36.pyc
/usr/lib/python3.6/site-packages/cekit/descriptor/base.py
/usr/lib/python3.6/site-packages/cekit/descriptor/env.py
/usr/lib/python3.6/site-packages/cekit/descriptor/execute.py
/usr/lib/python3.6/site-packages/cekit/descriptor/image.py
/usr/lib/python3.6/site-packages/cekit/descriptor/label.py
/usr/lib/python3.6/site-packages/cekit/descriptor/module.py
/usr/lib/python3.6/site-packages/cekit/descriptor/modules.py
/usr/lib/python3.6/site-packages/cekit/descriptor/osbs.py
/usr/lib/python3.6/site-packages/cekit/descriptor/overrides.py
/usr/lib/python3.6/site-packages/cekit/descriptor/packages.py
/usr/lib/python3.6/site-packages/cekit/descriptor/port.py
/usr/lib/python3.6/site-packages/cekit/descriptor/resource.py
/usr/lib/python3.6/site-packages/cekit/descriptor/run.py
/usr/lib/python3.6/site-packages/cekit/descriptor/volume.py
/usr/lib/python3.6/site-packages/cekit/errors.py
/usr/lib/python3.6/site-packages/cekit/generator
/usr/lib/python3.6/site-packages/cekit/generator/__init__.py
/usr/lib/python3.6/site-packages/cekit/generator/__pycache__
/usr/lib/python3.6/site-packages/cekit/generator/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/cekit/generator/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/cekit/generator/__pycache__/base.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/cekit/generator/__pycache__/base.cpython-36.pyc
/usr/lib/python3.6/site-packages/cekit/generator/__pycache__/docker.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/cekit/generator/__pycache__/docker.cpython-36.pyc
/usr/lib/python3.6/site-packages/cekit/generator/__pycache__/osbs.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/cekit/generator/__pycache__/osbs.cpython-36.pyc
/usr/lib/python3.6/site-packages/cekit/generator/base.py
/usr/lib/python3.6/site-packages/cekit/generator/docker.py
/usr/lib/python3.6/site-packages/cekit/generator/osbs.py
/usr/lib/python3.6/site-packages/cekit/log.py
/usr/lib/python3.6/site-packages/cekit/template_helper.py
/usr/lib/python3.6/site-packages/cekit/templates
/usr/lib/python3.6/site-packages/cekit/templates/__init__.py
/usr/lib/python3.6/site-packages/cekit/templates/__pycache__
/usr/lib/python3.6/site-packages/cekit/templates/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/cekit/templates/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/cekit/templates/help.jinja
/usr/lib/python3.6/site-packages/cekit/templates/template.jinja
/usr/lib/python3.6/site-packages/cekit/test
/usr/lib/python3.6/site-packages/cekit/test/__init__.py
/usr/lib/python3.6/site-packages/cekit/test/__pycache__
/usr/lib/python3.6/site-packages/cekit/test/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/cekit/test/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/cekit/test/__pycache__/behave_runner.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/cekit/test/__pycache__/behave_runner.cpython-36.pyc
/usr/lib/python3.6/site-packages/cekit/test/__pycache__/behave_tester.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/cekit/test/__pycache__/behave_tester.cpython-36.pyc
/usr/lib/python3.6/site-packages/cekit/test/__pycache__/collector.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/cekit/test/__pycache__/collector.cpython-36.pyc
/usr/lib/python3.6/site-packages/cekit/test/behave_runner.py
/usr/lib/python3.6/site-packages/cekit/test/behave_tester.py
/usr/lib/python3.6/site-packages/cekit/test/collector.py
/usr/lib/python3.6/site-packages/cekit/tools.py
/usr/lib/python3.6/site-packages/cekit/version.py
/usr/share/doc/cekit
/usr/share/doc/cekit/README.rst
/usr/share/licenses/cekit
/usr/share/licenses/cekit/LICENSE
References
Summary
In this tutorial we learn how to install cekit
on CentOS 8 using yum and dnf.