This is something I got to know recently while trying to install a new software package on Ubuntu.
In Ubuntu, we use apt-get command line tool very often. It is, Ubuntu's Advanced Packaging Tool (apt)
which performs functions such as installation of new software packages,
upgrade of existing software packages, updating of the package list
index, and even upgrading the entire Ubuntu system.
sources.list file located in /etc/apt folder, is the default file which contains the details about the repositories needed when installing or upgrading the applications. When the system needs to know from where it may download the related stuff to install/upgrade it basically goes through this file.
Repositories are servers which contain sets of packages. Ubuntu uses apt for package management. apt stores a list of repositories or software channels in this file.
We can add a new repositories by simply adding a new line to this file. You can learn about the format of the entries in this file here.
sudo apt-get update
You can read further in Ubuntu help page.
No comments:
Post a Comment