Packages of succeeding numerical versions

Questions about applications and software
Forum rules
Before you post please read this

Packages of succeeding numerical versions

Postby mint123 on Tue May 22, 2012 7:50 pm

Mint comes with many of them. For example, I have in my Mint..
Code: Select all
g++, g++-4.4, g++-4.6

then there is
Code: Select all
gcc gcc-4.3-base, gcc-4.4-base, gcc-4.4, gcc-4.5 base, gcc-4.6 base gcc-4.7 base


and libavocdec52 & libavcodec53

libaformat52, libavfomat53, libavutil49, 50 and 51

there are others.

Is it a good idea to keep them all or should I just keep the most recent?
mint123
Level 3
Level 3
 
Posts: 133
Joined: Mon Jan 31, 2011 4:44 pm

Linux Mint is funded by ads and donations.
 

Re: Packages of succeeding numerical versions

Postby Aging Technogeek on Wed May 23, 2012 5:22 am

Quite often this situation is due to applications needing different versions of a dependent app in order to run properly. To be certain of which versions could be safely removed, you would have to check the dependencies of all installed programs.

Luckily, Linux has a method of doing this. Open a terminal and enter

Code: Select all
sudo apt-get autoremove


This will search for all files that are no longer used for anything and give you the option to remove them.
Image

Registered Linux User 483387
User avatar
Aging Technogeek
Level 13
Level 13
 
Posts: 4557
Joined: Sun Jan 11, 2009 9:54 am
Location: Right about here

Re: Packages of succeeding numerical versions

Postby squeezy on Wed May 23, 2012 9:25 am

I use a package called 'upgrade-system'. It's a script that runs deborphan and looks for unused dependencies and deletes them. On a recent Mint 13 MATE clean install it removed over 120 packages. It's never broken a system and I've been using it for almost 6 months now. I rebuild my workstation frequently, testing new installs and methods. I use it on every build I do. It installs 4-5 dependencies, all very small.

To install look for upgrade-system in Synaptic, or from a terminal use:
Code: Select all
sudo apt-get install upgrade-system


It runs from a terminal, no GUI:
Code: Select all
sudo upgrade-system


Finds much more than autoremove does. Guaranteed that if a package remains after running this, it's still needed by something else :D
squeezy
Level 5
Level 5
 
Posts: 567
Joined: Thu Feb 23, 2012 2:05 pm
Location: The Land of Enchantment

Re: Packages of succeeding numerical versions

Postby mint123 on Wed May 23, 2012 2:36 pm

Thanks for the comments guys. I have some mono stuff and a few other libraries available for autoremvoe but deborphan shows me a big list of other things.

Squeezy, update-system seems to be a nice all in one way to update and remove old stuff. I will add --no-install-recommends to the config file.
mint123
Level 3
Level 3
 
Posts: 133
Joined: Mon Jan 31, 2011 4:44 pm


Return to Software & Applications

Who is online

Users browsing this forum: manboot and 15 guests