Adding the MapR Repository on Ubuntu

This section describes how to install the MapR internet repository.

  1. Change to the root user or use sudo.
  2. Add the following lines to /etc/apt/sources.list, replacing <version> with the version of MapR that you want to install. See the MapR Release Notes for the correct paths for all past releases.
    MapR 5.2.1 and later
    sudo add-apt-repository 'deb http://package.mapr.com/releases/<version>/ubuntu binary trusty'
    sudo add-apt-repository 'deb http://package.mapr.com/releases/MEP/MEP-<version>/ubuntu binary trusty'
    MapR 5.2 and earlier
    sudo add-apt-repository 'deb http://package.mapr.com/releases/<version>/ubuntu/ mapr optional'
    sudo add-apt-repository 'deb http://package.mapr.com/releases/MEP/MEP-<version>/ubuntu binary trusty'
  3. Update the package indexes.
    apt-get update
  4. If your connection to the Internet is through a proxy server, add the following lines to /etc/apt/apt.conf:
    Acquire 
    {
      Retries "0";
      HTTP 
      {
         Proxy "http://<user>:<password>@<host>:<port>";  
      };
    };