DEV Community

Cover image for What are repositories in the Linux OS?
Ivaylo Ivanov
Ivaylo Ivanov

Posted on

What are repositories in the Linux OS?

A Linux repository is a storage location where your system installs OS updates and applications. Each repository is a collection of software hosted on a remote server and intended to be used for installing and updating software packages.

1. What are repositories used for?

They are commonly used for a storage location either remote or on your local machine. They often work with a version control system and store different versions of software or application in the time.

2. Where you can find the repositories used in Linux?

On Ubuntu, all Ubuntu-based distros, Debian, and all Debian-based distros, you can file the list of repos(repositories) in /etc/apt/sources.list. You can open the file using nano like that:

sudo nano /etc/apt/sources.list
Enter fullscreen mode Exit fullscreen mode

3. What are the kinds of repositories in Linux?

  1. Main – Canonical-supported free and open-source software.
  2. Universe – Community-maintained free and open-source software.
  3. Restricted – Proprietary drivers for devices.
  4. Multiverse – Software restricted by copyright or legal issues.

If you have any questions, leave a comment below, I will answer as soon as possible.

Discussion (1)

Collapse
anonyco profile image
Jack Giffin

Noone considers Linux to be synonymous with Ubuntu. Ubuntu is just one of the countless Linux distros. Please fix your terminology. It's unfair to people trying to learn more about Linux to deal with incorrect usage of popular terminology.