DisplayLink Forum

DisplayLink Forum (https://displaylink.org/forum/index.php)
-   Linux and Open Source (https://displaylink.org/forum/forumdisplay.php?f=29)
-   -   Download Link for Curl (https://displaylink.org/forum/showthread.php?t=67597)

orpheus 01-30-2021 02:02 AM

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~

edm 02-05-2021 11:34 AM

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


Wozzy 08-10-2021 02:08 PM

Quote:

Originally Posted by edm (Post 91572)
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



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?

edm 08-12-2021 08:26 AM

Quote:

Originally Posted by Wozzy (Post 92432)
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?

Hi, on macOS the extension is different. Try this one:

Code:

curl -L -o displaylink.pkg -d fileId=1715 -d accept_submit=Accept https://www.displaylink.com/downloads/file

Wozzy 08-12-2021 11:58 AM

Quote:

Originally Posted by edm (Post 92441)
Hi, on macOS the extension is different. Try this one:

Code:

curl -L -o displaylink.pkg -d fileId=1715 -d accept_submit=Accept https://www.displaylink.com/downloads/file

Thanks, looks to be working. Now trying to understand how to get that to work via installomator which is script for Mac app deployment.

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"
    ;;



All times are GMT. The time now is 07:16 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.