LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-30-2013, 02:33 PM   #1
rfresh
LQ Newbie
 
Registered: Dec 2013
Posts: 6

Rep: Reputation: Disabled
How do I get/install the Firefox package


I have CentOS installed on an AWS instance. Apparently, there is no Firefox package installed because Yum cannot find one.

So, I guess the first thing I need to do is copy the Firefox package but how do I do that?

I understand once the package is installed I can use yum install firefox

Thanks...
 
Old 12-30-2013, 02:58 PM   #2
psimon
LQ Newbie
 
Registered: Dec 2013
Distribution: Debian Stable
Posts: 19

Rep: Reputation: 2
Do you need to use the packaged version?
If not, then got to https://download.mozilla.org/?produc...nux&lang=en-US and get a copy of the tarball for yourself.

---------- Post added 12-30-13 at 08:58 PM ----------

Do you need to use the packaged version?
If not, then got to https://download.mozilla.org/?produc...nux&lang=en-US and get a copy of the tarball for yourself.
 
Old 12-30-2013, 03:17 PM   #3
rfresh
LQ Newbie
 
Registered: Dec 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
No, I don't need the package but I think for updates it would nice to just run yum firefox update.

I will download and install the .tar file per your suggestion.

Thanks...
 
Old 12-30-2013, 03:28 PM   #4
rfresh
LQ Newbie
 
Registered: Dec 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
I ran the command tar xjf firefox-26.0.tar.bz2 and it unzipped the files.

Which file do I run to do the actual install?
 
Old 12-30-2013, 03:54 PM   #5
rfresh
LQ Newbie
 
Registered: Dec 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
I found these instructions but when I run step 2 it says

-bash: firefox: command not found

1. Extract the contents of the downloaded file: tar xjf firefox-*.tar.bz2
2. To start Firefox, run the firefox script in the firefox folder: ~/firefox/firefox
 
Old 12-30-2013, 04:55 PM   #6
xenodamus
LQ Newbie
 
Registered: Dec 2013
Distribution: kubuntu
Posts: 4

Rep: Reputation: Disabled
Where is the firefox script actually located on your system? You need to either be in the directory when running the script, or specify the full path to it.

I'm a noob myself, by that tripped me up frequently at first.
 
Old 12-30-2013, 05:11 PM   #7
rfresh
LQ Newbie
 
Registered: Dec 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
I'm not sure. I'm pretty new at this myself. When I LS I see a firefox folder and can cd into it. Then LS shows another firefox but it doesn't run, I get a -bash: command not found error.
 
Old 12-30-2013, 05:31 PM   #8
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,245

Rep: Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527
firefox is already installed ,by default .
now seeing as CentOS 6.5 is a bit conservative it is going to be the LTS version
firefox 17.0.8

but you might have "iceweasel "installed depending on what Desktop manager you are using
It is a fork of firefox

if the default web browser was not installed , then how are you posting on this forum ?

try this
Code:
su -
yum search firefox 
------ or search for this ------
yum search web
you SHOULD SEE this in the output of the firefox search \
-- from my ScientificLinux 6.4 32 bit install --
Code:
firefox.i686
Mozilla-addblockpluse.noarch
Mozilla-https everywhere.noarch
Mozilla-noscript.noarch
nspluginwrapper.1686
mind you that firefox 26 tar ball
will REQUIRE that you MANUALLY !!!!!!!!! install plugins

while it is easy to do
you still have to do it

you might want to read through the CentOS wiki
http://wiki.centos.org/
and the tips and tricks like this one
http://wiki.centos.org/TipsAndTricks...or64BitFirefox


but for CentOS 6 all the documentation ( guides ) are the RedHat 6 guides
https://access.redhat.com/site/docum...erprise_Linux/



-----------------
Quote:
I ran the command tar xjf firefox-26.0.tar.bz2 and it unzipped the files.
WHY?????????????

this is a desktop install and it works the EXACT SAME AS MS WINDOWS!!!!!!!!!!!!!!!!!!!!!!!!!( mostly )
just double click on the archive ( THE EXACT SAME WAY AS ON MS WINDOWS ) and open the archive with the archive manager
or
r-click the archive ( THE EXACT SAME WAY AS ON MS WINDOWS ) and select to open the archive in the r-click menu "file-roller"

file-roller is the DEFAULT archive manager

Last edited by John VV; 12-30-2013 at 05:37 PM.
 
Old 12-30-2013, 06:42 PM   #9
rfresh
LQ Newbie
 
Registered: Dec 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
>if the default web browser was not installed , then how are you posting on this forum?
I'm using my Win7 machine.

su -
I have to get the password from our admin as I don't know what it is.

Currently when I do yum search firefox reports:

[ec2-user@ip-xxx-xx-x-xxx firefox]$ yum search firefox
Loaded plugins: priorities, update-motd, upgrade-helper
=============================== Matched: firefox ===============================
hunspell-si.noarch : Sinhala hunspell dictionaries
[ec2-user@ip-xxx-xx-x-xxx firefox]$

>WHY?????????????
>this is a desktop install and it works the EXACT SAME AS MS WINDOWS!!!!!!!!!!!!!!!!!!!!!!!!!( mostly )
>just double click on the archive

Why? because I am working at the cmd line. I was told the AWS EC instances do not come with a desktop. I am new to Linux. I have no idea how to get the desktop to run.

Last edited by rfresh; 12-30-2013 at 07:50 PM.
 
Old 12-30-2013, 08:25 PM   #10
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,245

Rep: Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527
Quote:

su -
I have to get the password from our admin as I don't know what it is.
then you do NOT install anything

you need root access to install firefox

now you can install the prebuilt 26 in your home folder
but getting the plugins to work might need root access

so
have your Administrator install ,the installed BY DEFAULT Firefox .

Quote:

[ec2-user@ip-xxx-xx-x-xxx firefox]$ yum search firefox
Loaded plugins: priorities, update-motd, upgrade-helper
=============================== Matched: firefox ===============================
hunspell-si.noarch : Sinhala hunspell dictionaries
[ec2-user@ip-xxx-xx-x-xxx firefox]$
then you have a very BIG problem

you are missing the needed ( and installed by default ) software repos

if you run
Code:
su -
--- the root password ---
yum repolist
you should have the
CentOS 6.5 BASE repo
updates repo
set to "enabled"
and maybe have ( elrepo , epel, or rpmforge )


Quote:
Why? because I am working at the cmd line. I was told the AWS EC instances do not come with a desktop.
then how the bleep do you plan to use a GUI program

if Xorg is NOT installed ,you can never use firefox
it will NEVER RUN with out the X window manager installed


CONTACT YOUR SYSTEM ADMINISTRATOR AND HAVE THEM INSTALL XORG GNOME2 AND FIREFOX
then watch as they laugh in your face about installing a GUI on a headless server
 
Old 12-31-2013, 07:15 PM   #11
psimon
LQ Newbie
 
Registered: Dec 2013
Distribution: Debian Stable
Posts: 19

Rep: Reputation: 2
If you don't have root access, you can install Firefox for personal use in your home folder. Just execute the following commands:
Code:
cd
wget https://download.mozilla.org/?product=firefox-26.0&os=linux&lang=en-US
tar -xvf firefox-26.0.tar.bz2
rm firefox-26.0.tar.bz2
Now you can launch Firefox with the following command:
Code:
~/firefox/firefox-bin
You can also make it easier to execute by adding the following line to your .bashrc file:
Code:
alias firefox="~/firefox/firefox-bin"
 
Old 12-31-2013, 07:17 PM   #12
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,245

Rep: Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527
psimon, but not on a headless AWS server that dose not have Xorg nor gnome installed

there is NO gui to use firefox with
 
Old 12-31-2013, 07:19 PM   #13
psimon
LQ Newbie
 
Registered: Dec 2013
Distribution: Debian Stable
Posts: 19

Rep: Reputation: 2
So why would he want Firefox anyway?
 
Old 12-31-2013, 07:21 PM   #14
psimon
LQ Newbie
 
Registered: Dec 2013
Distribution: Debian Stable
Posts: 19

Rep: Reputation: 2
Btw sorry, but the wget command won't work. Instead of it, just download it into your home folder. And if you're on a system with no GUI I don't see the point in using Ffox. You could use Links2, a CLI Web browser.
 
  


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: Firefox 9 Is 30% Faster Than Firefox 8 | Install Firefox 9 On Ubuntu 11.10 and Earlier Release LXer Syndicated Linux News 0 12-30-2011 04:50 PM
LXer: Firefox 8 is 20% Faster than Firefox 5, Install Firefox 8 in Ubuntu via PPA LXer Syndicated Linux News 0 07-21-2011 10:31 PM
What are the steps to build and install a Slackware package from a RPM package? sudeepkulkarni Slackware 6 04-25-2011 01:51 PM
how install firefox 3 wth src package rhel4 kashif2131971 Linux - Software 1 07-09-2009 04:07 PM
Does apt-get install <package> upgrade the package if it is already installed? davidas Debian 4 04-05-2004 07:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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