From the course: Building, Maintaining, and Distributing RPM Packages

Unlock this course with a free trial

Join today to access over 22,400 courses taught by industry experts.

Create a local repository

Create a local repository

- [Instructor] A repository is a directory that contains package files along with an index of the packages in the directory, and some information about them. The index and the information, which provides checksums or hashes for the packages, allow package management software like yum and DNF to search the repository for packages and to download and verify packages in order to install software on client systems. Regardless of whether a repository is created for a local system, for a network or internet system, or built for offline use, the basic setup is the same, and the steps are fairly straightforward. What we'll do is create a directory to host the repository, copy our package files into it, run an application that basically does all of the work of creating the repository for us, and then we'll make an entry in the package manager's configuration directory to let the system know about the repository. Let's set up a…

Contents