Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
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.
I'm learning to my RHCE and one of my final project in college is to be able to install two version of Firefox to be available to all user.
I download the new version and extract the file to a new directory in /usr/bin
I need to change the new Firefox to Firefox2 and create a hard link to it or soft link not sure at the moment.
BTW here is how my instructor ask the question:
Download and install Firefox from server .....Firefox2 should be available to all user in the system by simply typing firefox2 (Don't remove the default one we want users to have the option of either using the default firefox or firefox2)
You only need to call the link "firefox2" and make sure the link is in all users path.
However, it will probably be useful for admin if you also rename the executable - especially since you seem to have put the executable itself in the path.
Your tutor does not say that you expect firefox2 to use different user configuration - so don't: but you may want to mention the possibility. Relate it to possible reasons why you would want to give users access to different firefoxes in the first place.
Get firefox from web. Then take firefox-version.tar.bz2 and mv firefox-version.tar.bz2 /usr/lib, next tar -xvvjf firefox-version.tar.bz2, and last ln -s /usr/lib/firefox/firefox /usr/bin/firefox2.
It's working however the terminal can't be close, when I close the terminal the software get shutdown.
Maybe the link need to be change to a hard link?
When you run something from a terminal, it becomes part of the terminal session. Thus, when you exit the terminal, the program is sent a hangup signal, so it also exits. Launching the program to ignore the terminal hangup is outside your brief for your assignment.
<whisper>
man nohup
</whisper>
(Will this run both firefoxes side by side? I don't think you need that for your assignment, but it is a test you should try.)
Last edited by Simon Bridge; 02-27-2010 at 09:22 AM.
It's working however the terminal can't be close, when I close the terminal the software get shutdown.
Maybe the link need to be change to a hard link?
This is just normal behavior. All programs will close if you close the terminal that launched it.
The kind of direct assistance you got off orwell1984 is normally frowned upon in these forums: when it comes to homework and such stuff, we are supposed to sort-of point you in the direction of a useful approach rather than spell out the steps you need to take. The idea is that you learn best through your own efforts, but if you got no assistance at all you'd never get anywhere.
As an educator:
You look like you have been struggling with understanding the main concepts of your subject (what links do, how you read man pages, what happens when you exit a terminal, etc.) and how they relate to each other. I can only suggest that you read around your subject instead of concentrating on the specific answers you are required to submit. That way, your performance will derive from your understanding and you'll have a more valuable qualification.
Didn't realize I wasn't supposed to post information like that. For that I will apologize. But I must say I am not going to hide information from people when there is a direct solution. Also I didn't give away any secret a google search couldn't have revealed. I was just trying to spread the knowledge. If jettwa2001 wants to act on it and gain real knowledge on the subject isn't that jettwa2001's business? I am not trying to start an argument, just trying to plead my case.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.