I have created my own debian repository, to be able to provide debian versions of my softs.
And as often as I can, I use it to provide debian versions of Code::Blocks Nightly Builds
It is available for Debian Bookworm and Bullseye 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
debian11. You'll have to update your
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
For Debian 12 (Bookworm):
deb https://apt.xaviou.fr/debian12/ bookworm main
deb-src https://apt.xaviou.fr/debian12/ bookworm 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) and Debian 10 (Buster) url but this part of the repository won't be updated in the future:
deb https://apt.xaviou.fr/debian10/ buster main
deb-src https://apt.xaviou.fr/debian10/ buster main
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:
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 (don't forget that this should be done in su mode):
1st method: to avoid the "Key is stored in legacy trusted.gpg keyring" security warning, you can use the following command:
wget -O- https://apt.xaviou.fr/key.asc | gpg --dearmor --yes -o /etc/apt/trusted.gpg.d/xavs-repo.gpg
2nd method: if you don't mind getting this warning each time you perform an
apt update, you can still use the old style method:
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:
Adding the key and updating the database
As usual, don't forget to tell me about problems you could have with this.
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,
/etc/apt/preferences.d (you'll need administrator's rights for this)
In this file, add the following lines:
Pin: origin apt.xaviou.fr
Now, you'll be able to install the last nightly-build of Code::Blocks as soon as I'll update the repository's content.