LinuxQuestions.org
Help answer threads with 0 replies.
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 09-14-2003, 10:46 PM   #1
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
Install for all users?


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?
 
Old 09-14-2003, 11:59 PM   #2
Gates1026
Member
 
Registered: Sep 2003
Location: Iowa
Distribution: Slackware 9.1
Posts: 155

Rep: Reputation: 30
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
 
Old 09-15-2003, 09:05 PM   #3
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Original Poster
Rep: Reputation: 45
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....
 
Old 09-17-2003, 03:39 PM   #4
mikeb222
LQ Newbie
 
Registered: Sep 2003
Location: Woburn, MA
Distribution: Mandrake 9.1
Posts: 25

Rep: Reputation: 15
(Hope this is right - don't have access to documentation right now)

Not sure this option is still available.

If OpenOffice is the same as Star office was,

as root
type ./install /net

It will install to "application server"

each user needs to go in to the installed package and

as user
type ./setup

This will allow the user to setup a networked version of OOo or a full install.


I suppose the user side of this could be automated with a script.
 
Old 09-17-2003, 04:42 PM   #5
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Original Poster
Rep: Reputation: 45
Thanks, I'll try out the /net path when I install it again.
 
Old 09-19-2003, 02:11 PM   #6
mikeb222
LQ Newbie
 
Registered: Sep 2003
Location: Woburn, MA
Distribution: Mandrake 9.1
Posts: 25

Rep: Reputation: 15
at that point in the command it is really considered a 'switch'
make sure there is a space before /net
 
  


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
Install with existing users?? Okie2003 MEPIS 6 06-02-2005 05:39 PM
Where to install programs for all users? Cinematography Linux - Software 6 05-25-2005 04:22 AM
how/where to install apps for all users slug420 Linux - Newbie 4 01-17-2005 04:47 PM
Moving users from a 9.1 install to another 9.1 install CrawZ Slackware 1 08-21-2004 02:34 AM
Where to Install applications for all users? mmr_85 Linux - Newbie 3 10-16-2003 12:13 PM


All times are GMT -5. The time now is 10:50 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration