Is there a permalink to the latest stable version?
-
gidici61 last edited by
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.
-
styen last edited by styen
@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
@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
@iqbal6791 Thank you, just done (https://www.opera.com/it/contact > https://opera.atlassian.net/servicedesk/customer/portal/9)