Installing private DEB packages with APT

Once you have signed up for a Gemfury account, you can upload DEB packages, and install them onto your host with APT.

Uploading packages

There are a few guides on the web about creating an DEB package. Once you have the file, you can use the Dashboard, command line, or cURL to upload the DEB package to your Gemfury account.

Your secret Repository URL

The secret repository URL is the APT endpoint for your Gemfury account and packages. Do not share this URL to keep your account private. Your Repo-URL has the following format:

https://SeCrEt-ToKeN@apt.fury.io/me/

Setting up APT with Gemfury

To install your packages, you'll need to configure APT to access your Gemfury repository. For this, create a fury.list file in the /etc/apt/sources.list.d directory. You will need sudo access to make these changes.

Here is a basic template for /etc/apt/sources.list.d/fury.list:

deb [trusted=yes] https://SeCrEt-ToKeN@apt.fury.io/me/ /

Or use this one-liner:

echo "deb [trusted=yes] https://SeCrEt-ToKeN@apt.fury.io/me/ /" > \
/etc/apt/sources.list.d/fury.list

Using APT with Gemfury

To download and update the indexes of packages, please run the following commands now and every time you add a new package:

$ sudo apt-get update

Once this is has succeeded, you can use apt-get and all related tools to install your private packages:

$ sudo apt-get install -y --force-yes rubygem-gemfury
...
The following NEW packages will be installed:
  rubygem-gemfury
...
Setting up rubygem-gemfury (0.60.0) ...