Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

How do I uninstall software I installed on my Ubuntu 14?

Posted on 2015-01-24
3
835 Views
Last Modified: 2015-01-28
Hi,

A while back I installed ISPCONFIG3 on my Ubuntu 14 x64 server but I never really used it. Since the composite program required several other dependant apps like spamassassin, dovecot etc. that are simply there and hog up system resources on my VPS I have decided on uninstalling them. I used strings like the following to install it:

sudo apt-get install libapache2-mod-python libapache2-mod-fcgid apache2-suexec php5-ming php5-ps php5-pspell php5-recode php5-snmp php5-imap php5-cgi php-auth libruby postfix postfix-mysql postfix-doc

Open in new window


and

sudo apt-get install openssl getmail4 binutils dovecot-imapd dovecot-pop3d dovecot-mysql dovecot-sieve 

Open in new window


Could someone kindly exlpain how I could uninstall the lot using single long commands as seen above?

thanks in advance
0
Comment
Question by:badwolfff
3 Comments
 
LVL 6

Expert Comment

by:Shiju Jacob
ID: 40568460
Try

php -q uninstall.php


Make sure you backup your /etc/apache2/apache2.conf.. because after you uninstall ispconfig your apache2 encounter a problem, it wont start..If any one who encounter this problem, follow this steps:
1. backup apache2.conf ( As I mention earlier)
2. Uninstall ispconfig
3. sudo a2dissite 000-apps.vhost
4. sudo a2dissite 000-ispconfig.conf

if you got this error:
ERROR: Site 000-apps.vhost does not exist!
ERROR: Site 000-ispconfig.conf does not exist!

you may remove them from /etc/apache2/site-enabled/
sudo rm /etc/apache2/site-enabled/000-apps.vhost
sudo rm /etc/apache2/site-enabled/000-ispconfig.conf

this is what I did

But I guess, It's better to disable 000-ispconfig.conf and 000-apps.vhost before you uninstall ispconfig 3
0
 
LVL 34

Accepted Solution

by:
gr8gonzo earned 500 total points
ID: 40568465
Do the same command except change "install" to "remove". Example:

sudo apt-get remove openssl getmail4 binutils dovecot-imapd dovecot-pop3d dovecot-mysql dovecot-sieve 

Open in new window

0
 
LVL 62

Expert Comment

by:gheist
ID: 40568599
apt-get purge xxx
will also delete config files that otherwise are left behind.

I would start with simply stopping the service. I doubt 100kb big dovecot can do any harm compared to 100MB PHP
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question