Uninstall Apache2 from terminal on Ubuntu14.04

93,164

Solution 1

This would do what you want

sudo apt-get remove apache2*

Solution 2

If you just want to remove apache use:

sudo apt-get remove apache2

Though if you don't intend to reinstall at some point and would like to remove all of apache's configuration files then use:

sudo apt-get purge apache2
Share:
93,164

Related videos on Youtube

Tony Ventura
Author by

Tony Ventura

Updated on September 18, 2022

Comments

  • Tony Ventura
    Tony Ventura almost 2 years

    How can I uninstall Apache2 on Ubuntu 14.04, from the terminal? I don't know the commands.