RepoNameRelease DateTarballsAptYum
StableCDH1March 2009/cdh/stable/debian/redhat/cdh/stable
TestingCDH2August 2009/cdh/testing/debian/redhat/cdh/testing
Cloudera logo

1.2.2. Installing Hadoop on Debian Systems

If you are running on a Debian-based platform, you can download our packages using apt.

Setting up your Apt Repository

  1. Add repository. Create a new file /etc/apt/sources.list.d/cloudera.list with the following contents, taking care to replace DISTRO with the name of your distribution (find out by running lsb_release -c)

    For the stable repository, use…

    deb http://archive.cloudera.com/debian DISTRO-stable contrib
    deb-src http://archive.cloudera.com/debian DISTRO-stable contrib

    For the testing repository use…

    deb http://archive.cloudera.com/debian DISTRO-testing contrib
    deb-src http://archive.cloudera.com/debian DISTRO-testing contrib
  2. Add repository key. (optional) Add the Cloudera Public GPG Key to your repository by executing the following command:

    curl -s http://archive.cloudera.com/debian/archive.key | sudo apt-key add -

    This allows you to verify that you are downloading genuine packages.

  3. Update APT package index. Simply run:

    sudo apt-get update
  4. Find and install packages. You may now find and install packages from the Cloudera repository using your favorite APT package manager (e.g apt-get, aptitude, or dselect). For example:

    apt-cache search hadoop
    sudo apt-get install hadoop