Logo 
Search:

Unix / Linux / Ubuntu Forum

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds

Cleaning Unnecessary files in ubuntu

  Date: Dec 04    Category: Unix / Linux / Ubuntu    Views: 336
  

Being a newbee in ubuntu, to get things to work, I have installed numerous
packages using sudo commands. During this process, I think that I have installed
unnecessary softwares.
So, to prevent this garbage build up, I was wondering is there any logical
solution to how to clean up any unused packages installed on my ubuntu?

Share: 

 

5 Answers Found

 
Answer #1    Answered On: Dec 04    

sudo apt-get

remove - Remove packages
autoremove - Remove automatically all unused packages
clean - Erase downloaded archive files
autoclean - Erase old downloaded archive files

 
Answer #2    Answered On: Dec 04    

https://help.ubuntu.com/community/AptGet/Howto

They also supply Computer Janitor, cruft and sweeper for this purpose. The
former comes with Ubuntu. The others are in the repos. I also like Ubuntu
Tweak which is available from getdeb.net.

 
Answer #3    Answered On: Dec 04    

Would be the command to see what the options do,
be apt-get -h or sudo apt-get -h or something else?

 
Answer #4    Answered On: Dec 04    

sudo not required for the options

 
Answer #5    Answered On: Dec 04    

then do the opposite:
sudo aptitude remove whatever
sudo aptitude purge whatever.

 
Didn't find what you were looking for? Find more on Cleaning Unnecessary files in ubuntu Or get search suggestion and latest updates.




Tagged: