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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-25-2005, 02:29 PM
|
#1
|
Member
Registered: Feb 2005
Location: Canada
Distribution: SUSE 9.3 now using Ubuntu 14.04
Posts: 62
Rep:
|
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-
|
|
|
02-25-2005, 04:11 PM
|
#2
|
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696
|
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?
|
|
|
02-25-2005, 08:53 PM
|
#3
|
Member
Registered: Feb 2005
Location: Canada
Distribution: SUSE 9.3 now using Ubuntu 14.04
Posts: 62
Original Poster
Rep:
|
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-
|
|
|
02-26-2005, 08:28 AM
|
#4
|
Senior Member
Registered: Feb 2005
Distribution: Cent OS 6.4
Posts: 1,163
Rep:
|
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
|
|
|
02-26-2005, 01:55 PM
|
#5
|
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696
|
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).
|
|
|
02-26-2005, 02:29 PM
|
#6
|
Member
Registered: Feb 2005
Location: Canada
Distribution: SUSE 9.3 now using Ubuntu 14.04
Posts: 62
Original Poster
Rep:
|
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-
|
|
|
All times are GMT -5. The time now is 01:25 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|