LinuxMoz

Linux Stuff && Coffee

Apt-get Install Package

| Comments

How to apt-get install packages on Ubuntu, Linux Mint & other Debian based Linux distros, apt-get is the package management system that allows you to install packages (software) on Ubuntu, Debian & Linux Mint.

The following command will install the Apache 2 package:

1
apt-get install apache2

apt-get install package

apt-get will pull down all the dependencies and other packages required, however in the above example you can see the package apache2 is already installed after running the command apt-get install package-name if you see anything in the upgrade section this means the package is already installed but need to be updated.

If you are unsure what the package name is you can perform an apt-get search using the apt-cache command.

Comments