LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-02-2004, 05:04 PM   #1
Makaelin
Member
 
Registered: Mar 2004
Posts: 93

Rep: Reputation: 15
/usr/share - What's the point?


Okay, forgive my ignorance, but I'm a bit confused. Why is it that Linux seems to have both a /usr/local and a usr/share? I'm assuming /share is so programs can share libraries and whatnot such as GTK, but isn't that what /usr/lib should be for?

Is there a way to get rid of the /share placement and just have all the non-essential programs installed into usr/local?
 
Old 09-02-2004, 05:06 PM   #2
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
I've always thought /opt was a bit of a redundancy, as well. I'd say the filesystem layout is up for a bit of revision, but I don't think the traditionalists in our community would go for that. I guess it's good to have lots of options, but I think there should be some consolidation.

--Shade
 
Old 09-02-2004, 05:10 PM   #3
Makaelin
Member
 
Registered: Mar 2004
Posts: 93

Original Poster
Rep: Reputation: 15
Well, if there IS no real point, then I'd like to begin working on a way to get my Slack install filesystem trimmed down some. Having all non-essential programs in /usr/local would be SO much better. And you're right, I forgot all about /usr/opt.
 
Old 09-02-2004, 05:52 PM   #4
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
Well, the problem is that in order to get a custom filesystem layout, you'll need to either compile all your own programs, or use binary packages that only install to /usr/local or /usr...

Many, such as kde and gnome do use share and opt.
It's quite doable, and there are a few different tree layouts out there, some distros use customs jobs. I've thought about it myself, but I'm not so irked by the redundancy that I'll take action

--Shade
 
Old 09-02-2004, 05:56 PM   #5
Makaelin
Member
 
Registered: Mar 2004
Posts: 93

Original Poster
Rep: Reputation: 15
Well, it bugs me. Plus, actually, it's not very conducive to helping newbies out, either. I don't want to lose that great feeling Slackware has from doing custom configs and whatnot, but there's a purpose to that (configurability and power). Redundant filepaths aren't really conducive to learning or customization, except for learning the paths themselves, heh.

If I get annoyed enough to seek resolution, I'll let you know what I find.
 
Old 09-02-2004, 06:05 PM   #6
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
/usr/share is not for shared libraries but for other shared resources like bitmap (icons, bitmap theme), I don't think you will find binaries here.

It is a common place for share resources between program, it is present not only on linux but in mac osx as well and all unix like system too I think.
 
  


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
MS Share Point replacement? sikandar Linux - General 2 05-20-2005 01:55 AM
deleted /usr/share jmoschetti45 Linux - General 1 11-20-2004 04:02 PM
migrating /usr/share to another hd comatosebuddha Linux - General 3 08-26-2003 03:10 PM
/usr/share/locale chrismiceli Linux - General 1 08-09-2003 10:39 PM
mounting linux share point on windows jolu2000 Linux - Software 1 04-18-2003 09:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:49 PM.

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