01-30-2021, 01:02 AM | #1 |
Junior Member
Join Date: Jan 2021
Posts: 1
|
Download Link for Curl
Hi Linux Users,
Total n00b question here - when I curl -O (or curl -o and make a .run filename), Ubuntu 20.04 server will not allow me to "sudo ./displaylink-driver...run". It says "command not found". Is this due to the format of the .run file at https://displaylink.org/downloads/ubuntu? I tried the download the file on for Ubuntu to Windows and it comes down as a .zip. So I thought, let's curl the file on Ubuntu server and run unzip... no dice. "End-of-central-directory signature not found. Either this file is not a zipfile or it constitutes one disk of a multi-part archive." Any way to get the .run file to download in such a way that I can execute it? ~Orpheus~ |
02-05-2021, 10:34 AM | #2 |
Junior Member
Join Date: Oct 2019
Posts: 2
|
Hi,
It seems you're downloading the webpage instead of a file. You can try the following: Code:
curl -L -o displaylink.zip -d fileId=1576 -d accept_submit=Accept https://www.displaylink.com/downloads/file unzip displaylink.zip chmod +x displaylink-driver-5.3.1.34.run sudo ./displaylink-driver-5.3.1.34.run |
08-10-2021, 01:08 PM | #3 | |
Member
Join Date: Mar 2018
Posts: 58
|
Quote:
trying to do this for the Mac version. I can see the file ID is 1715 but I'm not able to download. Any ideas? |
|
08-12-2021, 07:26 AM | #4 | |
Junior Member
Join Date: Oct 2019
Posts: 2
|
Quote:
Code:
curl -L -o displaylink.pkg -d fileId=1715 -d accept_submit=Accept https://www.displaylink.com/downloads/file |
|
08-12-2021, 10:58 AM | #5 | |
Member
Join Date: Mar 2018
Posts: 58
|
Quote:
https://github.com/Installomator/Installomator For example an installomator entry using curl is like this, but I can't figure it out for DisplayLink. Code:
malwarebytes) name="Malwarebytes" type="pkg" downloadURL="https://downloads.malwarebytes.com/file/mb3-mac" appNewVersion=$(curl -Ifs https://downloads.malwarebytes.com/file/mb3-mac | grep "location" | sed -E 's/.*-Mac-([0-9\.]*)\.pkg/\1/g') expectedTeamID="GVZRY6KDKR" ;; |
|
Tags |
download, ubuntu 20.04 lts server |
|
|