LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 02-27-2010, 01:05 AM   #1
jettwa2001
Member
 
Registered: Dec 2007
Posts: 51

Rep: Reputation: 15
Unhappy Extra browser installation by user


Hi guys,

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)

Thanks in advanced
 
Old 02-27-2010, 01:15 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
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.
 
Old 02-27-2010, 01:25 AM   #3
jettwa2001
Member
 
Registered: Dec 2007
Posts: 51

Original Poster
Rep: Reputation: 15
How do i call the link "firefox2" ?
I tried the two ways but I'm sure I'm missing something:

ln -sf firefox firefox2 and ln -sf firefox2 firefox
 
Old 02-27-2010, 02:59 AM   #4
orwell1984
LQ Newbie
 
Registered: Feb 2010
Posts: 8

Rep: Reputation: 1
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.
 
Old 02-27-2010, 07:28 AM   #5
jettwa2001
Member
 
Registered: Dec 2007
Posts: 51

Original Poster
Rep: Reputation: 15
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?
 
Old 02-27-2010, 09:02 AM   #6
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Understanding links.
http://linuxgazette.net/105/pitcher.html

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.
 
Old 02-27-2010, 09:07 AM   #7
ongte
Member
 
Registered: Jun 2009
Location: Penang, Malaysia
Distribution: Mageia, CentOS, Ubuntu
Posts: 468

Rep: Reputation: 72
Quote:
Originally Posted by jettwa2001 View Post
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.

Last edited by ongte; 02-27-2010 at 09:10 AM.
 
Old 02-27-2010, 09:20 AM   #8
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
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.
 
Old 02-27-2010, 09:25 AM   #9
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
Originally Posted by ongte View Post
This is just normal behavior. All programs will close if you close the terminal that launched it.
GUI programs will not exit if you tell them to ignore the hangup signal
 
Old 02-27-2010, 10:24 PM   #10
orwell1984
LQ Newbie
 
Registered: Feb 2010
Posts: 8

Rep: Reputation: 1
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.
 
  


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
LXer: Fedora's Extra Packages for Enterprise Linux the Extra Mile LXer Syndicated Linux News 0 06-20-2008 10:10 PM
mysql extra root user in linux mtdew3q Linux - General 4 05-08-2008 08:36 PM
Gaining regular user access to my extra hdb1 storage drive? dolphans1 Mandriva 6 01-25-2006 12:43 PM
mounting an extra partition during installation yeehi Linux - General 0 10-19-2004 03:58 AM
How can I make this extra partition user-accessable? enigma Z Linux - Hardware 2 09-05-2004 10:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

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