Debian Repository

I have created my own debian repository, to be able to provide debian versions of my softs.

It is available for Debian Buster and Bulseye for both 32 and 64 bits.

Here are the steps to set it up on your system.

Quick links for this article:

Note for users already using this repository before 2021-10-10 : The repository url(s) have been modified, switching from stable or oldstable to debian10 or debian11. You'll have to update your sources.list file.

Repository url

The first thing you have to set up is the url of the repository.

But, as this repostory is using https as protocol, you must be sure that apt-transport-https is installed.

If all is ok, you just have to add the following lines to the /etc/apt/sources.list file.

For Debian 10 (Buster):

deb https://apt.xaviou.fr/debian10/ buster main
deb-src https://apt.xaviou.fr/debian10/ buster main

And for Debian 11 (Bullseye):

deb https://apt.xaviou.fr/debian11/ bullseye main
deb-src https://apt.xaviou.fr/debian11/ bullseye main

There is also a Debian 9 (Stretch) url but this part of the repository won't be updated in the future:

deb https://apt.xaviou.fr/debian09/ stretch main
deb-src https://apt.xaviou.fr/debian09/ stretch main

For Ubuntu users, you'll have to search on witch version of Debian your distribution is based. You can have a look at the /etc/debian_version file by entering, in a terminal windows, the following line:

cat /etc/debian_version

Public key

The public key for this repository can be downloaded using this link.

It can then be added to your system's thrusted keys (probably using you favorite package manager).

This can also be done using command line with the following one (don't forget that this should be done in su mode):

wget -O- https://apt.xaviou.fr/key.asc | apt-key add -

That's all : you can now perform a simple apt update and install one of the packages provided in this repository.

Here is what it gives:

debian repository
Adding the key and updating the database

As usual, don't forget to tell me about problems you could have with this.

Code::Blocks

I regularly provide nightly-builds of Code::Blocks with this repository.

But as there is an official version provided by debian, these nightly-builds are not proposed for installation, nor they are automatically updated.

This behaviour can be overriden by pinning my repository with a high priority.

To do this, juste create a new file named, for example, codeblocks in /etc/apt/preferences.d (you'll need administrator's rights for this)

In this file, add the following lines:

Package: *
Pin: origin apt.xaviou.fr
Pin-Priority: 999

Now, you'll be able to install the last nightly-build of Code::Blocks as soon as I'll update the repository's content.