Hello to all Linuxeros and Linuxeras. Today we will deal with this topic, the repository systems of Ubuntu.
Table of Contents
Ubuntu and its derived distros use the system APT. APT was developed by the team of Debian and are the acronym for 'Advanced Packaging Tool'.
It is programmed in C and its operation consists, explained in a simple way, to download some '.deb' from an FTP server (in this case those from Ubuntu) and install them automatically with dpkg.
This makes it much easier to install programs. But of course, not all programs can be on FTP servers. So here comes PPA.
PPA From the English 'Personal Package Archive' are personal files and basically allows you to download and install programs that are not in the official repositories. They are usually housed in LaunchPad.
For example I want to install the package 'roger / roger-mola' which is not in the official repositories, so I open a terminal (console, shell, bash) and enter:
sudo apt-add-repository roger/roger-mola
We refresh the database: (explained below)
sudo apt-get update
And we download the Package:
sudo apt-get install roger-mola
The packages are divided into 4 sections:
- Main: Contains only packages that meet the Ubuntu license requirements, and for which support is available from your team. This is intended to include everything you need for most systems GNU / Linux general purpose.
- Restricted: Contains packages supported by developers of Ubuntu due to its importance, but that it is not available under any type of free license to include in main.
- Universe: Contains a wide range of programs, which may or may not have a restricted license, but are not supported by the Ubuntu but on the part of the community. This allows users to install all kinds of programs on the system by saving them in a place apart from the supported packages: main y restricted.
- Multiverse: Contains unsupported packages because they do not meet the free software requirements.
APT It has many uses, here I show you the basics:
sudo apt-get install [Nombre del programa]
Repair / Update Applications
sudo apt-get --reinstall install [Nombre del Programa]
sudo apt-get remove [Nombre del programa]
COMPLETELY Uninstall Applications
sudo apt-get --purge remove [Nombre del programa]
Update the database
sudo apt-get update
Don't want to remember commands?
Well, if you don't want to remember commands you have:
- The Ubuntu Software Center
- Aptitude that is downloaded with the package: aptitude
- Synaptic that is downloaded with the package: synaptic
Well I just hope you liked it, because I liked writing this. Soon I will teach both YUM and PACMAN. Until next time.