Private Debian repository fast and easy
Debian (deb) software packages constitute Linux distribution Debian and its derivatives. Debian packages are generally managed by APT package managers or other APT front-ends such as aptitude (nCurses) and Synaptic (GTK+).
RpmDeb is a fully managed cloud package repository service that allows you to create your private repository for Debian-like systems, which are compatible with apt-get/aptitude, synaptic, dpkg and others, without the necessity to install and support in-house infrastructure.
Debian private cloud repository facilitates:
Workflow of distributed teams accessing project’s packages from different locations.
Projects creating and operating private packages.
Development processes which may not depend on public repositories due to requirements for high accessibility and availability.
RpmDeb takes high availability and security measures – all data is transferred via https, TLS/SSL. Repository metadata is signed with a unique GPG key.
All of RpmDeb’s tariff plans are account-based, which means you can create unlimited number of private repositories and invite as many collaborators as necessary.
What is more? RpmDeb is stable, fast and it also serves to host private RPM, NPM (coming soon) and Maven (coming soon) repositories.
Three simple steps to start storing Debian (deb) packages.
Step 1 - Register an Account with RpmDeb
Start by registering a new RpmDeb account here. Set your TEAM_NAME, Email and Password. You will have to confirm the email address by clicking the link in the message that we sent to the specified email address.
Step 2 - Create a Repository
Login into RpmDeb Control Panel and create a repository. Specify REPOSITORY_NAME as well as its privacy level, either public or private.
If your repository is public, anyone can install packages from it. If your repository is private, to install packages it is required to use a token. No matter which privacy level your repository has, a token is always required to add new or update existing packages in a repository.
You can reach your repository via
https://deb.rpmdeb.com/TEAM_NAME/REPOSITORY_NAME/
.
Step 3 - Create a Token
Tokens are random 32-byte strings. Optionally they can have properties like Name, Description and Access level. The access levels of a token can be: PULL (enables installing packages from the repository), PUSH (enables adding new or updating existing packages), or both PULL and PUSH at the same time.
Note: Tokens are team-level objects, which means that a token may be used to get access to all repositories within the team for which it was created. If you need to be more specific in terms of repository access control, you can always create a new team, and repositories and tokens for the team. To create a new team, you don’t have to create a new account. With RpmDeb one account can have as many teams as necessary.
Uploading DEB Packages to RpmDeb Repository
You can upload a package to RpmDeb via Control Panel, or using a cURL with the following command (do not forget to substitute corresponding placeholders with your Team and Repository names):
$ curl -F package=@path/to/you/package.deb -u "TOKEN" https://put.rpmdeb.com/TEAM_NAME/REPOSITORY_NAME/
Upon upload, you will see the packages appear in the RpmDeb Control Panel.
Installing DEB Packages from RpmDeb Repository
To install DEB packages from your repository, first you need to install the GPG key used for signing your repository metadata. To install the GPG key, use the command:
$ curl -L https://deb.rpmdeb.com/TEAM_NAME/REPOSITORY_NAME/pub.gpg.key | sudo apt-key add -
Then create a .list
file in the /etc/apt/sources.list.d/
directory,
using the following command for the rpmdeb
list:
$ sudo echo "deb https://TOKEN@deb.rpmdeb.com/TEAM_NAME/REPOSITORY_NAME/ stable main" > /etc/apt/sources.list.d/rpmdeb.list
Refresh your package cache with:
$ sudo apt-get update
Now you can install your packages:
$ sudo apt-get install package-name-here