Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 04-03-2006, 09:24 AM   #1
Registered: Mar 2006
Location: Lund, Sweden
Distribution: Arch, Slack
Posts: 51

Rep: Reputation: 16
Safe to uninstall with apt-get install?

Yesterday I incidently called apt-get with an ending "-". I noticed that I got promped if I wanted to remove the file. My question is if it's safe. I've never heard of anyone doing it so I just wanted to know.

161659/home/riwa# apt-get install links2-
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B of archives.
After unpacking 3211kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 109839 files and directories currently installed.)
Removing links2 ...
Old 04-03-2006, 11:02 AM   #2
Registered: Nov 2004
Location: Edinburgh, Scotland
Distribution: Ubuntu
Posts: 149

Rep: Reputation: 15
As far as I know apt-get will process dependencies for removing packages as well as installing them. I use yum so I'm not sure if they are the same in this respect but I think they are.
Old 04-03-2006, 12:07 PM   #3
Registered: Jan 2006
Distribution: Debian Sarge
Posts: 265

Rep: Reputation: 30
apt-get is the way that you Should uninstall packages.
Old 04-03-2006, 12:30 PM   #4
Senior Member
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Normally, you would use 'apt-get remove links2', or 'apt-get remove --purge links2', if you REALLY want it gone, but your way appears to work pretty well, too.
Old 04-03-2006, 12:51 PM   #5
Registered: Mar 2006
Location: Lund, Sweden
Distribution: Arch, Slack
Posts: 51

Original Poster
Rep: Reputation: 16
But what's the difference? I mean I noticed that it's removed but I just wanted to know the difference if any.

For example if I want to remove all the packages that came with it. Is it purgethen or it doesn't matter?


I tried to install links again and uninstall it with "remove --purge" (just for fun) and noticed that the same amount of bytes were removed. HOWEVER, there was an asterix (*) appended to the file-to-be-removed (links2*) but not when I re-installed/re-uninstalled the program the "apt-get install" way. Does it mean anything?

Last edited by riwaJR; 04-03-2006 at 12:56 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how do I get apt-get to completely uninstall a package? muxman Debian 32 09-16-2016 05:54 AM
Apt-get remove & purge nvidia-kernel-common. safe? Penguin of Wonder Ubuntu 2 03-01-2006 11:11 AM
Is it safe to upgrade to KDE 3.3 with this apt-listbugs report? r3dhatter Debian 10 01-16-2005 12:59 AM
uninstall apt-get partom Linux - Software 2 07-19-2004 11:50 AM
APT wants to uninstall many packages ! websinger Debian 1 04-07-2004 11:07 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:56 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration