SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
2017-11-16 20:59:31 (4.19 MB/s) - '/tmp/repackage-mozilla-firefox/src/firefox-57.0.tar.bz2' saved [56208579/56208579]
cp: cannot stat '../src/latest-firefox.sh': No such file or directory
What is wrong?
Not sure, though I see from later replies that you produced a working package in the end. If you (or others) have issues in the future, run the script like this
Code:
bash -x latest-firefox.sh 2>&1 | tee latest-firefox.log
This will produce a log file (latest-firefox.log) that you could post here (or somewhere like pastebin.com) and either I or someone else might be able to see what went wrong. If you do post here, I would strongly encourage you to edit the log file first to cut out the 1040+ lines of output from wget as it downloads Firefox (or pre-download Firefox and place it in the directory where you run the script, so that it does not have to download).
Here is an example of a log from a successful repackage
OK, Thanks.
BTW, I changed the locale just now, but then it complains
Code:
Could not work out the latest version; exiting
I downloaded your tweaked version of the script. Two things:
You do not need to edit the script to set the language (in fact, it is better not to)
The language you selected ('nl-NL') was not valid, hence the error
These languages are not the same as language/locale codes in Slackware. It is Firefox's own list of supported languages and you must use their naming scheme. You can choose between any of the following: ach, af, ak, ar, as, ast, be, bg, bn-BD, bn-IN, br, bs, ca, cs, csb, cy, da, de, el, en-GB, en-US, en-ZA, eo, es-AR, es-CL, es-ES, es-MX, et, eu, fa, ff, fi, fr, fy-NL, ga-IE, gd, gl, gu-IN, he, hi-IN, hr, hu, hy-AM, id, is, it, ja, kk, km, kn, ko, ku, lg, lij, lt, lv, mai, mk, ml, mr, nb-NO, nl, nn-NO, nso, or, pa-IN, pl, pt-BR, pt-PT, rm, ro, ru, si, sk, sl, son, sq, sr, sv-SE, ta-LK, ta, te, th, tr, uk, vi, xpi, zh-CN, zh-TW, zu
To select Netherlands Dutch, you therefore want simply 'nl' and you can select it on the fly like this:
Code:
$ FFLANG=nl bash latest-firefox.sh
Or better yet, set this variable (FFLANG) in a suitable location (like your ~/.bashrc) and you will never have to manually define it again. This is better than editing the script because if in the future there is a new/updated version of the script it will just work, without the need to edit the new version.
Last edited by ruario; 11-17-2017 at 02:56 AM.
Reason: spelling
I am trying Firefox 57 using the latest-firefox.sh script too. It's very fast! Thanks for the script, ruario.
I wrote this script originally to satisfy my own itch (having new versions of Firefox readily available to do comparitive tests against Opera) and posted on the forums almost on a whim. I am somewhat amazed at how many people seem to use it, that it continues to work with very little maintenance and that I am now probably best known on these forums for this script rather than my more direct work on Opera and Vivaldi.
I do use ruario's script and find it very useful. Only issue that I have are with Mozilla and their ever changing manner in which the extensions are handled.
Just tried ruario's script, it works great. Also the new Firefox is a massive improvement in terms of performance on my machine. I'm generally lazy and prefer to just use what Slackware ships with, but for me this was worth moving on from ESR. The only problem is the lack of replacements for certain extensions, but I suppose these will come with time.
I wrote this script originally to satisfy my own itch (having new versions of Firefox readily available to do comparitive tests against Opera) and posted on the forums almost on a whim. I am somewhat amazed at how many people seem to use it, that it continues to work with very little maintenance and that I am now probably best known on these forums for this script rather than my more direct work on Opera and Vivaldi.
If it makes you feel any better, I think of you primarily as a Vivaldi developer.
The new container tabs are a nice touch for people that need to log into the same service under different identities. There's no longer any need to run two browsers for that purpose
I just updated Firefox on my Android up to version 57.0, and it's also much faster. I wonder if it's sharing the same fancy new Rust programming language or if they are doing something else. I previously used other browsers on mobile that were much faster than (old) Firefox and Chrome, but they sometimes had problems loading pages or content.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.