Ubuntu/Debian packages

Preparation

In order to install Disko on Debian based distributions you have to go through the following steps.

Adding the Disko repository for your Ubuntu distribution

In order to access the latest disko packages, you have to add following line the sources.list.

deb http://www.diskohq.com/repository/ubuntu/ maverick main

It can be done by modifying the /etc/apt/sources.list directly with your favorite editor or using following command.

sudo sh -c 'echo "\ndeb http://www.diskohq.com/repository/ubuntu/ maverick main" \
  >> /etc/apt/sources.list'

But it might be more convenient for you if you create a new file in /etc/apt/sources.list.d/

sudo sh -c 'echo -e "deb http://www.diskohq.com/repository/ubuntu/ maverick main" \
  > /etc/apt/sources.list.d/disko.list'

Adding the disko repository for your Debian distribution

In order to access the latest disko packages, you have to add following line the sources.list.

deb http://www.diskohq.com/repository/debian/ squeeze main

It can be done by modifying the /etc/apt/sources.list directly with your favorite editor or using following command.

sudo sh -c 'echo "\ndeb http://www.diskohq.com/repository/debian/ squeeze main" \
  >> /etc/apt/sources.list'

But it might be more convenient for you if you create a new file in /etc/apt/sources.list.d/

sudo sh -c 'echo -e "deb http://www.diskohq.com/repository/debian/ squeeze main" \
  > /etc/apt/sources.list.d/disko.list'

Adding trusted key for Debian and Ubuntu

To authenticate the disko packages you have to add the public key to apt.

wget -qO- http://www.diskohq.com/disko.pkey | sudo apt-key add -

Refreshing apt cache for Debian and Ubuntu

sudo apt-get update

Installation

sudo apt-get install disko-dev

You might want to install the git version which is built regularly.

sudo apt-get install disko-git-dev