This section describes how to create and use a local repository.
root on the machine where you will set up the
repository.
/root, and create the following
directories within it:

<version> and
<datestamp>: (See MapR Repositories and Package
Archives for the correct paths for all past releases.)
https://package.mapr.com/releases/v6.x.x/ubuntu/mapr-<version>GA.deb.tgz
https://package.mapr.com/releases/MEP/MEP-<version>/ubuntu/mapr-mep-<version>-<datestamp>.deb.tgz
/root/mapr/mapr on the node, and extract
them there.
tar -xvzf mapr-<version>GA.deb.tgz
tar -xvzf mapr-mep-<version>-<datestamp>.deb.tgz/root/mapr/ directory.
dpkg-scanpackages to create Packages.gz
in the binary-amd64 directory:
dpkg-scanpackages . /dev/null | gzip -9c >
./dists/binary/optional/binary-amd64/Packages.gz/root/mapr/mapr directory to the default
directory served by the HTTP server (for example, /var/www),
and make sure the HTTP server is running.