home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux.mandriva      Somewhat decent but also getting bloated      29,919 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 28,648 of 29,919   
   Bit Twister to Adam   
   Re: OT: Off-Topic <- collective thanks a   
   23 Oct 12 01:02:43   
   
   From: BitTwister@mouse-potato.com   
      
   On Mon, 22 Oct 2012 20:13:47 -0400, Adam wrote:   
   >   
   > If they're not provided by the distro (or the distro's versions aren't   
   > adequate in some way), then obviously I'll have to get them from other   
   > sources.  I was wondering what to do when both the distro and the vendor   
   > offer the same program, e.g. Firefox.   
      
   System admin's choice.   
      
   My solution is to create xx_local.sh in /etc/profile.d   
      
   xx_local.sh changes $PATH to have /usr/local/bin: after the sbin: and   
   before the other bin directories.   
      
      
   $ echo $PATH   
   /sbin:/usr/sbin:\   
   /usr/local/bin:/local/bin:/bin:/usr/bin:\   
   /usr/games:/usr/lib64/qt4/bin:/home/bittwister/local/bin   
      
   I added the \ for readability.   
      
   That way, whatever I put in /usr/local/bin will supersede the vendor's   
   app.   
      
   In the case of plugins, I have moved the vendor's plugin into _vorig   
   to get it out of the way if firefox did not show the desired plugin in   
   about:plugins   
      
   $ type firefox   
   firefox is /usr/local/bin/firefox   
      
   $ ll /usr/local/bin/firefox   
   lrwxrwxrwx 1 root root 33 Oct 11 17:28 /usr/local/bin/firefox \   
      -> /local/opt/firefox-16.0.1/firefox   
      
   Here you can see there is distribution's firefox in /user/bin   
      
   $ type -a firefox   
   firefox is /usr/local/bin/firefox   
   firefox is /usr/bin/firefox   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca