LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 04-16-2004, 03:53 AM   #1
glume
LQ Newbie
 
Registered: Apr 2004
Posts: 8

Rep: Reputation: 0
Relationship between /usr/bin and /usr/lib


What is the relationship between these two directories? Do executables in bin call upon the libraries in lib?

More concretely, I'm trying to figure out where to put a precompiled tarball of FireFox. I plunked the whole folder down inside /usr/lib. $PATH, of course, doesn't look there. Am I supposed to mv the executable to /usr/bin and leave the rest where it is? What's the normal procedure for installations like this?
 
Old 04-16-2004, 04:03 AM   #2
rob-n
LQ Newbie
 
Registered: Apr 2004
Location: in a garbage can
Distribution: Madrake10ce
Posts: 27

Rep: Reputation: 15
well i think it is irrelevant where you put it. in a Shortcut, you just have to give the right path.

or, of course, you can put a symlink in /usr/bin or /usr/local/bin.

i have my firefox directory in /usr/local and can open it by typing firefox in the console (due to the symlink in /usr/bin or /usr/local/bin)

hope i could help


rob
 
Old 04-16-2004, 04:23 AM   #3
glume
LQ Newbie
 
Registered: Apr 2004
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks rob,

I tried "ln -s ../lib/firefox/firefox firefox" in the /usr/bin folder, but still nothing happens when I type "firefox" in a console. Any idea why?
 
Old 04-16-2004, 04:26 AM   #4
glume
LQ Newbie
 
Registered: Apr 2004
Posts: 8

Original Poster
Rep: Reputation: 0
Nevermind, I got it. Thanks!
 
Old 04-16-2004, 08:11 AM   #5
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 13.1 / 12.3_64-KDE, Ubuntu 14.04, Fedora 20, Mint 17, Chakra
Posts: 3,651

Rep: Reputation: Disabled
Pleas post your solution for others to learn by ... thank you
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Relocat /usr/lib and /usr/lib64 to a different path schokshi Fedora 3 08-30-2005 09:14 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
/usr/bin/X11/ and /usr/X11R6/bin/ the same? linuxtesting2 Linux - Newbie 2 11-16-2004 10:57 AM
Compromised? Files "/usr/lib.hwm", "/usr/lib.pwd", "/usr/lib.pwi" Klaus Pforte Linux - Security 4 09-28-2004 11:33 PM
Installing software, /usr/lib directory and /usr/local millertime Linux - Software 2 07-10-2004 09:21 AM


All times are GMT -5. The time now is 11:01 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration