How to download a deb from an unofficial ubuntu repo?

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?

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

https://secure.runescape.com/m=forum/sl=0/forums?409,410,916,65990459

https://build.opensuse.org/package/show/home:fusion809/unix-runescape-client:
Download:
https://download.opensuse.org/repositories/home:/fusion809/openSUSE_Tumbleweed/noarch/

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 …

Exactly what I was looking for, thanks!

Good to see there’s a flatpak available, thank you :slight_smile: