Weebs
June 17, 2020, 5:35pm
#1
This is a problem I’ve run into a few times now, where I’d like to install a piece of software, but the provider’s Linux download page only supplies instructions on how to add their apt repo to an Ubuntu system.
I assume there is a way I can download the deb from the repo and use alien to install it, but after searching I haven’t been able to find an answer on how to do this except using apt-get download.
Any ideas on how I might do this? Thanks!
Weebs:
This is a problem I’ve run into a few times now, where I’d like to install a piece of software, but the provider’s Linux download page only supplies instructions on how to add their apt repo to an Ubuntu system.
I assume there is a way I can download the deb from the repo and use alien to install it, but after searching I haven’t been able to find an answer on how to do this except using apt-get download.
Any ideas on how I might do this? Thanks!
Hi
You should be able to just browse to it and download the deb file, what is the software?
Weebs
June 17, 2020, 5:50pm
#3
The Runescape NXT client
https://www.runescape.com/download
sudo -s -- << EOF
wget -O - https://content.runescape.com/downloads/ubuntu/runescape.gpg.key | apt-key add -
mkdir -p /etc/apt/sources.list.d
echo "deb https://content.runescape.com/downloads/ubuntu trusty non-free" > /etc/apt/sources.list.d/runescape.list
apt-get update
apt-get install -y runescape-launcher
EOF
hcvv
June 17, 2020, 6:27pm
#5
I do not think that simply downloading (what was what you asked) needs root.
And the saying is: Never do something as root when that is not needed.
$ curl https://content.runescape.com/downloads/ubuntu/dists/trusty/Release
Origin: content.runescape.com
Label: apt repository
Suite: stable
Codename: trusty
Date: Fri, 22 May 2020 11:45:49 UTC
Architectures: amd64
Components: non-free
Description: Stable Repository
MD5Sum:
38655ad65793bbc572d6177a4bba77c4 885 non-free/binary-amd64/Packages
e7c889e1df45749f095b5c2e946e328f 565 non-free/binary-amd64/Packages.gz
6843df44c7813b7a36aa56828a57e17e 139 non-free/binary-amd64/Release
$ curl https://content.runescape.com/downloads/ubuntu/dists/trusty/non-free/binary-amd64/Packages
Package: runescape-launcher
Version: 2.2.7
Architecture: amd64
Maintainer: RuneScape Linux <noreply@jagex.com>
Homepage: http://www.runescape.com/
Depends: libsdl2-2.0-0, libc6, libssl1.1, libgcc1, zlib1g, libcap2-bin, libglib2.0-0, libpango-1.0-0, libcairo2, libgdk-pixbuf2.0-0, libpangocairo-1.0-0, libgtk2.0-0, libx11-6, libxxf86vm1, libsm6
Priority: optional
Section: games
Filename: pool/non-free/r/runescape-launcher/runescape-launcher_2.2.7_amd64.deb
$ curl https://content.runescape.com/downloads/ubuntu/pool/non-free/r/runescape-launcher/runescape-launcher_2.2.7_amd64.deb
Warning: Binary output can mess up your terminal. Use "--output -" to tell
Warning: curl to output it to your terminal anyway, or consider "--output
Warning: <FILE>" to save to a file.
You got the idea …
Weebs
June 17, 2020, 8:31pm
#7
arvidjaar:
$ curl https://content.runescape.com/downloads/ubuntu/dists/trusty/Release
Origin: content.runescape.com
Label: apt repository
Suite: stable
Codename: trusty
Date: Fri, 22 May 2020 11:45:49 UTC
Architectures: amd64
Components: non-free
Description: Stable Repository
MD5Sum:
38655ad65793bbc572d6177a4bba77c4 885 non-free/binary-amd64/Packages
e7c889e1df45749f095b5c2e946e328f 565 non-free/binary-amd64/Packages.gz
6843df44c7813b7a36aa56828a57e17e 139 non-free/binary-amd64/Release
$ curl https://content.runescape.com/downloads/ubuntu/dists/trusty/non-free/binary-amd64/Packages
Package: runescape-launcher
Version: 2.2.7
Architecture: amd64
Maintainer: RuneScape Linux <noreply@jagex.com>
Homepage: http://www.runescape.com/
Depends: libsdl2-2.0-0, libc6, libssl1.1, libgcc1, zlib1g, libcap2-bin, libglib2.0-0, libpango-1.0-0, libcairo2, libgdk-pixbuf2.0-0, libpangocairo-1.0-0, libgtk2.0-0, libx11-6, libxxf86vm1, libsm6
Priority: optional
Section: games
Filename: pool/non-free/r/runescape-launcher/runescape-launcher_2.2.7_amd64.deb
$ curl https://content.runescape.com/downloads/ubuntu/pool/non-free/r/runescape-launcher/runescape-launcher_2.2.7_amd64.deb
Warning: Binary output can mess up your terminal. Use "--output -" to tell
Warning: curl to output it to your terminal anyway, or consider "--output
Warning: <FILE>" to save to a file.
You got the idea …
Exactly what I was looking for, thanks!
Good to see there’s a flatpak available, thank you