[SOLVED] Uninstall package from Gnome without uninstalling Gnome itself
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Uninstall package from Gnome without uninstalling Gnome itself
Does anyone know how to take care of this? (I have no idea how to get rid of an application included in Gnome without uninstalling Gnome itself). In the following example I want to uninstall mail client Evolution:
Code:
gacanepa@Gabriel-PC:~$ sudo aptitude purge evolution
The following packages will be REMOVED:
evolution{p}
0 packages upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
Need to get 0 B of archives. After unpacking 4,837 kB will be freed.
The following packages have unmet dependencies:
evolution-exchange: Depends: evolution (>= 2.30.0) but it is not going to be installed.
Depends: evolution (< 2.31.0) but it is not going to be installed.
gnome-core: Depends: evolution (>= 2.30) but it is not going to be installed.
The following actions will resolve these dependencies:
Remove the following packages:
1) evolution-exchange
2) gnome
3) gnome-accessibility
4) gnome-core
5) gnome-desktop-environment
Leave the following dependencies unresolved:
6) evolution-common recommends evolution
7) openoffice.org-evolution recommends evolution
Accept this solution? [Y/n/q/?
]
I take it must be an option in aptitude... just don't know which one.
Thanks a lot in advance!
gnome, gnome-core, gnome-desktop-environment etc are "metapackages". They don't really contain anything, they just depend on other packages. You can confirm this by listing the files in each package package. Eg run:
Code:
dpkg -L gnome-desktop-environment
So uninstalling evolution will uninstall these various gnome-* meta packages, but that doesn't necessarily mean that it will remove "Gnome".
gnome, gnome-core, gnome-desktop-environment etc are "metapackages". They don't really contain anything, they just depend on other packages. You can confirm this by listing the files in each package package. Eg run:
Code:
dpkg -L gnome-desktop-environment
So uninstalling evolution will uninstall these various gnome-* meta packages, but that doesn't necessarily mean that it will remove "Gnome".
HTH,
Evo2.
Well, I did that once... (selected yes when I was prompted to remove gnome, gnome-core, etc) and my graphic environment went completely south, so I assumed Gnome had been uninstalled. Was it my bad then?
Evolution is a "dependency" of Gnome. There is no benefit (and possibly undesired bad effects) to removing it. For example you might not realize it, but Evolution is used to display the calendar that drops down when you click the clock at the top right of your Gnome toolbar.
An analogy: I don't smoke. I don't need my car's cigarette lighter. But removing my car's cigarette lighter won't make my car run any faster or more reliably. Maybe it is connected to something else important, and yanking it out would have an unexpected effect on the wiring. Easier just to leave it there and not use it.
ps Arch Linux has a very different packaging philosophy than Debian and separates gnome and gnome-extra. If you are a minimalist, you may find Arch more satisfying:
you may have had apt set up to uninstall automatically installed packages. For example if you install gnome-desktop-environment a whole bunch of programs will be installed "automatically" because gnome-desktop-environment depends on them. These packages included programs that you actually wanted. Anyway apt-get will tell you exactly what it is going to remove, so it should be ok.
Finally if it does remove something that you want you can reinstall it.
Evo2.
PS
I just noticed, that you are using aptitude: apt-get is currently the recommended tool for non-interactive commandline package management. See the Package management section of the release notes.
you may have had apt set up to uninstall automatically installed packages. For example if you install gnome-desktop-environment a whole bunch of programs will be installed "automatically" because gnome-desktop-environment depends on them. These packages included programs that you actually wanted. Anyway apt-get will tell you exactly what it is going to remove, so it should be ok.
Finally if it does remove something that you want you can reinstall it.
Evo2.
PS
I just noticed, that you are using aptitude: apt-get is currently the recommended tool for non-interactive commandline package management. See the Package management section of the release notes.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.