Re: /usr/local removed... but entries for it exist yet!

From: Frederick Bruckman (fredb_at_immanent.net)
Date: 12/13/04

  • Next message: Igor Sobrado: "Re: /usr/local removed... but entries for it exist yet!"
    Date: Mon, 13 Dec 2004 11:38:59 -0600
    
    

    In article <cpkik6$vs1$1@string1.ciencias.uniovi.es>,
            Igor Sobrado <igor@no-spam.on.the.net> writes:
    > Frederick Bruckman <fredb@immanent.net> wrote:
    >> In article <cpjm7o$v1d$1@string1.ciencias.uniovi.es>,
    >> Igor Sobrado <igor@no-spam.on.the.net> writes:
    >>>
    >>> NetBSD 2.0 has removed /usr/local. I understand that this directory
    >>> will not be used in the future....
    >>
    >> It's been "removed by request", so that NetBSD won't screw with it.
    >> "/usr/pkg" exists exactly so that the package system will leave folks'
    >> "/usr/local" alone. Most systems will still have a "/usr/local", as
    >> they do a "/home", which we also install nothing into.
    >
    > Ok, I understand that /usr/local has been removed because some
    > users do not want it. There is a /usr/pkg in the system that
    > is useful for installing packages from pkgsrc. As most people
    > do not develop software locally in these days, /usr/local is
    > something that can be safely removed. In the last decade, it
    > has not been used for the purpose it was initially designed.

    Who are these "most people"? Why do we ship a compiler with the a base
    system, if no one codes? ;-)

    Honestly, if you install commonly available software out-of-the-box,
    it'll go to "/usr/local" by default; your scripts are going to go in
    "/usr/local/bin", and so on. I doubt if you'll still have an empty
    "/usr/local" after you've been running NetBSD for a while.

    > But the question remains, though:
    >
    >>> If it is right, entries related with /usr/local should be removed
    >>> from both the shell initialization scripts and /etc/man.conf, as
    >>> this directory will not contain binaries or man pages again, though.
    >>
    >> I believe that would be wrong. What would be the benefit? I believe
    >> it would only annoy users on new installations.
    >
    > Agreed, removing references to /usr/local from the shell initialization
    > scripts and man configuration file will be annoying for people that
    > installs software on those directories. But, does it make sense
    > staying with those entries in the default configuration of NetBSD when
    > /usr/local has been officially dropped? Well, at this moment it is not
    > a technical issue but a philosophical question!

    I don't believe "/usr/local" has been "dropped". I believe, rather, it's
    been declared hands off, like "/home". In other words, it's designated
    as being under the complete control of the user. If "/usr/local" were
    universally despised, that would be one thing, but that's not the case.
    What happened (IIRC), was that one developer, who apparently arranges
    his "/usr/local" like "/opt", insisted that we stop installing the empty
    "man" and "share" directories, and no one could see a reason to keep on
    doing that.

    -- 
    Frederick
    

  • Next message: Igor Sobrado: "Re: /usr/local removed... but entries for it exist yet!"

    Relevant Pages

    • Jumpstart
      ... I am attempting to implement a jumpstart config. ... disks as defined. ... I am trying to get some finish scripts to work to ... echo "Installing package SUNWmdg.." ...
      (comp.unix.solaris)
    • Re: ksh93 on Linux without conflicts with existing shells
      ... Up until a few years ago when we began supporting UNIX the only systems ... to make it a link to /bin/ksh93 that broke too many scripts that expect ... In the end we settled for installing it as /bin/ksh93 and changing the ...
      (comp.unix.shell)
    • connect to oracle server
      ... installing oracle's instantclient-basic and instantclient-sqlplus. ... what oracle software ... do i need to install in order for scripts to connect to an oracle ...
      (perl.beginners)
    • Re: want shell should I learn?
      ... bash/pdksh and their scripts are also bash scripts; ... _your company_ may restrict you from installing it! ... Is KornShell public domain? ... "non-standard" shell 'ksh'. ...
      (comp.unix.shell)
    • knoppix/php/mysql databases
      ... Hi, I have been using with knoppix on a notebook, without installing it ... as I write scripts in PHP that require MySQL, ...
      (alt.os.linux)