Linux – Install Software on Linux Server (Apt-Get)

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.

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.

Be the first to comment

Leave a Reply