LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 10-25-2006, 02:04 AM   #1
websyndicate
LQ Newbie
 
Registered: Oct 2006
Posts: 6

Rep: Reputation: 0
Installing Firefox 2.0 for suse noob


Hey guy Im a real noob when it comes to installing apps on Suse 10.1 I have tried all night but now I want to bed but I want to put it out there so maybe someone can help me. Now I have RC2 that I installed by using someones code on another forum. I have downloaded the most recent firefox but I just cant figure out how to install. I can run firefox from the extracted folder but when I close it and click on the icon its back to RC2. Please let me know what Im doing wrong or what I can do. I know some stuff is done is yast but Im still lost. Thanks a lot


CODE
#!/bin/bash
echo "Updating repositories list
"
sudo apt-get update
echo "
Making sure libstdc++5 and the old Firefox are installed
"
sudo apt-get -y install firefox libstdc++5
echo "
Backing up old Firefox preferences
"
cp -R ~/.mozilla ~/.mozilla_backup
echo "
Changing to home directory
"
cd
echo "
Downloading Firefox from the Mozilla site
"
# beta 2

wget -c ftp://ftp.mozilla.org/pub/mozilla.or...x-2.0b2.tar.gz

# nightly
#wget -c ftp:/ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla1.8-l10n/firefox-2.0.en-GB.linux-i686.tar.gz

echo "
Unzipping the .tar.gz file
"
sudo tar -C /usr/lib -x -z -v -f firefox-2.0b2.tar.gz
echo "
Removing the unzipped .tar.gz
"
rm firefox-2.0b2.tar.gz

echo "
The new Firefox is installed."
 
Old 10-25-2006, 03:05 AM   #2
ebasi
Member
 
Registered: Jul 2004
Distribution: Slackware 13.0
Posts: 51

Rep: Reputation: 15
You can check which executable is running when toy click on the icon.
Code:
which firefox
Probably the file which the icon run is pointed to the firefox executable from your old installation. In this case you had to change path to executable in icon properties, or change the executable file.

To change the executable file:
We assume that you extract your new firefox in /usr/src/firefox/
The command
Code:
which firefox
will show you where is your "old" executable. Go in this dir and change the name of the file
Code:
mv firefox firefox.old
and create a new link, pointed to your new firefox executable
Code:
ln -s /usr/src/firefox/firefox .
Thats it. Now you can click on the firefox icon.

# edit
Excuse my English...

Last edited by ebasi; 10-25-2006 at 03:09 AM.
 
Old 10-25-2006, 04:48 AM   #3
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
Welcome to LQ!

To install Firefox 2, just download the tarball from mozilla.com. Extract the tarball somewhere, and you should get a directory called "firefox". Login as root (using su) and move the "firefox" directory to /usr/local:
Code:
mv firefox /usr/local
Now delete the file /usr/bin/firefox, and recreate the link:
Code:
ln -s /usr/local/firefox/firefox /usr/bin
You desktop shortcuts probably refer to /usr/bin/firefox, so now they should open the new version.

I hope this helps
--Ian
 
Old 10-25-2006, 05:43 PM   #4
websyndicate
LQ Newbie
 
Registered: Oct 2006
Posts: 6

Original Poster
Rep: Reputation: 0
I dont know where to find tarball. can you provide me a link.
 
Old 10-25-2006, 06:07 PM   #5
websyndicate
LQ Newbie
 
Registered: Oct 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ebasi
You can check which executable is running when toy click on the icon.
Code:
which firefox
Probably the file which the icon run is pointed to the firefox executable from your old installation. In this case you had to change path to executable in icon properties, or change the executable file.

To change the executable file:
We assume that you extract your new firefox in /usr/src/firefox/
The command
Code:
which firefox
will show you where is your "old" executable. Go in this dir and change the name of the file
Code:
mv firefox firefox.old
and create a new link, pointed to your new firefox executable
Code:
ln -s /usr/src/firefox/firefox .
Thats it. Now you can click on the firefox icon.

# edit
Excuse my English...
When I try to extract it to that location I dont have enough permission it says. how do I get permission
 
Old 10-25-2006, 06:12 PM   #6
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,884
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
You have to be root to move the file.

You can dowload Firefox 2.0 from http://www.mozilla.com/en-US/firefox/all.html
 
Old 10-25-2006, 08:02 PM   #7
websyndicate
LQ Newbie
 
Registered: Oct 2006
Posts: 6

Original Poster
Rep: Reputation: 0
ihow do I get into root. I know how to in the terminal but when moving file how. Im the only user account
 
Old 10-26-2006, 01:48 AM   #8
ebasi
Member
 
Registered: Jul 2004
Distribution: Slackware 13.0
Posts: 51

Rep: Reputation: 15
just run in terminal
Code:
su
mv file file.old
 
Old 10-29-2006, 02:13 PM   #9
R4ms3s
Member
 
Registered: Sep 2006
Distribution: SuSE 10
Posts: 30

Rep: Reputation: 15
Quote:
Originally Posted by IBall
Welcome to LQ!

To install Firefox 2, just download the tarball from mozilla.com. Extract the tarball somewhere, and you should get a directory called "firefox". Login as root (using su) and move the "firefox" directory to /usr/local:
Code:
mv firefox /usr/local
Now delete the file /usr/bin/firefox, and recreate the link:
Code:
ln -s /usr/local/firefox/firefox /usr/bin
You desktop shortcuts probably refer to /usr/bin/firefox, so now they should open the new version.

I hope this helps
--Ian
Dude I did everything you said to do. I was having the same problem. Now all I can get to is the tarball and I can't find firefox ANYWHERE! never mind getting it to work.

Please help
 
Old 10-29-2006, 02:37 PM   #10
FreeDoughnut
Member
 
Registered: Jun 2006
Distribution: Slackware 10.2, Debian Testing/Unstable, Ubuntu Breezy Badger, working on LFS
Posts: 228

Rep: Reputation: 30
Did you extract the tarball?
 
Old 10-29-2006, 03:00 PM   #11
R4ms3s
Member
 
Registered: Sep 2006
Distribution: SuSE 10
Posts: 30

Rep: Reputation: 15
yes
I found the tarball now, it was in home/bin

now all my old firefoxes were in /opt I can't get firefox into it

maybe I will try to extract it again
 
Old 10-29-2006, 03:01 PM   #12
R4ms3s
Member
 
Registered: Sep 2006
Distribution: SuSE 10
Posts: 30

Rep: Reputation: 15
i get this message when trying to extract

Extraction not performed

You don't have the right permissions to extract archives in the folder "/
 
Old 10-29-2006, 03:05 PM   #13
FreeDoughnut
Member
 
Registered: Jun 2006
Distribution: Slackware 10.2, Debian Testing/Unstable, Ubuntu Breezy Badger, working on LFS
Posts: 228

Rep: Reputation: 30
"You have to be root"
 
Old 10-29-2006, 03:09 PM   #14
R4ms3s
Member
 
Registered: Sep 2006
Distribution: SuSE 10
Posts: 30

Rep: Reputation: 15
D'oh I forgot. I was in the wrong terminal. Okay Am now in the root terminal and now I have Firefox in my /opt dir I still can not get it to work.
 
Old 10-29-2006, 04:53 PM   #15
R4ms3s
Member
 
Registered: Sep 2006
Distribution: SuSE 10
Posts: 30

Rep: Reputation: 15
Wtf Now Amarok will not play it says Error with PATH try running in terminal.

I tried to reboot, now I come up to my login page( Which never comes up) and my login is incorrect WTF

this is pissing me off I am not liking Linux very much
 
  


Reply



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
Installing Firefox 1.5 in SUSE 9.1 IndianaTux SUSE / openSUSE 5 04-08-2007 07:17 PM
Firefox extensions not installing in Suse 10.0? Black Dahlia Linux - Newbie 7 06-08-2006 06:08 AM
Installing FireFox in Suse 9.1 Delpheno Linux - Software 2 10-23-2005 11:05 AM
Installing Firefox with SuSe 9.1 cwolf78 Linux - Software 3 04-19-2005 11:02 PM
installing mozilla firefox in SuSE lmellen Linux - Newbie 9 02-26-2004 11:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:15 AM.

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
Open Source Consulting | Domain Registration