Is there a permalink to the latest stable version?
-
gidici61 last edited by 28 May 2024, 10:07
I wonder if there is a permalink to the latest stable version; it would be very useful to use it in a bash installation script.
-
iqbal6791 last edited by 28 May 2024, 10:22
@gidici61 I think you should address to the customer service.
-
styen last edited by 28 May 2024, 11:38
You can parse https://ftp.opera.com/pub/opera/desktop/ for latest version
-
gidici61 last edited by 28 May 2024, 13:08
@styen Thanks, but what I'm looking for is a permalink to be used in a shell script like this:
wget --no-verbose https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
-
styen last edited by styen 28 May 2024, 14:31 28 May 2024, 14:03
@gidici61 parse list to get versions list, sort by version number, get latest version and then download it
LATEST_VERSION=`wget -q4O - https://ftp.opera.com/pub/opera/desktop/ | grep -Po 'href="\K.*?(?=/")' | sort -V | tail -n1` wget "https://ftp.opera.com/pub/opera/desktop/${LATEST_VERSION}/linux/opera-stable_${LATEST_VERSION}_amd64.deb"
-
gidici61 last edited by 28 May 2024, 16:41
@styen said in Is there a permalink to the latest stable version?:
LATEST_VERSION=
wget -q4O - https://ftp.opera.com/pub/opera/desktop/ | grep -Po 'href="\K.*?(?=/")' | sort -V | tail -n1
It works; I would have preferred to find a direct link, however these commands are perfect. Thank you.
-
gidici61 last edited by gidici61 28 May 2024, 18:10 28 May 2024, 18:07
@iqbal6791 Thank you, just done (https://www.opera.com/it/contact > https://opera.atlassian.net/servicedesk/customer/portal/9)
-
leocg Moderator Volunteer last edited by 28 May 2024, 19:44
@gidici61 Did you check https://www.opera.com/download?
-
gidici61 last edited by 31 May 2024, 05:55
@leocg Yes, I checked, but I couldn't find what I'm looking for; I'm waiting for a response from the Opera servicedesk. The best solution so far is the one suggested by styen.
-
gidici61 last edited by gidici61 31 May 2024, 12:06 31 May 2024, 11:51
@leocg It does work, but if I use a web browser; doesn't work if I type
wget "https://download.opera.com/download/get/?partner=www&opsys=Linux"
in a terminal. The same with "curl -L".
There is no ".deb" string inside the downloaded file. -
leocg 10 May 2025, 18:27