APT Linux

A page dedicated to the APT in Linux and its importance in the management and installation packages based on Debian, as Deepin. It is quite useful for those who have several repositories. It also includes variations and differences.

The APT command and its characteristics

APT stands for Advanced Packaging Tool. The simple and practical way to run allows users to perform actions on the terminal. Furthermore, it becomes an alternative to classic Deepin Store.

  • search support apt search paquete
  • To add or remove packages the following is used:
    • Installation: apt install paquete.
    • Installing multiple packages apt install paquete1 paquete2 ...
    • uninstall: apt remove paquete
    • Complete uninstall or purged: apt purge paquete
  • Upgrade:
    • Discharge: apt update
    • Installation: apt upgrade
    • Install another OS version: apt full-upgrade
    • Update in one click: sudo apt update && sudo apt upgrade -y
  • Autenticación apt-secure (desde 0.6, para casos relacionados con la llave de repositorio véase este artículo)
  • Conocer un paquete antes de instalar: dpkg -L paquete
  • Note:
    • It is able to uninstall unnecessary packages apt autoremove. That is, it saves a lot of time to eliminate unnecessary wear and tear software.

configuring APT

To set the APT, edit your file /etc/apt/apt.conf.

Sobre uso de minúsculas

La mayoría de comandos se realizan en minúsculas, incluido los paquetes. Las demás instrucciones no distinguen entre mayúsculas y minúsculas, ten cuidado.

APT-based tools

In this list other shells that act similarly shown APT

aptitude

  • allows installation apt-get install paquete
  • Installing multiple packages apt-get install paquete1 paquete2 ...
  • It lets you uninstall apt-get remove paquete
  • It allows complete removal (purge) apt-get purge paquete
  • Unfortunately, no offers search engine.
  • It is capable of cleaning:
    • Inecesarios uninstall packages: apt-get autoremove
    • Clear Cache: sudo apt-get clean
  • Upgrade:
    • Discharge: apt-get update
    • Installation: apt-get upgrade
    • Install another OS version: apt dist-upgrade
    • Update in one click: sudo apt-get update && sudo apt-get upgrade -y

aptitude

  • It was created in 1999.
  • Interestingly, the run starts in a text interface tables.
  • It supports search aptitude search paquete
  • Installing aptitude install paquete
  • Removal orders aptitude remove paquete
  • Ña allows complete uninstallation aptitude purge paquete
  • Upgrade:
    • Discharge: aptitude update
    • Installation: aptitude upgrade
    • Install another OS version: aptitude dist-upgrade

apt-cache

The aptitude sample packets temporarily or cached. So if you want to find a package locally we write apt-cache search <descripción del paquete>. Or, for specific cases, apt-cache pkgnames <nombre del paquete>.

Synaptic

Synaptic is a application which offers an intuitive interface. Even lets you select files to install, uninstall, check if the packages are broken, and so on.

APT no es la única herramienta para gestionar software desde los repositorios. Sin embargo, en caso que uses una transplantación de Deepin deberás conseguir el manual del gestor para conocer su funcionamiento. Ejemplos son dnf, yum y zypp en otras distribuciones. Revisa nuestro aviso al respecto.

further reading

Would you recommend this article?

Previous

ADB

Following

host file