Firefox installer: a script to install Firefox on Debian.

New_Firefox_Logo

Good afternoon, everyone.

These last few days I have been working on a script for facilitate (or automate) the installation of Firefox on Debian. I personally prefer to use Firefox than any other, and, as many know, it is not in the repositories of Debian, and, personally, I find it a bit ... tiring manual installation. Therefore I decided to create this script, to save some time and make the installation a little more comfortable. At the moment the script is in Spanish and English, and can install 32-bit and 64-bit versions of Firefox, in Spanish, English, French, Italian and German (although I hope to support more languages ​​in the future).

I am not going to explain the process, because I see it a bit unnecessary (you can see how the script is done without any problem). Anyone who wants to modify the script can do so (in case of finding errors or adding improvements, I would appreciate if you could send them to me 😀) since it is published under Public Domain.

To those who want to try it, I recommend my following questions:

Does auto-detection of language and architecture work? (On my PC 64 in Spanish it worked)

Does it create a launcher in the menu? (in Mate y Cinnamon has worked correctly)

I hope it is useful to you. Any questions, complaints or suggestions can be left in the comments, or send it to my email.

Download Firefox installer from GitHub

Greetings.


The content of the article adheres to our principles of editorial ethics. To report an error click here!.

30 comments, leave yours

Leave a Comment

Your email address will not be published.

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   kennatj said

    When I get home I try it, although I am very comfortable with Iceweasel 20 from my CrunchBang.

    1.    Zironid said

      Thank you

  2.   eliotime3000 said

    Let's see if I dare to put it in a .deb package and install it in the same way that the flash player is installed in Debian (that is, through a small and powerful script).

    At the moment I use Firefox nothing more and nothing less than Slackware, since with Debian I have felt quite comfortable with my Iceweasel that is on par with Firefox (using the mozilla.debian.net backport, of course) and the truth is I hope they include it in the testing or stable branch so as not to have to use the manual installation of Firefox (for me, that procedure is too cumbersome, but with Iceweasel I have one less concern with sending data to Mozilla to «optimize the navigator ').

  3.   soymicmic said

    : )

    Look how good, you have synthesized in a script the steps that I do manually… hehehehehe Thanks

    Possible optimization of the script (code): when making the wget you could take the echo and the sleep out of the case to save lines and since you have the language and architecture variable you could take advantage of the paragraphs where you mount them to build another variable that you give the file path, for example: ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/latest/linux-$XXX/$YYY/firefox-*.tar.bz2

    Thanks again for the script!

    1.    Zironid said

      Hola!

      At the moment I'm working on optimization, so your grip falls off perfectly.

      Greetings.

      1.    Oscar said

        optimization
        suggestions
        😉

        1.    Zironid said

          God sh ... What a shame. Thank you!

          1.    Zironid said

            *Own

  4.   kike said

    The script is fine, but ... you could say it's generic and not just for Debian, which is better.

    1.    Zironid said

      We just tested it in ElementaryOs and it works, but we say it is for Debian since Firefox is in the repostitories of many distros, so the script is not necessary.

    2.    jm said

      It depends ... I don't think it's generic since Fedora doesn't include wget by default (you have to install it later) and it would be optional to add the mozilla-filesystem package so you can search for plugins. I think you could replace wget with "curl (address) >> firefox.tar.bz2"

      1.    jm said

        ps: opera next (my useragent) seems not to appear yet) 😛 greetings!

      2.    kike said

        You do not have to be so fussy, although you must install wget is a simple package that after installing it, the script already works, a source code for example is generic, it can be compiled in any distro and sometimes many dependencies must be installed, one one thing does not take away the other.

        PS: I didn't know that Fedora didn't include wget by default, that's unforgivable!

  5.   colomboleander said

    Also what can be done is to add the LMDE (Linux Mint Debian Edition) repositories, uninstall Iceweasel on your Debian and reinstall Firefox using the new repositories.
    It's the easiest option I've come across since LMDE came out, which by the way is a great option if you're used to working with Debian and want the kindness of Ubuntu. 😉

    Here is the link where you can see the LMDE repos: http://packages.linuxmint.com/list.php?release=Debian
    In the Import branch they have the Firefox packages.

    The script is also very good, because if those repos ever crash, you always have the option to use it 😛
    Excellent contribution!

    Regards!

  6.   Daniel Rivero-Padilla said

    How are you!

    The script is cool, I just tried it in debian with gnome shell and it installs perfect, but I have a problem, firefox does not open, it does open, but only when I do it as root from the terminal, when I try to use the launcher it sends me the message: 'Firefox is already running, but not responding. To open a new window, you must first close the Firefox process, or restart your system. ", If I open it from the terminal as a normal user it tells me this several times:" (firefox: 3790): Gtk-WARNING **: Impossible to find the theme engine in the path to the _module: «pixmap», »in addition to opening the window with the message that I put before. Also when I run it as root it gives me the message "Gtk-WARNING ..." but it also shows me this other: "(firefox: 3655): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
    Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. » but then it opens firefox for me, and when it opens firefox it shows me another window in which it says this: «An error occurred while loading or saving firefox configuration information. Some of your configuration settings may not work properly. ».
    I use SparkyLinux (it is debian testing with lxde and other fancys things) but I installed as a Gnome desktop that I have liked so far, I don't know if the problem is due to the script, Firefox or other packages that I have on the system but I would appreciate that you will help me with this.

    Thanks in advance for everything 🙂

    1.    Zironid said

      If you have Iceweasel open, it won't let you open Firefox, since they don't run at the same time. Regarding pixmap, it would be necessary for you to check if the / usr / share / pixmaps folder exists.

      1.    Daniel Rivero-Padilla said

        I got a re against facepalm when closing IceWeasel and opening Firefox, but thanks. One more question, IceWeasel was updated when I updated the repositories, but if Firefox is not installed that way, it still updates automatically? Because in Windows I only have to open "help"> "about ..." for it to update.

        Sorry if the questions are very noobsters but I still don't handle GNU / Linux very well.

        1.    Zironid said

          Do not worry. I don't know if Firefox updates from the help menu, maybe if you run it as root if you can do it, but as a normal user I don't think it can since it is installed in folders outside the user's home. I guess the script will update it as well.

          Greetings.

        2.    cookie said

          With the script, the current version would be deleted and the newer version installed.
          If you run Firefox as root you can update it as you did in Windows (it's how I do it)

          1.    Zironid said

            Thank you very much for the information!!! 😀

  7.   TheGuillox said

    Some time ago when I was in debian I used the repositories of solus os to install firefox, it was easier that way 😛

    1.    eliotime3000 said

      Although Iceweasel itself is Firefox but optimized for performance and unmatched robustness that you would not experience in other forks.

      1.    Daniel Rivero-Padilla said

        You're right, but that applies when you don't use many plugins since in my case I always have to restart the res, duckduckgo and collusion plugins, which is somewhat annoying every time you open the browser, instead they work great in firefox, to to me that is the biggest reason why I installed it and use it.

        1.    eliotime3000 said

          They should polish those details about compatibility, but in my case, I use almost no plugins so as not to saturate the browser.

  8.   camilo said

    firefox in free browser?

    1.    eliotime3000 said

      Technically, it is not, since its name and logo is a registered trademark. That's why forks like Iceweasel came from there.

      1.    Zironid said

        If I'm wrong, Iceweasel came out because Firefox's life cycle was very short, and Debian needed it longer, to make it more stable, and by modifying Firefox to suit their needs and keeping the same name, they got into legal trouble with Mozilla (which, from my point of view, is a bit unfair).

        Regarding the fact that it is not free because it has the logo and the registered name, it does not seem very correct, since, like the Debian project (if I'm not wrong), they protect their name and logo so that another person can reach say they are them and damage the image of the organization.

        1.    elav said

          Hmm, well I've always known it's because of the Firefox name and logo. Although the Iceweasel thing makes sense, that is, the support.

  9.   Jose Luis can mtz said

    My biggest congratulations, your program was very helpful, thank you, I hope to keep in contact with you.
    PS I am a student of Computer Systems Engineering and I would like to have your advice

  10.   tony said

    Excellent served me a lot! God bless you!

bool (true)