Set Up the MapR Repository: Ubuntu

This section describes how to add repositories to the sources.list.

About this task

As root or using sudo, you add the repositories to the sources.list. The sources.list specifies the URLs to the packages that you want to install. See Packages and Dependencies for MapR Software for the URLs for all release packages.

Procedure

  1. Change to the root user or use sudo.
  2. Add the following lines to /etc/apt/sources.list, replacing <version> with the version that you want to install.
    Release 7.0.0 (with EEP 8.1.0) and later
    deb https://package.ezmeral.hpe.com/releases/v7.0.0/ubuntu/ binary bionic
    deb https://package.ezmeral.hpe.com/releases/MEP/MEP-8.1.0/ubuntu/ binary bionic
    Release 5.2.1 through 6.2.0
    deb https://package.ezmeral.hpe.com/releases/v<version>/ubuntu/ binary trusty
    deb https://package.ezmeral.hpe.com/releases/MEP/MEP-<version>/ubuntu/ binary trusty
    Release 5.2 and earlier
    deb https://package.ezmeral.hpe.com/releases/<version>/ubuntu/ mapr optional
    deb https://package.ezmeral.hpe.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>";
    };
    };