LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 02-25-2005, 03:29 PM   #1
The Stranger
Member
 
Registered: Feb 2005
Location: Canada
Distribution: SUSE 9.3 now using Ubuntu 14.04
Posts: 62

Rep: Reputation: 15
FireFox and SUSE 9.1


I have a question concerning Firefox and SUSE 9.1. I have successfully installed the program as root user and it works great on the root desktop, but when I switch user and link to application, it does not work as my regular user. Am i missing something. Being new to this, I have installed FireFox as

/usr/local/bin/firefox/firefox

is that the correct place for it to be accessable to all users?

-TS-
 
Old 02-25-2005, 05:11 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
It's a correct place, but the directory is not standard and not in PATH variable. It means that as a normal user you should be able to run firefox by running command /usr/local/bin/firefox/firefox. Does it work?
 
Old 02-25-2005, 09:53 PM   #3
The Stranger
Member
 
Registered: Feb 2005
Location: Canada
Distribution: SUSE 9.3 now using Ubuntu 14.04
Posts: 62

Original Poster
Rep: Reputation: 15
I am on my lap top and haven't tried it yet, but what do you mean that it is not the standard and not in PATH variable?

I am trying to understand where one puts things with Linux. With windows there is the default "my documents" and the "C" drive and "Program files" and all that.

I understand that there is the "root" and that devices are under "dev", but after that I get lost.

Thanks for the help, i will try it and see what happens and reply with the results soon,

-TS-
 
Old 02-26-2005, 09:28 AM   #4
duffmckagan
Senior Member
 
Registered: Feb 2005
Distribution: Cent OS 6.4
Posts: 1,163

Rep: Reputation: 48
yeah....

but do we have to run this command each and every time we gotta run firefox?


can i get something to read for clearing my concepts...

i wanna know perfectly......where we gotta put stuff (software) in LINUX

i am currently using SUSE
 
Old 02-26-2005, 02:55 PM   #5
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
You put it everywhere you wish. But there are common locations: for applications installed by you the executables should go to /usr/local/bin. Now, the rule doesn't usually apply to big apps you want to have in one piece as Firefox or OpenOffice. They're also installed in /usr/local usually, but in directories like /usr/local/firefox or /usr/local/OpenOffice.

The thing with standard directories is that only those in PATH variable are searched for executables when only file name is given. PATH usually has /bin, /sbin (system files), /usr/bin, /usr/sbin (applications installed with system), /usr/X11/bin (X applications - some of them), /usr/local/bin.

When you install a program into one of the directories above you don't need to do anything - you can use its name as command.

If you have your app somewhere else you need to modify PATH. In fact, it's not always needed. For example if you don't want to run the app from command line and only use it from menu or as a shortcut, you can type the whole name once when creating the menu entry and forget about it.

But, if you want to change PATH, use the following command from the command line
export PATH=$PATH:/your/new/directory
It appends new dir to the end of PATH (they're searched in order).

This command will only work in the terminal you run it and will be lost after you close it or reboot. So, to make the change permanent, add the command to /etc/profiles (at the end of file).
 
Old 02-26-2005, 03:29 PM   #6
The Stranger
Member
 
Registered: Feb 2005
Location: Canada
Distribution: SUSE 9.3 now using Ubuntu 14.04
Posts: 62

Original Poster
Rep: Reputation: 15
Mara,

Thaks for the information! Firefox is now up and running on a regular user account. I guess I just had to reboot the system for things to take effect (blushes). I am so used to the WIndows way of installing and running right away that it never donned on me to reboot and see what happens.

Your help concerning the PATH information was greatly appreciated. ALthough still a little over my head, I think that I can work out what you have said.

Thanks for the help!!

Regards
-TS-
 
  


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
Firefox won't run, suse 9.3 Asellus Linux - Software 15 11-06-2005 06:50 PM
Firefox in SuSE anticuchos SUSE / openSUSE 4 09-17-2005 09:31 PM
Installing Firefox with SuSe 9.1 cwolf78 Linux - Software 3 04-20-2005 12:02 AM
Firefox for SUSE 9.2 MarisO Linux - Software 2 02-01-2005 12:58 PM
firefox 0.9.3 in suse 9.1 danreed007 Linux - Distributions 4 08-15-2004 10:12 PM


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