Questions tagged [purge]
Questions about purge or clean remove of applications, kernels, services, etc.
31
questions
280
votes
3
answers
560k
views
What is the Difference Between `apt-get purge` and `apt-get remove`?
Is there any difference between
sudo apt-get purge <package-name>
and
sudo apt-get remove <package-name>
?
I often see people recommend one or the other.
In other words, what ...
42
votes
1
answer
41k
views
How does 'apt' decide how many old kernels to keep?
I'm managing a couple of servers for core services (NTP, DNS, etc) and it just occured to me that one of the servers seems to keep the 3 latest kernels, instead of 2 on the others :
nul@quark:~$ sudo ...
30
votes
1
answer
94k
views
Can I remove Unity now and how?
I have installed gnome-session-flashback and I love my new Gnome desktop, and I am sure that I do not want to go back to Unity, and as unity stuff takes up a lot of space on my machine, is there a ...
29
votes
3
answers
95k
views
Remove ubuntu-gnome-desktop?
I've recently installed ubuntu-gnome-desktop on my Ubuntu 12.10 32 bit system. It all worked, but now I would like to remove it again, since I like Unity better. This includes undoing all changes like ...
19
votes
2
answers
15k
views
Remove all packages installed from a PPA?
I have installed LibreOffice 4 using PPA. I was using LibreOffice 3, then I had upgraded to LibreOffice 4, because I was somewhat eager to try a new version.
Now since I found that LibreOffice 4 ...
2
votes
1
answer
4k
views
How does apt-get purge work? Why it couldn't remove broken package in one pass?
I've tried installing droidcam to solve another question following instruction here: Install DroidCam (Wireless Android Webcam) Client In Ubuntu Via PPA
The installation fails with post-script error, ...
14
votes
2
answers
25k
views
apt remove vs purge [duplicate]
I see sudo apt remove package_name and sudo apt purge package_name,
but what is the difference? is one safer than the other or does one remove packages installed by that package?
9
votes
1
answer
6k
views
Why there is an update-initramfs error when removing a kernel by dpkg? [duplicate]
I got the following output when removing a kernel by dpkg --purge :
Removing linux-headers-3.13.0-112-generic (3.13.0-112.159) ...
Removing linux-image-extra-3.13.0-112-generic (3.13.0-112.159) ...
...
19
votes
4
answers
51k
views
How do I remove Brave completely?
Some time ago I installed Brave but I didn't like it, so I removed it with sudo apt-get remove --purge brave-browser. After some time I had to reinstall it because I needed a Chromium-based browser. ...
19
votes
4
answers
102k
views
Using apt-get to remove packages and dependencies
I've recently been reading through a lot of questions/answers/opinions about removing packages and dependencies. There's a lot of different ways to do it, some being overly convoluted and some being ...
10
votes
2
answers
4k
views
How do I revert all packages to their official versions?
I've installed a number of packages from PPAs, and I would like to revert to official versions now. Many of the PPAs no longer exist in /etc/apt/sources.list.d, so ppa-purge will not work on them.
...
7
votes
2
answers
25k
views
How to reinstall default packages
In an attempt to uninstall wine I ran the command sudo apt-get purge wine* which as you may have guessed removed many of the default packages. I am wondering if there is a way to use the installation ...
6
votes
1
answer
237
views
Why are the hidden settings-folders not deleted when purging an application?
I did
sudo apt-get remove --purge
for several packages, but apparently the personal settings are kept. Is there a command or tool to delete them automatically?
4
votes
1
answer
3k
views
Trying to purge MySQL fails
I'm running in circles currently, trying to fix some mysql problem.
I couldn't use apt-get for a while now, because it always stuck at the line Setting up mysql-server-5.6 (5.6.27-0ubuntu0.15.04.1) .....
9
votes
1
answer
1k
views
How does the apt-get purge command work?
How does 'it' (ie. purge) know where the dependencies and configuration files are located?
How does purge find out that a particular piece of software created a certain file?
Is there some sort of ...
8
votes
1
answer
11k
views
How can I "clean house" so that dpkg -l no longer lists packages I've removed?
As the solution to another problem I was forced to use dpkg --remove to uninstall a package. However, after I do this the package is still listed in dpkg -l:
phrogz@planar:/boot$ dpkg -l | grep linux-...
8
votes
1
answer
5k
views
Uninstalled Firefox still here
I purged firefox(*) and deleted /etc/firefox and /usr/lib/firefox, the whole .cache thing and so on as already mentioned in Removing Firefox in Ubuntu with all add-ons like it never existed
After all,...
7
votes
4
answers
2k
views
How to get Google Earth installed via .DEB?
Now I've really messed things up.
A long time ago, I installed Google Earth via a binary installer from Google (v5.1, I think).
Google now has version 6 available as a .DEB, so I decided to install ...
6
votes
2
answers
10k
views
Why does "Purge" not remove everything related to an app? [duplicate]
Possible Duplicate:
How can you completely remove a package?
I have learnt that using purge command rather than remove is considered better because purge removes all files related to an app ...
5
votes
2
answers
12k
views
How do you completely purge an installed aplication? [duplicate]
Possible Duplicate:
What is the correct way to completely remove an application?
I installed UltraEditor (uex package) from a source I can't remember. Later I purged the installation with:
...
5
votes
3
answers
30k
views
How to Remove elementary desktop environment?
I'm running ubuntu 12.10 and yesterday I installed elementary from ppa:elementary-os/daily. I later realized that elementary replaces the stock nautilus with another version that looks misplaced in ...
5
votes
2
answers
7k
views
Undo apt-get remove --purge
I wanted a fresh install of Python and ran sudo apt-get remove --purge python. Apparently it has killed almost everything I had installed in my system.
Looking at the history.log I guess I could ...
4
votes
1
answer
3k
views
Fouled up my openjdk-8-jre
Ubuntu 16.04. I was trying to run pycharm, and realized that I must have corrupted my jre at some point. Even after doing:
sudo apt purge openjdk-8-jre
running java -version gives me:
nick@...
4
votes
1
answer
2k
views
apt-get -- remove triggers a package install?
I want to remove and purge apache2 - Why does this trigger an install of php5-cgi ?
sudo apt-get --purge remove apache2
Reading package lists... Done
Building dependency tree
Reading state ...
2
votes
1
answer
2k
views
How to completely remove a Snap app
I installed, and later removed, the kdenlive Snap from my Ubuntu 20.04 system. The removal went like this:
sudo snap remove --purge kdenlive
I notice there's still these two remnants of kdenlive on ...
1
vote
1
answer
518
views
How can I remove a dpkg broken by the Brother MFC-8840 deb driver?
I can't seem to remove a package.
I've tried dpkg --purge and apt-get purge. Neither seem to actually remove the package, however. The package is mfc8840dlpr (1.1.2-1).
Is there any way I can make ...
1
vote
1
answer
259
views
How to purge all contacts
How can I purge all my contacts on my bq E5 Ubuntu Edition?
I am am just trying to fill my new E5 with the thousands of contacts I have on my old Communicator. Soon I will get repeated contacts, or ...
1
vote
2
answers
904
views
Can't Purge X Updates PPA Because / is Treated as a Space?
sudo ppa-purge ppa:ubuntu-x-swat/x-updates
I've tried running that command... several times. Copy/pasted it, manually typed it, tried it in XTerm and Terminal, to no avail. The output is always:
...
1
vote
1
answer
2k
views
Terminal Command for Purge of Nvidia and Install New Package
What is the Terminal command to purge all current Nvidia drivers and install Nvidia binary driver - version 331.104?
1
vote
1
answer
693
views
I want to remove old linux kernels
But they're persistent. I've tried synaptic, dpkg --purge, and apt remove, bikeshed's purge-old-kernels, and several scripts for removal in other question-answers. All these commands think the old ...
0
votes
1
answer
3k
views
Purge Pinta in 16.04 [duplicate]
I installed and removed pinta, the image editor. I removed it using:
sudo apt-get purge --auto-remove pinta
I thought this would remove all vestiges of the program. But it still shows up when I run ...