DataStax Enterprise 3.0 Documentation

Installing the DataStax Enterprise package on Debian and Ubuntu

This documentation corresponds to an earlier product version. Make sure this document corresponds to your version.

Latest DSE documentation | Earlier DSE documentation

DataStax provides a packaged release for installing DataStax Enterprise and OpsCenter on Debian and Ubuntu systems. For a complete list of supported platforms, see DataStax Enterprise Supported Platforms.

To install OpsCenter, see Installing OpsCenter from Debian or Ubuntu packages.


  • Before you can install, you must register with DataStax to get a username and password.
  • The Aptitude Package Manager is installed.
  • Root or sudo access to the install machine.
  • The latest version of Oracle Java SE Runtime Environment (JRE) 6 is installed. Java 7 is not recommended.
  • Java Native Access (JNA) is required for production installations. See Installing JNA.


If you are using Ubuntu 10.04 LTS, you need to update to JNA 3.4, as described in Install JNA on Ubuntu 10.04.

  • Your DataStax username and password (provided in your DataStax registration confirmation email). If you do not have a DataStax username and password, register before attempting to download the software.

Also see Recommended Settings for Production Installations.

DataStax Enterprise and OpsCenter installation steps

DataStax provides Debian package repositories for Debian and Ubuntu systems. Use these instructions to install DataStax Enterprise 3.0.x.

  1. Check which version of Java is installed by running the following command in a terminal window:

    # java -version

    Use the latest version of Java 6 on all nodes. Java 7 is not recommended. If you need help installing Java, see Installing the JRE on Debian or Ubuntu Systems.

  2. Add the DataStax repository to the /etc/apt/sources.list.d/datastax.sources.list file. For example:

    deb http://<username>:<password> stable main
  3. Add the DataStax repository key to your Aptitude trusted keys:

    $ curl -L | sudo apt-key add -


    If you have trouble adding the key, use http instead of https.

  4. Install the DataStax Enterprise packages:

    $ sudo apt-get update
    $ sudo apt-get install dse-full=3.0.4-1 dse=3.0.4-1 dse-hive=3.0.4-1 dse-pig=3.0.4-1 dse-demos=3.0.4-1 dse-libsolr=3.0.4-1 dse-libtomcat=3.0.4-1 dse-libsqoop=3.0.4-1 dse-liblog4j=3.0.4-1 dse-libmahout=3.0.4-1 dse-libhadoop-native=3.0.4-1 dse-libcassandra=3.0.4-1 dse-libhive=3.0.4-1 dse-libpig=3.0.4-1 dse-libhadoop=3.0.4-1

    The packaged releases create a user cassandra. When starting DataStax Enterprise as a service, the Cassandra and Hadoop tracker services run as this user. A service initialization script is located in /etc/init.d/dse. Run levels are not set by the package.

    You can install any 3.0.x version using the following format:

    $ sudo apt-get install dse-full=<version>-1 dse=<version>-1 dse-hive=<version>-1 dse-pig=<version>-1 dse-demos=<version>-1 dse-libsolr=<version>-1 dse-libtomcat=<version>-1 dse-libsqoop=<version>-1 dse-liblog4j=<version>-1 dse-libmahout=<version>-1 dse-libhadoop-native=<version>-1 dse-libcassandra=<version>-1 dse-libhive=<version>-1 dse-libpig=<version>-1 dse-libhadoop=<version>-1

Next steps