Skip to Main Content

Linux Terminal

apt-get

apt-get is the command that takes care of packages. This command is used to install, remove and update packages.

common uses include: 

  • sudo apt-get update to update the database of available installable packages. This should be ran before using apt-get for other purposes.

  • sudo apt-get upgrade to upgrade any installed packages.

  • sudo apt-get install [package name]  to install a package.

  • sudo apt-get remove [package name] to remove a package. 

 

pip

Anyone that has previously worked with Python would be familiar with pip. pip is similar to apt-get as it is responsible for managing Python packages. The most common use is pip install [package name]