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.
Pardon me if this has been addressed countless times, but I'm curious to know how to install programs such as OpenOffice and LimeWire, so that they'll work for all users? When I installed those two programs, they installed in my /home/rob directory. That's fine and dandy, but suppose later on I want to have Linux on a computer with more than one user. How do I install programs so that all users have access rights, and that they all can save to their personal folders?
Hope this helps.............I am not an expert but this should work
It all depends on what type of format you are using to install the application. If you are using a distro that uses RPM (ex: mandrake and RedHat) the files should be accessable to all users that want to use it automatically. rpm -Uvh to install and rpm -e to uninstall
On the other hand, if you install from source (ex: blah.tar) it is best to install to a directory with the correct permissions. For the most part, I install all compiled from source applications in /usr/local/src. You would then set the directory /usr/local so that any user would be able to execute the program. If you are not very familiar with the permissions commands, man chmod should do the trick (but I think it is setup this way by default). From then on, as long as you have that directory set up in your PATH variable in your /etc/bashrc file (just append :/usr/local to the end of the PATH that is already there) you should be able to execute the programs as any user.
If that doesn't work, then you may need to play around with the permissions of the "other" to allow other users to execute the applications.
Hope that isnt too confusing and is a little help at least
Thanks, I'll try installing in the /usr/local path once I get Gnome2.4 up and running. Good thing I have KDE as a backup incase something happens to Gnome between when I take 1.4 off and put 2.4 on....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.