Linux – Install Software on Linux Server (apt-get)

August 26, 2019 18468 Views

Find code and diagrams at: https://www.EliTheComputerGuy.com

Installing software on Linux is very easy using the apt-get command. Using sudo apt-get install apache2 your server will download Apache2, and install it without you needing media.

Note: Debian distributions of Linux use apt-get to install software. Red Hat distress use yum.

http://manpages.ubuntu.com/manpages/xenial/man8/apt-get.8.html

To Install Software

sudo apt-get update – Updates repository information
sudo apt-get install PACKAGENAME – Downloads and installs software
Upgrade/ Update Software

sudo apt-get upgrade
Uninstall Software

sudo apt-get remove PACKAGENAME – Unistalls software but leaves configuration files.
sudo apt-get purge PACKAGENAME – Uninstalls software and deletes configuration files.

Leave a comment

Your email address will not be published. Required fields are marked *