How to uninstall complete application or software from linux - apache /openvpn or any other
-
How to remove completely software package from linux, I want to do fresh software package from beginning
-
from the terminal...
you must find the name of the package that is installed that you want to uninstall. I'm using Ubuntu as an example
I can use something like
dpkg --list
to get a list of all packages installed.find the full name of the package from that list
then use
sudo apt-get --purge remove <full name of the package>
press enter. (purge
will remove the configuration files)
type your password.When asked if you want to continue,...type
Y
when complete it will let you know what was uninstalled, then typeexit
This may still leave dependent packages left behind from the removed program. To remove them
sudo apt-get autoremove
then
sudo apt-get clean
to remove the package file downloaded when you installed. -
@ronnie-wong Thanks