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!

You should be able to just browse to it and download the deb file, what is the software?

The Runescape NXT client

sudo -s -- << EOF
wget -O - | apt-key add -
mkdir -p /etc/apt/sources.list.d
echo "deb trusty non-free" > /etc/apt/sources.list.d/runescape.list
apt-get update
apt-get install -y runescape-launcher

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
Label: apt repository
Suite: stable
Codename: trusty
Date: Fri, 22 May 2020 11:45:49 UTC
Architectures: amd64
Components: non-free
Description: Stable Repository
 38655ad65793bbc572d6177a4bba77c4 885 non-free/binary-amd64/Packages
 e7c889e1df45749f095b5c2e946e328f 565 non-free/binary-amd64/Packages.gz
 6843df44c7813b7a36aa56828a57e17e 139 non-free/binary-amd64/Release
$ curl
Package: runescape-launcher
Version: 2.2.7
Architecture: amd64
Maintainer: RuneScape Linux <>
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
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: