I have created my own debian repository, to be able to provide debian versions of my softs.
It is available for Debian Stretch and Buster for both 32 and 64 bits (I have successfully tested it with a 64 bits Ubuntu 16.04-LTS install and a recent 19.10 one : let me know if it works with other distributions too).
Here are the steps to set it up on your system.
Quick links for this article:
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 9 (Stretch):
deb https://apt.xaviou.fr/oldstable/ stretch main
deb-src https://apt.xaviou.fr/oldstable/ stretch main
And for Debian 10 (Buster):
deb https://apt.xaviou.fr/stable/ buster main
deb-src https://apt.xaviou.fr/stable/ buster 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 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-get 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.