LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do I get/install the Firefox package (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-get-install-the-firefox-package-4175489611/)

rfresh 12-30-2013 01:33 PM

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...

psimon 12-30-2013 01: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.

---------- 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.

rfresh 12-30-2013 02:17 PM

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...

rfresh 12-30-2013 02:28 PM

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?

rfresh 12-30-2013 02:54 PM

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

xenodamus 12-30-2013 03:55 PM

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.

rfresh 12-30-2013 04:11 PM

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.

John VV 12-30-2013 04:31 PM

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

rfresh 12-30-2013 05:42 PM

>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.

John VV 12-30-2013 07:25 PM

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

psimon 12-31-2013 06:15 PM

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"

John VV 12-31-2013 06:17 PM

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

there is NO gui to use firefox with

psimon 12-31-2013 06:19 PM

So why would he want Firefox anyway?

psimon 12-31-2013 06:21 PM

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.


All times are GMT -5. The time now is 06:57 PM.