DPKG
- dpkg -l : list all package installed on the system
- dpkg -L [package-name] : list the file installed by a package
- dpkg -S [file-name] : knowing which package installed a file
- dpkg -i [package.deb] : install a local .deb file
- /var/log/dpkg.log : log of dpkg operation
APT (Advance Packaging Tool)
- apt edit-sources : edit a repository
- apt-cache search [package-name] : searching for a package
- apt install [package-name] : install a package
- apt remove [package-name] : remove a package
- apt autoremove [package-name] : remove a package with a unused
- apt remove --purge [package-name] : remove a package with the configuration files
- apt update : update system (update the package index)
- apt upgrade : upgrade system (upgrade the package index)
Installation methods