LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-05-2014, 02:00 PM   #1
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
My latest-$browser install scripts - Autoinstall?


Hi, a few people here use my latest-firefox or latest-chrome scripts. I originally wrote these for my own usage. I need to keep all my browsers up to date, as I do QA work for Opera and often need to do comparative testing. After some time it occurred to me to share these scripts with others.

I also have a latest-opera script but it probably isn't highly used these days due to the fact we have not released a stable update to Opera for Linux in quite some time. As we ramp up and get closer to a new release I have been thinking about redoing this one.

Prior to that I decided to work on something less Slackware specific. Currently we only have Debian packages for our new product, so I knocked up an install script that works on any distro. To simplify testing I added the ability to fetch the latest version of Opera (from or developer or beta streams). I also made it so that the script could be run as a cron job, only fetching and upgrading Opera if a new version available. I then place the script on all my test distro installs, knowing they will always be up to date.

Which lead me to think, what if I added an --install option to latest-firefox and latest-chrome scripts. When used this switch would install/upgrade the newly repackaged browser (if the script is run as root) by calling upgradepkg. This would in turn allow "latest-$browser --install" to be added as a cron job, ensuring you always have the latest browser.

What do people think? Would you find this handy or do you feel it would be over automated and you would prefer control and watch over the upgrade process? If most people aren't interested I may not bother, so I would appreciate your thoughts and feedback.
 
Old 11-05-2014, 02:07 PM   #2
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Original Poster
Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
By the way, I also have a script to fetch and update Pepper Flash (latest-pepper-flash) for users of Chromium based browsers (such as Opera). It doesn't make a package but instead dumps Flash into /opt/google/chrome/PepperFlash (one of the directories Opera looks). However, by exporting a value for the variable PPAPI_FLASH_INSTALL_DIR, you can set it to be installed somewhere else.

Last edited by ruario; 11-05-2014 at 02:08 PM. Reason: added link
 
2 members found this post helpful.
Old 11-05-2014, 02:09 PM   #3
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Quote:
Originally Posted by ruario View Post
I also have a latest-opera script but it probably isn't highly used these days due to the fact we have not released a stable update to Opera for Linux in quite some time.
I use Opera in a VM along with Konqueror, Firefox, Midori, Chrome, Chromium and some other browsers to test websites I develop for clients. Thanks for providing it.
 
2 members found this post helpful.
Old 11-05-2014, 02:47 PM   #4
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
It is simple enough to add and easy enough for a user to ignore if they don't want it. However, I would also request you add a single letter for those who like less typing with relations to command options. Maybe just a -i and an --install?
 
1 members found this post helpful.
Old 11-05-2014, 02:59 PM   #5
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Original Poster
Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Quote:
Originally Posted by bassmadrigal View Post
I would also request you add a single letter for those who like less typing with relations to command options. Maybe just a -i and an --install?
Yep, great minds think alike as I had already thought to add both. I already do this for the Opera script I mentioned previously.
 
4 members found this post helpful.
Old 11-05-2014, 03:48 PM   #6
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Original Poster
Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Quote:
Originally Posted by bassmadrigal View Post
It is simple enough to add and easy enough for a user to ignore if they don't want it.
You are right. It can be easily ignored and when I think more about it, its really simple.

So screw it, I just did it for both latest-firefox and latest-chrome.
 
Old 11-05-2014, 04:24 PM   #7
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Not exactly on topic but...

I assume that some people using the Slint installers/packages would be happy to easily get a localized version of Firefox (and also of Thunderbird) in their native language, that would replace the en_US version shipped in Slackware.

Replacing genuine Slackware packages by others is not in Slint's scope, but at least the Slint package could ship some stuff allowing the user to do that post-installation.

But what if a new version is proposed, and possibly mentioned in a message posted on the Slackware Security mailing list?

As using a Slint installer/installing a Slint package already installs some stuff in /usr/doc/slint-<version>-<date>, maybe we could also install there (or elsewhere if preferable) some stuff allowing the user to upgrade to the last (ESR or not) version that matches $LANG?

Ideally the configuration settings would be in a separate file to make them easier to change by a newbie (like e.g. slackpkg.conf).

Ruarí, I’d be very grateful if you could propose something...

Last edited by Didier Spaier; 11-05-2014 at 04:37 PM.
 
Old 11-07-2014, 09:43 AM   #8
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Original Poster
Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Quote:
Originally Posted by Didier Spaier View Post
Ruarí, I’d be very grateful if you could propose something...
It is probably me just having brain fade but I'm not sure what you are asking me. You want me to have my scripts read a config file? Or am I completely missing the point.

P.S. I put the scripts out there because I already made them (for myself). However once the feature set extends outside of something I would personally benefit from I doubt I would put the effort in. I don't want to actually promote Firefox, nor do I even use Thunderbird.
 
Old 11-07-2014, 09:51 AM   #9
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Quote:
Originally Posted by ruario View Post
[...] I'm not sure what you are asking me. You want me to have my scripts read a config file?
Yes that's what I meant.

Quote:
P.S. I put the scripts out there because I already made them (for myself). However once the feature set extends outside of something I would personally benefit from I doubt I would put the effort in. I don't want to actually promote Firefox, nor do I even use Thunderbird.
I understand that, and I admit that my request was out of laziness

So I'll try to build something myself, re-using at least part of what you've done if you don't mind.
 
Old 11-07-2014, 11:31 AM   #10
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Original Poster
Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Quote:
Originally Posted by Didier Spaier View Post
Yes that's what I meant.

I understand that, and I admit that my request was out of laziness

So I'll try to build something myself, re-using at least part of what you've done if you don't mind.
Reuse as much as you like, I gave it an open license.
 
Old 02-03-2015, 07:30 AM   #11
rcorkum
Member
 
Registered: Aug 2005
Location: Thunder Bay, Ontario, Canada
Distribution: Slackware Current
Posts: 113

Rep: Reputation: 15
thank you so much, found your github and your scripts a simple treasure trove of resources.
 
  


Reply



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: How to Install Latest Version of Chromium Browser in Ubuntu LXer Syndicated Linux News 0 07-10-2012 04:10 PM
Millions download latest Firefox browser Jeebizz Linux - News 11 03-25-2011 08:22 AM
Browser firefox 3.0b 5pre need to install latest version Papillon 123 Linux - Newbie 1 07-01-2010 08:00 AM
LXer: Opera tests latest mobile browser LXer Syndicated Linux News 0 11-28-2006 10:54 AM
Internet browser problems with latest MAndrake turnback Linux - Networking 1 06-30-2004 12:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:49 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
Open Source Consulting | Domain Registration