You are not logged in.

#1 2016-05-04 09:41

cpcnw
Member
From: Southport, UK
Registered: 2016-02-28
Posts: 185
Website

Completely remove application installed via Synaptic

Hi All,

Another n00b question often asked...

I have been testing out gui email clients on Orion and have tried the following;

Evolution, Sylpheed, Sylpheed-Claws, KMail

I suspect Sylpheed would be good enough for my needs so the follow on question is as the title

How to completely reverse the process of installing a package that was installed via Synaptic?

Thanks

ps What is your daily mail client on Linux?

Ed: I have looked at Synpatics 'Mark for Complete Removal' option but it doesn't seem to
include quite as many files / libs etc when the applications where installed?

Last edited by cpcnw (2016-05-04 09:49)


We cannot solve our problems with the same thinking we used when we created them.

Offline

#2 2016-05-04 09:52

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 2,643
Website

Re: Completely remove application installed via Synaptic

cpcnw wrote:

How to completely reverse the process of installing a package that was installed via Synaptic?

Run in terminal:
$ sudo apt-get autoremove 'packagename'

Some dependent packages must not be uninstalled, as these could be referenced by another installed packages as recommended.

Offline

#3 2016-05-04 10:23

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,863
Website

Re: Completely remove application installed via Synaptic

One thing you could to as well if you want to make sure everything is removed including data files is run this command from a terminal

dpkg --get-selections | grep deinstall

This will list all programs that have been removed from your system but still have some data or config files available (in case you decide to re-install)
If you find some packages that you would like to remove all config data for you can type

sudo apt-get --purge remove packagename

Which will remove the residual (config) data from your system.

P.s.  I use thunderbird, but I think most mail clients are pretty good nowadays smile

Last edited by Dai_trying (2016-05-04 10:25)

Offline

#4 2016-05-04 10:43

cpcnw
Member
From: Southport, UK
Registered: 2016-02-28
Posts: 185
Website

Re: Completely remove application installed via Synaptic

When attempting to remove evolution for example [the last package I installed via Synaptic] the above only offered me two files to remove which was the same when just doing an 'uninstall' from Synpatic. A 'Complete Removal' via Synaptic took me back to where I was before I installed it. I take your point though, if you have subsequently installed more packages etc then you could be pulling the rug from under them too! Guess its always best to err on side of caution!


We cannot solve our problems with the same thinking we used when we created them.

Offline

#5 2016-05-04 10:51

cpcnw
Member
From: Southport, UK
Registered: 2016-02-28
Posts: 185
Website

Re: Completely remove application installed via Synaptic

Hell, I just checked out your command on evolution [which did seem to uninstall correctly along with a dozen files via Synaptic]

sysadmin@q4os-desktop:~$ sudo apt-get --purge remove evolution
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'evolution' is not installed, so not removed
The following packages were automatically installed and are no longer required:
  akonadi-backend-mysql akonadi-server gcr geoclue-2.0 gnome-desktop3-data
  gnome-icon-theme gnome-keyring gnome-user-guide gstreamer1.0-plugins-good
  gstreamer1.0-x hwdata kdepim-runtime kdepimlibs-kio-plugins libaio1
  libakonadi-calendar4 libakonadi-contact4 libakonadi-kabc4 libakonadi-kcal4
  libakonadi-kde4 libakonadi-kmime4 libakonadi-notes4
  libakonadiprotocolinternals1 libarchive13 libbaloopim4
  libboost-date-time1.55.0 libboost-program-options1.55.0
  libboost-system1.55.0 libboost-thread1.55.0 libcalendarsupport4
  libcamel-1.2-49 libchamplain-0.12-0 libchamplain-gtk-0.12-0 libclutter-1.0-0
  libclutter-1.0-common libclutter-gtk-1.0-0 libcogl-common libcogl-pango20
  libcogl-path20 libcogl20 libdmtx0a libdv4 libetpan17 libfollowupreminder4
  libgail-3-0 libgck-1-0 libgcr-3-common libgcr-base-3-1 libgcr-ui-3-1
  libgdata-common libgdata19 libgeocode-glib0 libgnome-desktop-3-10
  libgoa-1.0-0b libgoa-1.0-common libgrantlee-core0 libgrantlee-gui0
  libgtkhtml-4.0-0 libgtkhtml-4.0-common libgtkhtml-editor-4.0-0
  libgtkspell3-3-0 libgweather-3-6 libgweather-common libharfbuzz-icu0
  libical1a libinput5 libjavascriptcoregtk-3.0-0 libkabc4 libkalarmcal2
  libkcal4 libkcalcore4 libkcalutils4 libkdepimdbusinterfaces4 libkdgantt2-0
  libkgapi2-2 libkholidays4 libkimap4 libkldap4 libkleo4 libkmanagesieve4
  libkmbox4 libkmime4 libkolab0 libkolabxml1 libkontactinterface4a
  libkpimidentities4 libkpimtextedit4 libkpimutils4 libkprintutils4
  libkresources4 libksieve4 libktnef4 liblzo2-2 libmailtransport4
  libmicroblog4 liboauth0 libpam-gnome-keyring libphonenumber6 libprison0
  libprotobuf9 libpst4 libqgpgme1 libqjson0 libqrencode3 libsecret-1-0
  libsecret-common libsendlater4 libwavpack1 libwebkitgtk-3.0-0
  libwebkitgtk-3.0-common libxerces-c3.1 libyelp0 libytnef0
  mysql-server-core-5.5 p11-kit p11-kit-modules yelp yelp-xsl

Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

sysadmin@q4os-desktop:~$

All *that* for a mail client !!!


We cannot solve our problems with the same thinking we used when we created them.

Offline

#6 2016-05-04 11:00

cpcnw
Member
From: Southport, UK
Registered: 2016-02-28
Posts: 185
Website

Re: Completely remove application installed via Synaptic

I used apt-get autoremove on yelp and it removed the entire list above.

--purge remove evolution is now an empty list!


We cannot solve our problems with the same thinking we used when we created them.

Offline

#7 2016-05-04 11:03

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,863
Website

Re: Completely remove application installed via Synaptic

I think a lot of that would have been from removing kmail as they are kde libs/packages but so long as the end result is good that's the main thing smile

Offline

#8 2016-05-04 11:15

cpcnw
Member
From: Southport, UK
Registered: 2016-02-28
Posts: 185
Website

Re: Completely remove application installed via Synaptic

Quite possible - I should have resisted the temptation for an install fest!

As an aside I don't think I would bother again as Sylpheed has more than what I need to check / reply on my imap account!


We cannot solve our problems with the same thinking we used when we created them.

Offline

#9 2016-05-04 11:42

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,863
Website

Re: Completely remove application installed via Synaptic

I think most mail clients, in fact most linux software in general has become so much better over the last few years or so that it is mainly down to personal preference which package to choose. smile

Offline

Board footer

Powered by FluxBB