Auto removable packages[SOLVED]

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read this

Auto removable packages[SOLVED]

Postby Cariboo on Fri Feb 08, 2013 9:26 pm

Hello,
I have LM 14 Nadia installed and I would like to know what to do with
Installed (auto removable) packages.
As I'm not a programmer I wonder what are those used for?
Could I free some space on my HDD when I uninstall them?
Last edited by Cariboo on Sun Feb 10, 2013 4:42 pm, edited 1 time in total.
Self-built MSI-785GM-E51 Desktop, Dual boot: LM15-64bit-Cinnamon and Win7-64bit , Samsung Galaxy S4 un-locked.
User avatar
Cariboo
Level 4
Level 4
 
Posts: 203
Joined: Sun Jan 13, 2008 10:00 pm

Linux Mint is funded by ads and donations.
 

Re: Auto removable packages

Postby meteorrock on Sat Feb 09, 2013 3:18 am

First, you can do an 'appitude' to list all of your packages you got installed. I prefer appitude as it is has a better handle on packages you want to look over that are installed, compared to apt-get. Just run this command in the terminal to bring up the list of packages you have installed to review them.

Code: Select all
aptitude search '?installed ?not(?automatic)'


This will bring up manually downloaded packages you installed through the apt-get for example. For automatic updates, just leave out the < ?not > syntax variable like this.

Code: Select all
aptitude search '?installed (?automatic)'


This will list your automatic package installs. Then you can just purge them through the apt-get if you want to remove ALL of the package along with its included files, or just do an autoremove to remove just the package itself without the binary.

Code: Select all
sudo apt-get update && sudo apt-get autoremove [package]


Or to fully purge the package along with its binary files,

Code: Select all
sudo apt-get purge [package]


Make sure its not a file or package you need for your linux mint build, or you will hose it out. :)

~~~~~~~~~~~~~~~~~

Take the package name and do a google search on it and see if its needed. The above code will give you a detailed description in your terminal for its use. Make sure you know if its essential to your system through research first. Manual installs are usually safer to purge without much issue.
meteorrock
Level 3
Level 3
 
Posts: 122
Joined: Tue Jan 08, 2013 2:24 am

Re: Auto removable packages

Postby Cariboo on Sun Feb 10, 2013 1:32 am

Hello and thanks for the help. It's a bit confusing how many packages there are installed.
I'm not able to determine which are needed.
The command
Code: Select all
aptitude search '?installed (?automatic)'

listed, among others, all the packages which are listed in Synaptic Package Manager under
STATUS - Installed (auto removable)
too. I wonder if I can just mark them there
For Complete Removal
and remove them that way
or do I still have to go and do a google search on each and see if it's needed?
Self-built MSI-785GM-E51 Desktop, Dual boot: LM15-64bit-Cinnamon and Win7-64bit , Samsung Galaxy S4 un-locked.
User avatar
Cariboo
Level 4
Level 4
 
Posts: 203
Joined: Sun Jan 13, 2008 10:00 pm

Re: Auto removable packages

Postby meteorrock on Sun Feb 10, 2013 3:22 am

I would do a search. If your unfamiliar with what packages you need for your linux mint build, you could hose it out. It only takes a few seconds and you also gain knowledge on what the package does for your system, if appicable, for further reference to yourself in the future.

Taking any kind of shortcut on linux to save time is a sure way to get into trouble and having to reinstall the whole OS. This is from personal experience for myself and others. :)

~~~~~~~~~~~~~~~~~~

Linux packages do not take up much memory space. If you are short on hard disk space, you should try to delete any multimedia files on your system. Things like video clips and such. Going into the system packages to try to delete things is going to get you into trouble.

Make sure you do an "apt-get autoremove" in your terminal to delete packages that are no longer needed by your system is another good place to start.
meteorrock
Level 3
Level 3
 
Posts: 122
Joined: Tue Jan 08, 2013 2:24 am

Re: Auto removable packages

Postby Cariboo on Sun Feb 10, 2013 4:40 pm

Thanks meteorrock for your advice and wisdom....
You recommended
Code: Select all
apt-get autoremove

and this did exactly what I thought would clear out the "autoremovable packages".
Issue solved. :D
Self-built MSI-785GM-E51 Desktop, Dual boot: LM15-64bit-Cinnamon and Win7-64bit , Samsung Galaxy S4 un-locked.
User avatar
Cariboo
Level 4
Level 4
 
Posts: 203
Joined: Sun Jan 13, 2008 10:00 pm


Return to Installation & Boot

Who is online

Users browsing this forum: roger25118 and 11 guests