Linux snapshot alternative install script
-
Linux users on non-DEB/RPM distributions now have a new way to try out our snapshots.
Click here to see the full blog post
-
@ruario Thanks for the script.
-
You could even cron it to always be up to date, right ?
-
Good job!
-
@cqoicebordel: Yes, good point. If people want an example I include one in the comments of the script or here:
-
@gwen-dragon: Thanks for that. It is a good point. You can also use our shortner to access the script, e.g.
wget -qO- https://vvld.in/inst-lnx | sh
or:
curl -sL https://vvld.in/inst-lnx | sh
EDIT: I have since decided not to recommend piping the shell script directly to
sh
. Better to download the script and run it directly. The script will notify the user of updates to itself, in any case.curl -O https://downloads.vivaldi.com/snapshot/install-vivaldi.sh sh install-vivaldi.sh
-
Especially if you pipe it directly to the terminal, indeed !
-
@cqoicebordel: As a general rule, I take your point but vvld.in is our own domain/shortner service and the short version is easier to remember.
-
Excellent the choice to use snap for packaging. I was hoping that you one day would use either snap or flatpak. Both are still a young technology, but are already resolving a lot of issues with dependencies, etc.
-
@vosaxalo: Yeah, snap is interesting and should give us a cleaner way to handle proprietary media, meaning there will be less video problems for Linux users in the future.
-
Good job!!!
-
HI. I'm running Manjaro Hakoila XFCE Edition (17.1.12) and I tried to install Vivaldi latest snapshot using this script, but I got the following:
"2018-09-06 17:56:46 (1.02 MB/s) - ‘/tmp/vivaldi-deb.XmzuGh’ saved [57416930/57416930]
User namespace support not enabled.
Re-run this script as root (or prefaced with sudo)"Is this related?: https://gist.github.com/ruario
What's wrong? What do I need to do now?THANKS
-
Of course, I prefaced the command with sudo, just to clarify...
-
@metafaniel: You should first check if there is a repackage for Manjaro. It is an Arch-based distro and I know that Arch for example offers a PKGBUILD for all our snapshots on their AUR. Their might be something similar for Manjaro users. It is generally preferable to use native packages, when they are available.
If nothing is available, then this script can still work for you. The issue you are encountering is due to the fact that Arch based Linux distributions tend to have the "user namespace" kernel feature disabled. Vivaldi uses this feature to setup a suitable security sandbox. However in cases where the feature is not available, we use another method. This other method however is akin to a chroot and is achieved by SUID'ing (set user ID upon execution) the Vivaldi sandbox application to the root (super-)user. Only root can configure the sandbox binary in that way, thus the reason the install must be done via root.
With regards to running the script as root, it is important that
sudo
is beforesh
(not thecurl
command), i.e.:curl -sL https://vvld.in/inst-lnx | sudo sh
EDIT: I have since decided not to recommend piping the shell script directly to
sh
. Better to download the script and run it directly. The script will notify the user of updates to itself, in any case.sudo sh install-vivaldi.sh
P.S. For more background on sandboxing on Linux read this older blog post.
P.P.S.
Is this related?: https://gist.github.com/ruario
Yes, those are my gists and amongst them is a copy of this script.
-
@metafaniel: Where, did you place
sudo
? It should be beforesh
.curl -sL https://vvld.in/inst-lnx | sudo sh
EDIT: I have since decided not to recommend piping the shell script directly to
sh
. Better to download the script and run it directly. This will also make it more obvious, where to place thesudo
command, e.g.:sudo sh install-vivaldi.sh
-
Someone (no names) wanted to know if they could run this on macOS.
The answer is no, and in fact I have just updated the script to detect non-Linux OSes and exit out early, to avoid anything crazy happening. Instead the following will now be printed:
This script is for Linux only. If you want the latest snapshot for another OS,
go the the Vivaldi snapshot blog and look at the download links for the latest
entry: -
@metafaniel on Manjaro you can use the Herecura Repo
Have a look on this Site.
The script will probably install past the package management, which is not good.Linu74
-
@linu74: I had previously installed it using this command
yaourt -S vivaldi vivaldi-ffmpeg-codecs
I'm new to Arch Family (I just have experience with DEB, RPM families) so I had no idea haha.I'll certainly use that repo as I see it has the latest snapshot available. I'll try it later at home! Thanks
-
@ruario: Thanks for the explanation. More comments replying that below...
-
@ruario: Thanks for clarifying. I'm new to Arch-based distros; that explains I didn't know about AUR yet: the first thing I did was installing Vivaldi using this command I found in a forum elsewhere:
yaourt -S vivaldi vivaldi-ffmpeg-codecs
.About the command, I
sudo
'edit before CURL, not before SH. Thanks for clarifying. I'll try the Herecura Repo method suggested below later. THANKS.