The application we will package is feh, a simple command line image viewer: it is quite small and has few dependencies. In this tutorial we’ll see how to create an rpm package starting from an application source code. Software is provided pre-compiled under the form of packages, which are basically compressed archives containing metadata about the software version, its dependencies and possible conflicts with other packages. Rpm is used in the Red Hat family of distributions. Then package managers were introduced, and everything became easier.Įach modern Linux distribution has, nowadays, its package manager: Debian and its derivatives uses dpkg, while Keeping track of the dependencies of each piece of code was really difficult and time consuming. When package managers weren’t a thing, the only way to install a program was compiling its source code, and placing the resulting files in the appropriate places on the filesystem. Installing, removing, updating, (in one word, managing) software is an essential task on every operating system. $ – requires given linux commands to be executed as a regular non-privileged user # – requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command Privileged access to your Linux system as root or via the sudo command to install needed packages. ![]() Requirements, Conventions or Software Version Used Software Requirements and Conventions Used Software Requirements and Linux Command Line Conventions Category What are the basic concepts behind the rpm building process.In this tutorial we will see how to build and package a simple application. Rpm is both the package manager and the package format used by many linux distributions such as Fedora, Red Hat and CentOS, to manage and distribute software in binary form.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |