Questions tagged [purge]

Questions about purge or clean remove of applications, kernels, services, etc.

Purge is like remove as it's used to remove/delete/uninstall applications, kernels, services, etc., but with added feature of cleaner removal with deletion of related configuration files of the concerned.

194 questions
296
votes
3 answers

What is the Difference Between `apt-get purge` and `apt-get remove`?

Is there any difference between sudo apt-get purge and sudo apt-get remove ? I often see people recommend one or the other. In other words, what does apt-get purge remove that apt-get remove doesn't?
Seth
  • 59,332
52
votes
5 answers

How to purge previously only removed packages?

I have a list of packages on my system, that were installed and removed again, but not purged, i.e. there are still a lot of conffiles etc. laying around. The output of dpkg --get-selections | grep deinstall lists about 85 different packages which I…
Byte Commander
  • 110,243
42
votes
3 answers

Why do I still see an Apache site on Nginx?

I installed nginx then I installed apache2, after a while I removed apache2. After a couple of weeks I noticed something strange when I accessed http://localhost: nginx handles the request but when I type in my IP address or anyone in my network…
Newbie
  • 590
  • 1
  • 5
  • 12
42
votes
1 answer

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 apt-get autoremove --purge Reading package…
ionreflex
  • 629
  • 1
  • 5
  • 13
34
votes
5 answers

Can I automatically purge every package I've ever uninstalled?

As an Ubuntu noob, I install and uninstall a lot of packages, to try them out. However, for months, I made the mistake of using apt-get remove instead of apt-get purge, which I didn't even realize exists. Is there a way to cause apt-get to purge…
30
votes
1 answer

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 safe way of fully removing it? So that perhaps there…
user364819
29
votes
3 answers

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 getting GRUB back to a purple background and…
24
votes
2 answers

is it safe to remove apport?

Do I break anything if I sudo apt-get purge apport I have my secret business plan for world domination and who knows what's in a core dump? I've seen Ubuntu (in particular dconf) recreate config settings. I know how to disable it but can't trust…
user60235
23
votes
4 answers

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 insufficient/incomplete. I want to ask here in…
22
votes
3 answers

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. As soon as I opened it it asked be to redeem my…
20
votes
2 answers

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 has some issues, including handling my native…
Masroor
  • 3,203
17
votes
1 answer

How do the various APT package removal commands differ?

What's the difference between these commands? sudo apt-get autoremove --purge packagenames sudo apt-get remove --purge packagenames sudo apt-get purge purge packagenmaes sudo apt-get remove packagenames sudo apt-get autoremove
sajjad
  • 181
15
votes
2 answers

apt remove vs purge

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?
Camden
  • 647
13
votes
1 answer

Fully remove PlayOnLinux and any files left behind

I recently installed PlayOnLinux with: sudo apt-get install playonlinux But then decided that I wanted to remove it so I did: sudo apt-get purge playonlinux sudo apt-get autoremove sudo apt-get autoclean And I thought that this would have removed…
user364819
12
votes
1 answer

How to remove KDE Connect dependecies in Cinnamon or any other DE?

I installed KDE Connect in Ubuntu 14.04 with Unity. Now I want to remove the app and all 60 MB of KDE dependencies. If I don't know those package names, how can I remove all the dependencies and not just the app KDE Connect?
Hrvoje T
  • 551
1
2 3
12 13