BCE-O535 Linux and Shell Programming

0 of 30 lessons complete (0%)

Module 4 Software Management

Package Repository

Types of Repositories:

  • Local Repository: A repository stored on the local system or network, used for managing custom or third-party packages.
  • Remote Repository: A repository hosted on a remote server that provides a collection of pre-packaged software.
  • Public Repository: A publicly accessible repository often maintained by the OS distribution or a community of developers.

Repository Configuration:

  • Configuration files (/etc/yum.repos.d/) specify which repositories to use and their locations.

Sample Commands and Output:

For example, in CentOS 8, you can list the configured repositories:

ls /etc/yum.repos.d/

CentOS-AppStream.repo CentOS-Base.repo CentOS-PowerTools.repo