Installing Software on Debian Based Linux Distros Flashcards
What are Deb distros:
Debian
Ubuntu
Linux Mint
Kali Linux
Deb distros use this packaging tool:
Advanced Packaging Tool ( APT)
apt-cache
apt-get
only the “apt” command is used with these distros:
Debian 8 & later and Ubuntu 16.04 & later
what apt command will help you search?
apt-cache search string (or what you are looking for)
what apt command will let you install a package?
apt-get install [-y] package ( or what you’re installing )
what apt command will let you remove a package?
apt-get remove package ( or what you are uninstalling )
“this command does not remove the config files of the package”
what apt command will let you remove a package and it’s config files?
apt-get purge package
what apt command will let update the local list of remote packages?
apt-get update
”””"”Always make sure to run ___________ before installing any software”””””
apt-get update
If you want to make sure you have the latest bugs and fixes for all of the software you have installed run this command:
apt-get upgrade [-y]
Debian 8 & later and Ubuntu 16.04 & later uses these APT commands:
apt search
apt install
apt purge
apt update
apt upgrade
This dpkg command will list the installed packages:
dpkg -l
This dpkg command will list the file’s package:
dpkg -S /path/to/file
This dpkg command will list “All” the files in a packaga:
dpkg -L
The dpkg command that will install a package is:
dpkg -i package.deb