How To Install source-to-image on Fedora 36

In this tutorial we learn how to install source-to-image in Fedora 36. source-to-image is A tool for building artifacts from source and injecting into docker images

Introduction

In this tutorial we learn how to install source-to-image on Fedora 36.

What is source-to-image

Source-to-Image (S2I) is a toolkit and workflow for building reproducible container images from source code. S2I produces ready-to-run images by injecting source code into a container image and letting the container prepare that source code for execution. By creating self-assembling builder images, you can version and control your build environments exactly like you use container images to version your runtime environments.

We can use yum or dnf to install source-to-image on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install source-to-image.

Install source-to-image on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install source-to-image using dnf by running the following command:

sudo dnf -y install source-to-image

Install source-to-image on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install source-to-image using yum by running the following command:

sudo yum -y install source-to-image

How To Uninstall source-to-image on Fedora 36

To uninstall only the source-to-image package we can use the following command:

sudo dnf remove source-to-image

source-to-image Package Contents on Fedora 36

/usr/bin/s2i
/usr/lib/.build-id
/usr/lib/.build-id/70
/usr/lib/.build-id/70/5d5a663c5955338aa38ea791a4530eadbd943d
/usr/share/doc/source-to-image
/usr/share/doc/source-to-image/AUTHORS
/usr/share/doc/source-to-image/CONTRIBUTING.md
/usr/share/doc/source-to-image/README.md
/usr/share/licenses/source-to-image
/usr/share/licenses/source-to-image/LICENSE

References

Summary

In this tutorial we learn how to install source-to-image on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).