Linux - SoftwareThis 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
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.
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.
1) I installed firefox in root, does it means all my users will be able to use firefox?
2) By default, the directory firefox prompt me to install to is /root/firefox-installer, is it correct? ( I downloaded, extract and install from the directory /root/firefox-installer )
So now its like the setup files and installation files are in the same directory. By right, where should firefox be installed to?
3) After installing firefox, it did not appear in the menu, is there any other way to access it?
4) How do I uninstall some of the unnecessary programs thats installed during the installing of Linux? (e.g. those under development tools)
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088
Rep:
1) I don't think so, as only root should be able to access /root. I suggest installing Firefox to /usr/local/firefox or /opt/firefox.
2) See above. I think you possibly downloaded the installer file to /root, so it unzipped it to /root/firefox-installed.
3) Create a symbolic link in /usr/bin.
Code:
ln -s /usr/local/firefox/firefox /usr/bin
You can also create a launcher in the menu or on the deskotp. The command to execute is simply "firefox" if you created a symbolic link.
4) What distro are you using? If it is redhat, use the Add/Remove Programs in the menu. You could also list the programs using the RPM utility. I think the commands are:
Code:
rpm -qa (to list installed programs) and
rpm -e progName (to remove the programs)
See "man rpm" for more information.
Other distros have different methods.
A note of caution about the development tools - these include gcc and make. If you remove them, you won't be able to install any programs from source.
Originally posted by IBall 1) I don't think so, as only root should be able to access /root. I suggest installing Firefox to /usr/local/firefox or /opt/firefox.
2) See above. I think you possibly downloaded the installer file to /root, so it unzipped it to /root/firefox-installed.
3) Create a symbolic link in /usr/bin.
Code:
ln -s /usr/local/firefox/firefox /usr/bin
You can also create a launcher in the menu or on the deskotp. The command to execute is simply "firefox" if you created a symbolic link.
4) What distro are you using? If it is redhat, use the Add/Remove Programs in the menu. You could also list the programs using the RPM utility. I think the commands are:
Code:
rpm -qa (to list installed programs) and
rpm -e progName (to remove the programs)
See "man rpm" for more information.
Other distros have different methods.
A note of caution about the development tools - these include gcc and make. If you remove them, you won't be able to install any programs from source.
I hope this helps
--Ian
1) So how do I uninstall the firefox that was installed to my root directory?
2) What difference is there if I were to install to /usr/local ? Available to all users?
3) Oh, those files inside /bin directory is actually commands which are executable by just typing the file name?
4) err... I'm using Slackware 9.1 currently.
5) Regarding the symbolic link, I've done that. But after typing firefox in console, how do I return to the prompt? Currently, after I've typed the command, firefox browser will come out but the command is still there. I need to ctrl+c to return to prompt, but my browser will close at the same time.
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088
Rep:
1) So how do I uninstall the firefox that was installed to my root directory?
Just delete the directory, using "rm -fr directoryName". This won't hurt anything, as it is all installed in one place and not scattered around like Windows
2) What difference is there if I were to install to /usr/local ? Available to all users?
Yes. You will however, still need to create a symbolic link, as /usr/local/firefox is not in users path.
3) Oh, those files inside /bin directory is actually commands which are executable by just typing the file name?
yep. /bin is for system commands like ls, rm .. /usr/bin is for user added commands, such as firefox.
5) Regarding the symbolic link, I've done that. But after typing firefox in console, how do I return to the prompt? Currently, after I've typed the command, firefox browser will come out but the command is still there. I need to ctrl+c to return to prompt, but my browser will close at the same time.
When you run a command type & at the end of the line. This send the job to the background and you will get a prompt back.
Code:
firefox &
.
If you didn't do this, press Ctrl-Z to send a job to the backround. This will make the window stop responding. Then type "jobs" to findout the job number, and "bg jobNumber" to send the job into the background.
Originally posted by IBall 3) Oh, those files inside /bin directory is actually commands which are executable by just typing the file name?
yep. /bin is for system commands like ls, rm .. /usr/bin is for user added commands, such as firefox.
How about /sbin and /usr/sbin? When do we use that?
Distribution: Mint 17.2 ,OpenSuse, Kali and Pepermint OS 6
Posts: 276
Rep:
I never had to install FireFox I just downloaded it extracted it to the /opt and then for every user I right clicked on the desktop -> create launcher (in slack) or creat launcher (suse)
where it says what command to run click browse goto /opt/firefox -> then just select the file called firefox then click apply and ok
Now there should be an Icon on your desktop and if you click on it firefox should start right up
Distribution: Mint 17.2 ,OpenSuse, Kali and Pepermint OS 6
Posts: 276
Rep:
I used opt like program files in windows...it just for optional programs that you install...mine has firefox, thunderbird, openoffice, Mplayer and a few others.
Last edited by LoungeLizard; 06-16-2004 at 01:39 PM.
Does anybody know what the Firefox installer actually does though? To remove Firefox that was installed with the firefox installer, is it still just a matter of deleting the firefox directory?
Originally posted by IBall
You should be able to make symbolic links to swriter, scalc,... just make sure that you also make a link to soffice as well in the same directory.
I hope this helps
--Ian
hmm... I have already symbolic link my firefox executable to /usr/bin. But when I try to access it with my user account, it could not load.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.