If you are familiar with linux, Then you might have heard the word ‘repository’ many times. Linux is the most used open source operating system. You might be using either Windows, Android, iOS or any other operating system. We install applications in Android from the Google Play store. iOS its own App Store for the same purpose.
Software repositories on linux are installation sources from where we can install applications and softwares.
In simple words, A repository can be defined as a place where things may be stored. A linux repository is a collection of software for a linux distribution on a server. Think of a repository as a folder with more sub folders. The folder is on steroids. These steroids provide it extra abilities to remember every version of every file and changes to that file.
By adding some kind of information layer, a native data layer on the folder, we can actually start connecting more information of every change inside that folder in a history map. There is no need of downloading and running .exe file like we do on Windows. Linux distributions usually host their own software repository. They contain packages specially compiled for that version of the particular distribution.
Then a question might arise in your mind. What is a Package Manager on Linux? Think of the packet managers like Play Store on Android. When we tell the Packet Manager to install a particular application, It will automatically download the appropriate package from the configured repository and install it on your machine.
The next question that arises is, What are packages? They can be explained as archives containing a list of files. There are different types of packages, Debian bases distributions have .deb while red hat based have .rpm packages. It can be defined as a compressed file archive containing all the files that come with a particular application.