Tryton Debian Apt Repository


Due to the different release schemata and policies of Tryton and Debian it is currently impossible to make all Tryton releases available for the different Debian suites in the main repository of Debian.

Out intention is to make available Tryton releases including their bug fix releases via this aptable package mirror on

Using this mirror

  • you can run the Tryton release of your choice on your current stable or testing Debian system (oldstable supported as long as possible).
  • you are able to upgrade to the next Tryton series as soon as you wish to do so.
  • you are independent from the next Tryton major entering in Debian main.
  • you get all bug fix releases for all supported Tryton series.


The scope provided by Debian Tryton Maintainers is

How To

To use this package mirror with the apt package mangement of your Debian system you must make available the according sources.list to your system. Please read below for further instructions on how to do that.

To tell your system to take Tryton related packages preferrably from this mirror you should pin them. You will also find instructions below on how to do that.

For the installation of GNU Health you find additional instructions at GNU Health Debian Apt Repository.

For the server configuration please refer to /usr/share/doc/tryton-server/README.Debian on your Debian system or look at the latest version of README.Debian in the VCS.


Naming convention for distributions is <Debian-Release>-<Tryton-Version>

e.g. jessie-3.4, stretch-3.6, buster-4-6

Packages suitable for testing and unstable are available under the distribution <Debian-Future-Release>-<Tryton-Version>

e.g. at the time of writing stretch-4.6

The available distributions can be found at Debian Tryton Distributions.


Adding the signature key of the mirror to apt

$ sudo curl -o /etc/apt/trusted.gpg.d/

Adding the sources to apt basically works like

$ sudo echo "deb <distribution> main" >> /etc/apt/sources.list


The following list are ready-to-use source list files. They can be downloaded and saved directly to /etc/apt/sources.list.d with

Distribution wheezy-3.2

$ FILE=tryton-wheezy-3.2.list; sudo curl -o /etc/apt/sources.list.d/$FILE$FILE

Distribution wheezy-3.4

$ FILE=tryton-wheezy-3.4.list; sudo curl -o /etc/apt/sources.list.d/$FILE$FILE

Distribution wheezy-3.6

$ FILE=tryton-wheezy-3.6.list; sudo curl -o /etc/apt/sources.list.d/$FILE$FILE

Distribution wheezy-3.8

$ FILE=tryton-wheezy-3.8.list; sudo curl -o /etc/apt/sources.list.d/$FILE$FILE

Distribution wheezy-4.0

$ FILE=tryton-wheezy-4.0.list; sudo curl -o /etc/apt/sources.list.d/$FILE$FILE

Distribution wheezy-4.2

$ FILE=tryton-wheezy-4.2.list; sudo curl -o /etc/apt/sources.list.d/$FILE$FILE

Distribution jessie-3.2

$ sudo cd /etc/apt/sources.list.d && wget

Distribution jessie-3.4

$ FILE=tryton-jessie-3.4.list; sudo curl -o /etc/apt/sources.list.d/$FILE$FILE

Distribution jessie-3.6

$ FILE=tryton-jessie-3.6.list; sudo curl -o /etc/apt/sources.list.d/$FILE$FILE

Distribution jessie-3.8

$ FILE=tryton-jessie-3.8.list; sudo curl -o /etc/apt/sources.list.d/$FILE$FILE

Distribution jessie-4.0

$ FILE=tryton-jessie-4.0.list; sudo curl -o /etc/apt/sources.list.d/$FILE$FILE

Distribution jessie-4.2

$ FILE=tryton-jessie-4.2.list; sudo curl -o /etc/apt/sources.list.d/$FILE$FILE

Distribution jessie-4.4

$ FILE=tryton-jessie-4.4.list; sudo curl -o /etc/apt/sources.list.d/$FILE$FILE

Distribution jessie-4.6

$ FILE=tryton-jessie-4.6.list; sudo curl -o /etc/apt/sources.list.d/$FILE$FILE

Distribution stretch-3.2

$ FILE=tryton-stretch-3.2.list; sudo curl -o /etc/apt/sources.list.d/$FILE$FILE

Distribution stretch-3.4

$ FILE=tryton-stretch-3.4.list; sudo curl -o /etc/apt/sources.list.d/$FILE$FILE

Distribution stretch-3.6

$ FILE=tryton-stretch-3.6.list; sudo curl -o /etc/apt/sources.list.d/$FILE$FILE

Distribution stretch-3.8

$ FILE=tryton-stretch-3.8.list; sudo curl -o /etc/apt/sources.list.d/$FILE$FILE

Distribution stretch-4.0

$ FILE=tryton-stretch-4.0.list; sudo curl -o /etc/apt/sources.list.d/$FILE$FILE

Distribution stretch-4.2

$ FILE=tryton-stretch-4.2.list; sudo curl -o /etc/apt/sources.list.d/$FILE$FILE

Distribution stretch-4.4

$ FILE=tryton-stretch-4.4.list; sudo curl -o /etc/apt/sources.list.d/$FILE$FILE

Distribution stretch-4.6

$ FILE=tryton-stretch-4.6.list; sudo curl -o /etc/apt/sources.list.d/$FILE$FILE

Distribution buster-3.4

$ FILE=tryton-buster-3.4.list; sudo curl -o /etc/apt/sources.list.d/$FILE$FILE

Distribution buster-3.6

$ FILE=tryton-buster-3.6.list; sudo curl -o /etc/apt/sources.list.d/$FILE$FILE

Distribution buster-3.8

$ FILE=tryton-buster-3.8.list; sudo curl -o /etc/apt/sources.list.d/$FILE$FILE

Distribution buster-4.0

$ FILE=tryton-buster-4.0.list; sudo curl -o /etc/apt/sources.list.d/$FILE$FILE

Distribution buster-4.2

$ FILE=tryton-buster-4.2.list; sudo curl -o /etc/apt/sources.list.d/$FILE$FILE

Distribution buster-4.4

$ FILE=tryton-buster-4.4.list; sudo curl -o /etc/apt/sources.list.d/$FILE$FILE

Distribution buster-4.6

$ FILE=tryton-buster-4.6.list; sudo curl -o /etc/apt/sources.list.d/$FILE$FILE


Update package lists

$ sudo apt-get update

Installing the server

$ sudo apt-get install tryton-server [-t <distribution>]

Installing all modules incl. server

$ sudo apt-get install tryton-modules-all [-t <distribution>]

Installing the client

$ sudo apt-get install tryton-client [-t <distribution>]


The versioning of Tryton packages from is conservative with respect to upgrades. It follows the ususal backports schema to provide upgradibility to a new Debian release at every moment. Therefore it may be, that apt will want to replace the installed version with a newer version number, that is available from other sources.lists.

To stick with the packages of, it is possible to pin the packages. With pin priority >1000 they will be preferred over other packages. A sample looks like

Package: *
Pin: release
Pin-Priority: 999


A suitable file can be downloaded with

$ sudo curl -o /etc/apt/preferences.d/

Using the new preferences

$ sudo apt-get update && apt-get dist-upgrade