0

How to download the latest .deb of Vivaldi browser using wget with the help of wildcards? Vivaldi can't be downloaded without entering the exact name and number of the latest build. For example,

wget https://downloads.vivaldi.com/stable/vivaldi-stable_3.5.2115.81-1_amd64.deb

I tried to replace the middle segment, containing numbers with the wildcard asterisk (*) but it didn't work.

wget https://downloads.vivaldi.com/stable/vivaldi-stable_*_amd64.deb

Maybe there are other wildcard symbols, less known, that could do the job.

Kulfy
  • 18,154
msf
  • 13

1 Answers1

3

Wildcards in wget is unrealistic as the tool will not know the name of every file in a given directory on the web server. If your goal is to have an easy way to keep the Vivaldi browser up to date, then you can use their repository. Here's how to set it up:

  1. Import the public key (to allow for verification of the APT repository)

    wget -qO- https://repo.vivaldi.com/archive/linux_signing_key.pub | sudo apt-key add -
    
  2. Add the repository

    sudo add-apt-repository 'deb https://repo.vivaldi.com/archive/deb/ stable main'
    
  3. Install Vivaldi

    sudo apt update && sudo apt install vivaldi-stable
    

Now every time your system does an apt update, Vivaldi will be included in the check.

Source: Manual setup of the Vivaldi Linux repositories | Vivaldi Browser Help

Kulfy
  • 18,154