Install Rabak

Download the current release.

First extract the files in rabak's archive to a temporary directory and cd into it:

tar -xvzf rabak-<version>.tar.gz
cd rabak-<version>

To test Rabak, you instantly can do (provided you already have the required external libraries installed):

./rabak help
..etc..

To install Rabak's perl library:

perl Makefile.PL
make
make test
make install

Now you may copy the rabak script itself into your execution path and sample config files to /etc.

cp -p rabak /usr/bin/
cp -rp etc/rabak /etc/
cp -rp share /usr/share/rabak

Install Rabak on Gentoo

Prepare your portage tree for overlay (if not already done) by adding the following line to your /etc/make.conf file:

PORTDIR_OVERLAY="/usr/local/portage"

Download the current ebuild and copy it to /usr/local/portage/app-backup/rabak, create nonexistant directories.

test -d /usr/local/portage/app-backup/rabak || mkdir -p /usr/local/portage/app-backup/rabak
cd /usr/local/portage/app-backup/rabak/
wget http://raisin.de/rabak/stable/rabak-<version>.ebuild

Update your Manifest file:

cd /usr/local/portage/app-backup/rabak/
ebuild rabak-<version>.ebuild manifest

And finally emerge your new rabak version:

emerge -av rabak