Go Back   DisplayLink Forum > DisplayLink Graphics Technology > Linux and Open Source

Reply
 
Thread Tools Search this Thread Display Modes
Old 01-30-2021, 02:02 AM   #1
orpheus
Junior Member
 
Join Date: Jan 2021
Posts: 1
Unhappy 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~
orpheus is offline   Reply With Quote
Old 02-05-2021, 11:34 AM   #2
edm
Junior Member
 
Join Date: Oct 2019
Posts: 2
Default

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
edm is offline   Reply With Quote
Old 08-10-2021, 02:08 PM   #3
Wozzy
Member
 
Join Date: Mar 2018
Posts: 58
Default

Quote:
Originally Posted by edm View Post
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?
Wozzy is offline   Reply With Quote
Old 08-12-2021, 08:26 AM   #4
edm
Junior Member
 
Join Date: Oct 2019
Posts: 2
Default

Quote:
Originally Posted by Wozzy View Post
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
edm is offline   Reply With Quote
Old 08-12-2021, 11:58 AM   #5
Wozzy
Member
 
Join Date: Mar 2018
Posts: 58
Default

Quote:
Originally Posted by edm View Post
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"
    ;;
Wozzy is offline   Reply With Quote
Reply

Tags
download, ubuntu 20.04 lts server

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:12 PM.


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