cannot install Qt installer tool on Ubuntu 22.04
-
I have a problem using qt-online-installer-linux-x64-online.run
This was recently downloaded from Qt website using
curl -O https://download.qt.io/official_releases/online_installers/qt-online-installer-linux-x64-online.run
Apparently, the file is buggy because even though my permissions are 777, I get the following when I run this Qt installer:./qt-online-installer-linux-x64-online.run
./qt-online-installer-linux-x64-online.run: line 1: syntax error near unexpected token
newline' ./qt-online-installer-linux-x64-online.run: line 1:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">'
My OS is Ubuntu 22.04.
I suspect this is a bug?
Thanks and any ideas welcome. -
Hi @montanaviking, open your downloaded file with a text editor. You'll see that curl has saved a HTML document, not an executable.
Either use a web browser to download it, or ask curl to follow redirects.