Find the answer to your Linux question:
Results 1 to 7 of 7
Hi all I have installed RedHat9.0 in my system. I have seen applications in /usr/share/applications and games in /usr/share/games etc. I want to remove application and games folders and when ...
  1. #1
    Just Joined!
    Join Date
    Jan 2008
    Location
    India
    Posts
    78

    Kernel and its inbuilt appl....Help needed

    Hi all

    I have installed RedHat9.0 in my system. I have seen applications in /usr/share/applications and games in /usr/share/games etc. I want to remove application and games folders and when the system boots up for the next time, they should not be there.Currently i am deleting them manually in /usr/share folder for reducing the size of linux space. Is there any option to removing these folders by any selection in some where? is it possible?.
    If so, can anyone help me to do the above.

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    /usr/share/applications only contains shortcuts to applications and not the applications themselves, so you won't be reducing any disk space usage by deleting the contents in there. If you want to save disk space, use rpm to uninstall the packages that you do not need on your system. /usr/share/games only contains files needed by certain games, so deleting this won't save you much disk space either.

    Just a note of advice, in the future, don't delete directories and files unless you know what they are for because you can end up with a broken system or things that don't work as expected. Also Red Hat 9 is now an obsolete distro, use something newer e.g. Fedora 8 and RHEL/ CentOS 5.

  3. #3
    Just Joined!
    Join Date
    Jan 2008
    Location
    India
    Posts
    78
    Thansk daark.child.

    I have downloaded the rpm-4.4.2.2.tar.gz package. can anyone tell me the steps to upgrade the my linux packages using RPM.

  4. #4
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    RPM is installed by default on Red Hat/Fedora so there is no need to installed it from source.

  5. #5
    Just Joined!
    Join Date
    Jan 2008
    Location
    India
    Posts
    78
    How can i remove the packages that are already installed? I have no idea about this.should i use the redhat Installation CD to remove the packages by upgrading the linux system?
    can anyone help me?

  6. #6
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    You use the rpm command like I stated above. Read the manual (man rpm) to find out how to use it and also take look at this guide.

  7. #7
    Linux Guru
    Join Date
    Nov 2007
    Location
    Córdoba (Spain)
    Posts
    1,513
    As daark.child said, playing around with things you don't know about can give you big headaches.

    You should really use your distro's package manager, which is what packages managers are for. And don't uninstall anything that you don't know what it is for.

    If you are really concerned about what is or isn't installed on your system, better use a more low-level distro like Gentoo of LFS. That way you will know everything that's installed on your system. You are going to have to learn a bit for that, though.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...