Debian This forum is for the discussion of Debian Linux.
|
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
04-03-2004, 01:38 PM
|
#1
|
Member
Registered: Feb 2004
Location: Norman, OK, USA.
Distribution: Mandrake 10.0
Posts: 33
Rep:
|
remove old software:
I want to remove old versions of the same software installed in the system. I want to keep only the recent version of files.
I could see entries like this
aclocal-1.4
aclocal-1.6
emacs-20.7
emacs20
and lot of entries like this in several folders.
I dont know how to purge all these files. Please help me.
Thanks.
Sooner.
|
|
|
04-03-2004, 01:45 PM
|
#2
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313
Rep:
|
These multiple versions for aclocal, autoconf, automake etc, are for compatability reasons. but a simple apt-get remove ( --purge optional to get rid of any config files ) will remove them. aclocal is part of the automake package.
Also emacs20 emacs20-7 are probably the same package. emacs20 points to emacs20-7.
|
|
|
04-04-2004, 01:18 PM
|
#3
|
Member
Registered: Feb 2004
Location: Norman, OK, USA.
Distribution: Mandrake 10.0
Posts: 33
Original Poster
Rep:
|
thanks:
I did use the command, dselect and then in that remove any used software, as well as configure software, etc. after running them only, I found multiple versions of same software, or maybe as you said.
Thanks for the info.
Vgn
|
|
|
04-04-2004, 02:25 PM
|
#4
|
Member
Registered: Mar 2004
Location: Canada. The Great white north.
Distribution: Debian Sid
Posts: 183
Rep:
|
If you want an interface to apt that works well, try aptitude. Its curses based, so it should run on just about anything, and makes package management a whole lot easier. (apt-get install aptitude)
|
|
|
04-04-2004, 07:40 PM
|
#5
|
LQ Newbie
Registered: Mar 2004
Posts: 14
Rep:
|
I think you need this command, apt-get autoclean
|
|
|
04-06-2004, 05:30 PM
|
#6
|
Member
Registered: Jan 2004
Location: London
Distribution: Debian
Posts: 33
Rep:
|
apt-get autoclean just removes the old downloaded .deb files
after removing unwanted stuff using aptitude (excellent tool), use deborphan:
nb this is a bit risky, but you can generally get away with it;
apt-get remove --purge `deborphan`
(reverse single quotes)
Finally, run this script:
dpkg --purge `dpkg -l | rgrep ^.c.* | awk '{ print $2 }'`
which purges all config for packages which are not installed.
|
|
|
All times are GMT -5. The time now is 01:06 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|