Solved

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

Posted on 2015-01-24
3
913 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
[X]
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
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 35

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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

626 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