LinuxQuestions.org
Visit Jeremy's Blog.
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 09-08-2006, 09:18 AM   #1
mavinashbabu
LQ Newbie
 
Registered: Sep 2006
Posts: 7

Rep: Reputation: 0
How do i make a program/software available to all users.


Hi...

I've installed Firefox software with root privileges and the installation was a .tar ball where i untarred all the files into a folder by name firefox.. but my question is how do i make that program accessible to all the 'normal' users on that system. Also i want to place a shortcut to firefox for all the users on their desktop.

Please let me know how can i do that?

Thanks..
Avinash
 
Old 09-08-2006, 09:40 AM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
You need to put the Firefox directory into /usr/local - which distro are you using? It may be there's an even easier way than the way you did it and which will give everyone access to the program.

Welcome to LQ
 
Old 09-08-2006, 10:05 AM   #3
mavinashbabu
LQ Newbie
 
Registered: Sep 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks...

I'm currently using Red Hat EL and CentOS.

Another question here..,. should i place all the library files and other files(under "firefox" directory after untarring them)in /usr/local?

Avinash..

Last edited by mavinashbabu; 09-08-2006 at 10:23 AM.
 
Old 09-08-2006, 02:30 PM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
With any Red Hat distro
Code:
yum install firefox
should work. What you need to do is to untar everything in /usr/local to create /usr/local/firefox-<x.x.x) then symlink to that directory to create /usr/local/firefox then create links to /usr/local/firefox/firefox (if you upgrade Firefox, you just need to change the symlink, not everyone's links) in the menu.

Personally, I'd use Yum - it's more integrated and will do everything for you.
 
Old 09-09-2006, 09:12 AM   #5
mavinashbabu
LQ Newbie
 
Registered: Sep 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks... but having a Problem...

when i try to use "yum install firefox-xxxxx" it runs and throws an error "Cannot find a valid baseurl for repo:update" --> not sure what it is

and for the second option

i created 2 links ff(/usr/local/firefox) and ffb(/usr/local/firefox/firefox).. should i place these 2 link files in /usr/local/bin directory? and please tell me how do i manage to have a shortcut placed on each user's desktop to firefox browser?
 
  


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
can i make a script or program make a phone call? nephish Linux - Software 2 08-15-2005 09:02 PM
how to I add users to my system thru a program I make? r_squared Linux - General 3 12-11-2004 07:55 PM
How to make users using pirated software start using Linux arun79 General 12 11-25-2004 08:05 PM
How to make new users Balkman Linux - Newbie 7 07-20-2004 08:01 PM
i make a program using forte how can i generate from that program an rpm abdelhlims Programming 0 07-13-2004 12:10 PM


All times are GMT -5. The time now is 12:02 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration