Linux-Noob Forums

Full Version: How do I install Firefox?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4

I have FireFox-3.0-0.60.beta5. I downloaded FireFox-9.0.1, for Linux, from Mozilla's site.

How do I upgrade my FireFox?

 

Thanks in advance,

 

Bakshara

I am on Linux Fedora 9.


I think you might have to install from source on fedora, cuz Don't know if you can update it in fedora. You try to: yum update firefox in terminal. If that doesn't work you can do the following. Might be smart to remove the installation version first Go to terminal.

 

1. yum install kernel-devel

2. yum groupinstall "Development Tools"

3. tar -zxvf firefox.tar.gz

4. cd into folder

5 ./configure if you can get any errors here it'll tell you what you are missing in order to ./configure it correctly

6. make build the source

7. make install make an install from the source. for an rpm


Ok here is what I did:

I went into the terminal.

su -

<my password>

yum update firefox

It responed:

Loaded plugins: refresh-packagekit

updates | 2.6 kB 00:00

adobe-linux-x86_64 | 951 B 00:00

fedora | 2.4 kB 00:00

Setting up Update Process

Could not find update match for firefox

No Packages marked for Update

 

yum install kernel-devel

Loaded plugins: refresh-packagekit

Setting up Install Process

Parsing package install arguments

Resolving Dependencies

--> Running transaction check

---> Package kernel-devel.x86_64 0:2.6.25-14.fc9 set to be installed

--> Finished Dependency Resolution

 

Dependencies Resolved

...(about a page of data)...

Transaction Test Succeeded

Running Transaction

Installing: kernel-devel ######################### [1/1]

 

Installed: kernel-devel.x86_64 0:2.6.25-14.fc9

 

yum groupinstall "Development Tools"

Loaded plugins: refresh-packagekit

Setting up Group Process

Package 1:make-3.81-12.fc9.x86_64 already installed and latest version

...(six pages of data)...

Dependency Installed: elfutils-libs.x86_64 0:0.133-3.fc9 glibc-devel.x86_64 0:2.8-3 glibc-headers.x86_64 0:2.8-3 imake.x86_64 0:1.0.2-6.fc9 kernel-headers.x86_64 0:2.6.25-14.fc9 libgfortran.x86_64 0:4.3.0-8 libstdc++-devel.x86_64 0:4.3.0-8 perl-URI.noarch 0:1.35-8.fc9 qt3.x86_64 0:3.3.8b-12.fc9 systemtap-runtime.x86_64 0:0.6.2-1.fc9

Complete!

 

Now instead of tar -zxvf firefox.tar.gz I did tar -zxvf firefox-9.0.1.tar.bz2, because that is that is the one I downloaded.

 

tar -zxvf firefox-9.0.1.tar.bz2

That returned:

tar: firefox-9.0.1.tar.bz2: Cannot open: No such file or directory

tar: Error is not recoverable: exiting now

tar: Child returned status 2

tar: Error exit delayed from previous errors

So I did: tar -zxvf firefox.tar.gz and it gave the same response.

 

I did cd /home/Bakshara/Download and then tried tar -zxvf firefox-9.0.1.tar.bz2 again.

 

That returned:

gzip: stdin: not in gzip format

tar: Child returned status 1

tar: Error exit delayed from previous errors

 

So I did: tar -zxvf firefox.tar.gz and it gave

 

tar: firefox.tar.gz: Cannot open: No such file or directory

tar: Error is not recoverable: exiting now

tar: Child returned status 2

tar: Error exit delayed from previous errors

 

I stopped there.

 

Bakshara


If you have downloaded a .tar.bz2 file, you need to run tar with -jxvf.

 

Note that it is j, not z. The -j switch is to extract the file with BZip2, the -z switch is for Gzip. So if you've downloaded a tar.bz2, you use j, and if it is a .tar.gz, you use -z.

 



Code:
tar -jxvf firefox-9.0.1.tar.bz2




 

(However, you might want to download again -- Firefox has gone to version 10.0 recently).


The other issue you might run into here is that if you haven't actually download a copy of the Firefox source specifically, you will have their generic Linux binary.

 

That means the installation/usage will be a little different to how feedmebits described it. (His instructions are great for many different scenarios, but Firefox on Linux from Mozilla's standard download pages is packaged a little differently!)

 

1. Download the .tar.bz2 for Firefox 10.0

 

2. Extract it:

 



Code:
cd /home/Bakshara/Download
tar -jxvf firefox-10.0.tar.bz2




 

Now, you have a folder called firefox in your downloads directory.

 

3. Run it:

 



Code:
/home/Bakshara/Download/firefox/firefox




 

Once you get it working, you might want to have a look at moving it to a different folder, like /opt, so it is available to all users.


Here is what I did. I went to Mozilla's site and downloaded FireFox-10.

[root@localhost Download]# tar -jxvf firefox-10.0.tar.bz2

firefox/

firefox/mozilla-xremote-client

...(a whole lot of stuff!)...

firefox/libnss3.so

firefox/crashreporter

[root@localhost Download]#

 

Then I did this:

[root@localhost Download]# /home/Bakshara/Download/firefox/firefox

XPCOMGlueLoad error for file /home/Bakshara/Download/firefox/libxpcom.so:

libxul.so: cannot open shared object file: No such file or directory

Couldn't load XPCOM.

[root@localhost Download]# firefox/firefox

XPCOMGlueLoad error for file /home/Bakshara/Download/firefox/libxpcom.so:

libxul.so: cannot open shared object file: No such file or directory

Couldn't load XPCOM.

[root@localhost Download]# /firefox/firefox

-bash: /firefox/firefox: No such file or directory

[root@localhost Download]#


Hmm, OK.

 

Try:

 



Code:
/home/Bakshara/Download/firefox/run-mozilla.sh





Ok, here is what I did:

Code:
[root@localhost ~]# /home/Bakshara/Download/firefox/run-mozilla.sh

run-mozilla.sh: Cannot execute .
[root@localhost /]# cd /home/Bakshara/Download/firefox
[root@localhost firefox]# run-mozilla.sh
-bash: run-mozilla.sh: command not found
[root@localhost firefox]#





btw you can do this as normal user so:

 

try: [username@localhost~ ]$ /home/Bakshara/Download/firefox/./run-mozilla.sh

 

or try

 

[username@localhost~ ]$ cd /home/Bakshara/Download/firefox/

 

then

 

./run-mozilla.sh

 

 

since the run file is a shell script you have to run it with ./


You'll probably need to give the file execute permission first:



Code:
chmod u+x /home/Bakshara/Download/firefox/run-mozilla.sh




Pages: 1 2 3 4