LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-10-2004, 08:53 AM   #1
millertime
LQ Newbie
 
Registered: Jun 2004
Posts: 11

Rep: Reputation: 0
Installing software, /usr/lib directory and /usr/local


Got RH9 and am upgrading Mozilla to 1.7. For some reason the redcarpet auto installer doesn't work so am doing it manually. After successfully extracting the compressed file, it lets you choose a directory for install. Default is usr/local/mozilla. Once I did that it's installed, but I noticed it's not in the same location that it was installed in by the RH distribution initially. Also the fonts are all messed up with the new version running from the new directory.

After some detective work I noticed the original Mozilla was installed in usr/lib and usr/bin for the script to run Mozilla. Also noticed you can't use the original tray icon to start the new Mozilla because it still calls up the old Mozilla with the command: mozilla %u. My guess is that that command indicates to run the old mozilla script from the /usr/bin directory, is that right??? How can I get Mozilla to install correctly where the old one was and not have this font display problem??? You can barely read things using the new browser.

Also, any advantage to installing in usr/local rather than usr/lib?

thanks
 
Old 07-10-2004, 09:06 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
If you want to use your system fonts you have to make sure you choose a mozilla version with gtk & xft support or else all the fonts in mozilla won't look nice at all. There really is no difference where you install it but /usr/lib is usually meant for software supplied by the distributor and /usr/local for software you install on our own.

You will need to remove the old mozilla rpm and install mozilla in the folder that you want. You will then have to do the following as root to create a symbolic liiink to the mozlla executable.

ln -s /usr/lib/mozilla/mozilla /usr/bin/mozilla

You may need to change the paths above so that they match your systems. Once you've created the symlink above, you can then just run "mozilla" and it should work.
 
Old 07-10-2004, 09:21 AM   #3
millertime
LQ Newbie
 
Registered: Jun 2004
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks for the reply.
Where could I get a version that has the gtk&xft support? I just went to www.mozilla.org and downloaded the only tar file they have for linux, in version 1.7.
 
  


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
including usr/local/lib directory Quest101 Linux - Software 3 01-01-2005 04:13 PM
Compromised? Files "/usr/lib.hwm", "/usr/lib.pwd", "/usr/lib.pwi" Klaus Pforte Linux - Security 4 09-28-2004 11:33 PM
/usr/lib and /usr/local/lib doxxan Slackware 5 06-15-2004 12:58 AM
no php.ini file under /usr/local/lib/ !! jogurt666 Linux - Software 1 12-16-2003 12:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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