LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 02-07-2006, 05:58 AM   #1
xpucto
Member
 
Registered: Sep 2005
Location: Vienna, Austria
Distribution: Mint 13
Posts: 524

Rep: Reputation: 31
no /usr/local in solaris 10


Hi!
I've got Solaris 10 and I was surprised to see that rsync is not included in it. So I would like to install it. In http://sunfreeware.com/ it says that it should be installed under /usr/locale. But in Solaris 10 there is not locale under usr anymore. Where sould I install it?

Thanks.
 
Old 02-07-2006, 06:48 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Solaris 10 includes rsync in the Software Companion CD
It installs in /opt/sfw/bin/rsync

If you install the one from sunfreeware, it will create /usr/local/bin for you, although doing it is breaking the SVR4 filesystem standard.

If you install the one from blastwave, it will go to /opt/csw/bin/rsync.
 
Old 02-07-2006, 08:06 AM   #3
xpucto
Member
 
Registered: Sep 2005
Location: Vienna, Austria
Distribution: Mint 13
Posts: 524

Original Poster
Rep: Reputation: 31
Thanks for your answer. In the meantime I also found an old post from you
http://www.linuxquestions.org/questi...%2Fusr%2Flocal
So I installed the package from sunfreeware and made a symbolic links /usr/local.

I couldn't download the companion CD. The link seems to be out of date:http://www.sun.com/download/sdl.jsp?5005588c=1
 
Old 02-07-2006, 08:22 AM   #4
Maidros
Member
 
Registered: Jan 2004
Location: Haifa, Israel
Distribution: Debian, FreeBSD, Solaris
Posts: 101

Rep: Reputation: 15
Quote:
Originally Posted by jlliagre
If you install the one from sunfreeware, it will create /usr/local/bin for you, although doing it is breaking the SVR4 filesystem standard.
Could you please elaborate on what you mean by 'breaking the SVR4 filesystem standard'? I have abiword (which I compiled) installed in /usr/local/bin. Is there a problem with installing in /usr/local/bin? A reply would be greatly appreciated.

Regards,
Maidros
 
Old 02-07-2006, 08:50 AM   #5
xpucto
Member
 
Registered: Sep 2005
Location: Vienna, Austria
Distribution: Mint 13
Posts: 524

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by Maidros
Could you please elaborate on what you mean by 'breaking the SVR4 filesystem standard'? I have abiword (which I compiled) installed in /usr/local/bin. Is there a problem with installing in /usr/local/bin? A reply would be greatly appreciated.

Regards,
Maidros
Have a look at
http://www.linuxquestions.org/questi...%2Fusr%2Flocal

Last edited by xpucto; 02-07-2006 at 08:57 AM.
 
Old 02-07-2006, 08:57 AM   #6
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by Maidros
Could you please elaborate on what you mean by 'breaking the SVR4 filesystem standard'? I have abiword (which I compiled) installed in /usr/local/bin. Is there a problem with installing in /usr/local/bin?
Well, you are not committed to respect standards, Sun is.

While this rule was mostly academic for years, the situation changed quite a while with the implementation of Solaris zones. When in a sparse zone (the default for non global zones), even root is not allowed to create or modify files in /usr/<something> ...

When compiling open source software, better to have them built in /opt/local instead of /usr/local.

For some details:
http://www.linuxquestions.org/questi...71#post1628271
 
Old 02-07-2006, 10:22 PM   #7
Maidros
Member
 
Registered: Jan 2004
Location: Haifa, Israel
Distribution: Debian, FreeBSD, Solaris
Posts: 101

Rep: Reputation: 15
Quote:
Originally Posted by jlliagre
Well, you are not committed to respect standards, Sun is.
Nevertheless, I would not like to break the standard.

Quote:
While this rule was mostly academic for years, the situation changed quite a while with the implementation of Solaris zones. When in a sparse zone (the default for non global zones), even root is not allowed to create or modify files in /usr/<something> ...

When compiling open source software, better to have them built in /opt/local instead of /usr/local.

For some details:
http://www.linuxquestions.org/questi...71#post1628271
Thanks for the info.
With regards,
Maidros
 
Old 02-07-2006, 10:23 PM   #8
Maidros
Member
 
Registered: Jan 2004
Location: Haifa, Israel
Distribution: Debian, FreeBSD, Solaris
Posts: 101

Rep: Reputation: 15
Quote:
Originally Posted by xpucto
Just had a look at it. Thanks for the pointer.
With regards,
Maidros
 
  


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
Starting httpd: /usr/sbin/httpd: symbol lookup error: /usr/local/lib/libaprutil-0.so. bijuhpd Linux - Newbie 1 10-30-2005 05:07 PM
/usr vs /usr/local on linuxpackages.net merchtemeagle Slackware 4 10-18-2005 03:09 PM
path in services wrong for clamav updated frm 0.75 to 0.80 usr/bin vs usr/local/bin Emmanuel_uk Linux - Newbie 3 04-22-2005 01:02 AM
Installing software, /usr/lib directory and /usr/local millertime Linux - Software 2 07-10-2004 09:21 AM
Why /usr/X11R6 before /usr/local? Griffon26 Linux - Software 2 07-18-2002 06:46 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

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