In my previous post I explained how to setup a simple development environment, but I feel that's a little too much if you only want to try that new, shiny, munin version.

So, let's assume that you're on a debian-derivative distribution (Ubuntu, Raspbian, ... , and of course Debian).

The nicest news is that 2.1.x already hit the experimental part of Debian. That makes it very easy to use as everything is described there.

I'll just copy/paste some instructions tailored for munin, please refer to the original page if you'd like to learn more.

Add experimental to your sources.list

echo "deb http://ftp.debian.org/debian experimental main" >> /etc/apt/sources.list

Update the apt database

apt-update

Install the experimental version of munin

apt-get -t experimental install munin

Pin the munin as the experimental version

That works quite well, but the munin package won't be updated, as the automatic upgrades only comes from the non-experimental part. And obviously the version there is lower than the experimental one.

So, that is called package pinning, that is to pin a certain package in a certain repository. It is still very simple to do :

cat >> /etc/apt/preferences <<EOF
Package: munin
Pin: release a=experimental
Pin-Priority: 800
EOF

Conclusion

So, that's it. You have successfully upgraded to the unstable side of munin...