LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 12-15-2005, 03:54 PM   #1
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Rep: Reputation: 45
Can I install to /usr/local as a normal user?


Basically what the thread title says. If possible how can I go about doing that?
 
Old 12-15-2005, 04:21 PM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
You need to be root to write to /usr/local so installing as a normal user won't work.
 
Old 12-19-2005, 06:31 AM   #3
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Original Poster
Rep: Reputation: 45
Is it possible to share this directory between distros?
 
Old 12-19-2005, 11:38 AM   #4
ghight
Member
 
Registered: Jan 2003
Location: Indiana
Distribution: Centos, RedHat Enterprise, Slackware
Posts: 524

Rep: Reputation: 30
Do you mean in a dual boot situation? If so, then you can share that particular directory only if it's on it's own partition. You can only mount full partitions, not particular directories.
 
Old 12-19-2005, 12:36 PM   #5
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Original Poster
Rep: Reputation: 45
I meant if I am running more than one Linux distro, would it be advisable to have them share the /usr location?
 
Old 12-20-2005, 11:51 AM   #6
muddywaters
Member
 
Registered: May 2005
Location: Winnipeg, Canada
Distribution: mostly mepis
Posts: 427

Rep: Reputation: 30
I'm no expert on this, but I think distros use the /usr directory in different ways. For instance Suse places some things in /opt that other distros would put in /usr. Traditionally Slack likes the user to place software in /usr/local. Other distros seem to have their own variations.
I suspect sharing a /usr partition would cause headaches. Your mileage may vary.



edited for clarity (I hope)

Last edited by muddywaters; 12-20-2005 at 01:11 PM.
 
Old 12-20-2005, 02:54 PM   #7
ghight
Member
 
Registered: Jan 2003
Location: Indiana
Distribution: Centos, RedHat Enterprise, Slackware
Posts: 524

Rep: Reputation: 30
Distros do use /usr is different ways and some not at all. I guess to really recommend I would need to see specifically what you wanted to do. If it is some type of work directory for software compiles or user compiled binaries to run as as type of application service, I'd say give it a try and see what happens.
 
Old 12-20-2005, 11:28 PM   #8
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Original Poster
Rep: Reputation: 45
Essentially I am thinking of installing more than 1 Linux distro. Probably 2 to 5. Now when I install non distro specific programs like the Cedega Time demo, I would like for all the distros to share it. Instead of having to install under each distro.
 
Old 12-20-2005, 11:45 PM   #9
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Original Poster
Rep: Reputation: 45
Come to think of it is likely only to be games I look to share across distros. So I suppose I'll just create a games partition. The other stuff even if duplicated is not really gonna cause that much waste as a result of duplication.
 
  


Reply



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
Where to install software /opt? or /usr/local? sfwalter Linux - General 4 08-23-2013 11:22 PM
copy /usr to another filesystem and cann't reboot system by normal user kinzlaw Red Hat 9 12-04-2005 08:34 PM
Cant install unsatisfied /usr/local/bin/python/ Fredstar Linux - Newbie 1 02-02-2005 01:12 AM
Installing software, /usr/lib directory and /usr/local millertime Linux - Software 2 07-10-2004 09:21 AM
install everything under /usr/local? doublefailure Linux - General 15 07-10-2002 02:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 12:09 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