LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-14-2009, 10:22 AM   #1
divyashree
Senior Member
 
Registered: Apr 2007
Location: Bangalore, India
Distribution: RHEL,SuSE,CentOS,Fedora,Ubuntu
Posts: 1,386

Rep: Reputation: 135Reputation: 135
remove unnecessary contents


How will I check the unnecessary contents of my system and remove them ??
 
Old 06-14-2009, 10:26 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
what are unnecessary contents ?
 
Old 06-14-2009, 10:29 AM   #3
scottro11
Member
 
Registered: Jun 2009
Location: NYC
Posts: 263

Rep: Reputation: 59
It can be dangerous, especially with RHEL. They have a great many dependencies, many of which may not make sense to us.

By unnecessary contents, do you mean programs, files that you no longer use, or other things?
You can get a listing of all installed programs by doing something like rpm -qa > rpms.txt. That will list all rpms.

Then, doing yum remove <program name> will show you what else might be removed. For example, you might want to remove wireless-tools and find that it will remove most of KDE. So, you want to be careful, and never do yum -y remove till you see what else it might take. (For example, as mentioned above, if you have various KDE programs installed, at one point, on Fedora at least, doing yum remove wireless-tools would take out most of the KDE programs.)

I'm not sure if I've answered your question correctly, if I've misunderstood, my apologies.

Last edited by scottro11; 06-14-2009 at 10:30 AM. Reason: typos
 
Old 06-15-2009, 05:55 AM   #4
divyashree
Senior Member
 
Registered: Apr 2007
Location: Bangalore, India
Distribution: RHEL,SuSE,CentOS,Fedora,Ubuntu
Posts: 1,386

Original Poster
Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by repo View Post
what are unnecessary contents ?
I have only the OS installed and some s/ws and its taking more than 25GBs,So how will I know all 25 GBs are necessary ,thats why I asked the question ...
 
Old 06-15-2009, 06:20 AM   #5
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Decide what you want to use, you can uninstall games, servers (apache, ftp, ssh...) docs.....
However, if space is an issue, why not install DSL, puppy, debian netinstall....
 
  


Reply


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
Remove unnecessary packages on a Fedora 10 install Roflcopter Linux - Software 5 04-12-2009 11:01 AM
cannot remove contents of the /tmp folder bergman Linux - Newbie 12 02-18-2009 09:17 AM
Wine uninstaller: unable to remove contents-regerding... kavinchat Linux - Newbie 2 10-16-2008 01:50 PM
Bash remove part of a file based on contents of another file bhepdogg Programming 4 01-31-2007 03:13 PM
list contents of directory without listing contents baddah Linux - Newbie 2 06-12-2006 04:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:31 AM.

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