Solved

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

Posted on 2015-01-24
3
861 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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 show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

749 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