LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-24-2005, 10:09 PM   #1
Cinematography
Member
 
Registered: Apr 2005
Location: Chicago, IL
Distribution: openSUSE 13.1
Posts: 357

Rep: Reputation: 31
Where to install programs for all users?


Where are programs for all users stored? For example, I just downloaded the latest Firefox, but I don't know where to install it to update my existing version. Any help would be greatly appreciated.
 
Old 05-24-2005, 11:51 PM   #2
freakyg
Member
 
Registered: Apr 2005
Distribution: LFS 5.0 and 6.1
Posts: 705

Rep: Reputation: 30
usually it would be /usr/share
 
Old 05-24-2005, 11:52 PM   #3
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
Why don't you use synaptic?? The latest firefox is in Sarge so i suppose it should be in ubuntu repositories.
 
Old 05-25-2005, 12:11 AM   #4
Cinematography
Member
 
Registered: Apr 2005
Location: Chicago, IL
Distribution: openSUSE 13.1
Posts: 357

Original Poster
Rep: Reputation: 31
Quote:
Originally posted by mrcheeks
Why don't you use synaptic?? The latest firefox is in Sarge so i suppose it should be in ubuntu repositories.
I did use it. I just need to know so I can run this command line stuff to get java to work in Firefox. To fun that command, I need to know where my programs are. I also need to know where Java is installed.

Thanks for the replies, folks.

Last edited by Cinematography; 05-25-2005 at 12:13 AM.
 
Old 05-25-2005, 12:25 AM   #5
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
You can add the blackdown mirror to synaptic, it will install java for you and the plugin too(in /usr/lib/mozilla-firefox/plugins).
deb ftp://ftp.tux.org/java/debian/ sarge non-free

You can find other mirrors at http://blackdown.org if the previous one is not fast enough. With synaptic search the package named j2re1.4 and install it.

When i install something on debian i always look first for a repository before trying something else, unless i have specific reasons.

Code:
dpkg -l|grep searchKey
gives you a list of installed packages corresponding to the searchKey which could be java.

Code:
dpkg -L packageName | less
gives you a list of the files installed by a package.
 
Old 05-25-2005, 12:40 AM   #6
Cinematography
Member
 
Registered: Apr 2005
Location: Chicago, IL
Distribution: openSUSE 13.1
Posts: 357

Original Poster
Rep: Reputation: 31
Where do I add this exactly:
deb ftp://ftp.tux.org/java/debian/ sarge non-free

-----------------------------

Whew... I finally got it to work. Thanks to you guys and pointing out where the programs were, I was able to come up with this code:

cd /usr/lib/mozilla-firefox/plugins
ln -s /usr/java/jre1.5.0_02/plugin/i386/ns7/libjavaplugin_oji.so

Last edited by Cinematography; 05-25-2005 at 01:14 AM.
 
Old 05-25-2005, 03:22 AM   #7
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Originally posted by freakyg
usually it would be /usr/share
/usr/local and not /usr/share (though the program would still work). Take a look at this thread.
 
  


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
restricting users actions... know of any programs.. for both win/lunix nicknamefij Linux - Security 5 09-16-2004 10:58 PM
Automatically starting programs for individual users at boot johnleemk Linux - General 1 09-13-2004 05:24 AM
restricting ssh users from certain programs/files nixel Linux - Security 5 05-13-2004 12:54 AM
How can root start programs in the name of other users? J_Szucs Linux - Newbie 3 09-12-2003 01:59 PM
Getting Programs to run for users Saus Linux - Newbie 3 02-28-2001 04:43 PM

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

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