Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi all
I have installed RedHat8.0 in my system. I have seen so many applications in /usr/share/applications. I want to remove all the files and when the system boots up for the next time, they should not be there. how the kernel and the applications are linked?.is it possible?.If so, can anyone help me to do the above.
First, RedHat 8 is hopelessly obsolete----maybe you meant Fedora 8.
A user application is not "linked" to the kernel. It is simply executable code which meets several criteria, including the use of certain library functions (aka "dependencies). If you don't want an application, you **can** simply delete the file, but it's far better to let the package manager handle such things.
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900
Rep:
I'd also say that /usr/share/applications is probably the place to store menu entries for them, application itself has many more files installed than just one small file there.
what your asking makes no sence to me. I am sorry but linux is nothing like windows. those programs do not run unless called apon. and that has almost nothing to do with the kernel ok the kernel is running a huge monolithic loop file system so please. do not mess with shared file or you can leave the system usless ok. the kernel the system two things. the kernel creates the enviroment for the system. the system uses the aplications. the shared files are just that shared for the system to use. Un like windows that runs all there stuff in the kernel loop at all times the monolithic kernel inserts modules into the system so they can be used when called apon. In windows you want to get rid of all them startup files because it slows down the boot up. so please try to tell people your goal before you wipe out you shared aplication that use shard libraries. good luck.
if you are trying to edit you aplication menue that may be done. through the menue editor. and then your just getting rid of a symlink (short cut) to the application.
Hi all
I have installed RedHat8.0 in my system. I have seen so many applications in /usr/share/applications. I want to remove all the files
If you want to remove them, I would suggest using the package manager that comes with your distribution. But I would strongly recommend NOT doing that until you are much more familiar with your distro, as many packages and programs have dependencies on packages and programs. I made the mistake of manually deleting files when I started with Linux. Not a good idea.
Thanks for the replies.
Is there any option to delete games, applications folders in /usr/share (ie) instead of deleting them manually after linux boots up?
Because i just want reduce the size of linux.
That is going to be a real problem. Support for RH9 was dropped in 2004 and I have no idea how long RH8 has been dead. Your pool of people who have even run (much less understand) RH8 is going to be EXTREMELY limited. Is there any particular reason you need to run such an old version? There are many current versions available for free download.
It is not like i should use an older version. I just installed linux redhat8.0 and started working on that.
Is there any option to delete games, applications folders in /usr/share (ie) instead of deleting them manually after linux boots up?
Can u provide me the link current version download?
Centos is RHEL (RedHat Enterprise Linux) with the logos removed. It is free to download and has a 5 year support life. The current version is 5.1.
Redhat started its number over after RH9.
Fedora is the free development version of RedHat. It has a support life of only about one year. It is not tested as well as Centos (Centos "learns" from Fedora's mistakes) but it is much flashier (eye candy) than centos. The current version is F8.
In either case base requirements are a Pentium (or above) and 192 ram (graphical) or 128 ram (text based). I would suggest that 512 ram is a much better minimum.
Use the package manager to remove packages you don't want. Non root users will not be able to install anything in /usr/share/. As far as I know, there isn't a literal "/usr/share/applications/". There are a number of subdirectories there that are named for the installed application, many like /usr/share/info or /usr/share/samba that you wouldn't want to remove. It's possible that things have changed a lot since RH8.0. Please upgrade because you can't apply security patches.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.