As a Linux user, when installing the MarkLogic database for the first time you might notice that RPM is the only supported distribution format. This is great for users of RHEL and CentOS, but not so great for users of Debian and Debian-based distributions such as Ubuntu and Mint.
Here is a short guide to installing MarkLogic on Linux Mint.
After downloading an RPM installer from the download page, you’ll need to perform a few steps to converter the rpm to a deb installer.
Step 1: Install the prerequisite libraries
This is necessary to convert the installer from one format to another.
sudo apt-get install alien dpkg-dev debhelper build-essential
Step 2: Convert rpm to deb
This was tested on the CentOS installer for MarkLogic, but it should work with the other distributions too. Of course you’ll need to modify the name of the .rpm if you have downloaded a later version of MarkLogic.
sudo alien MarkLogic-7.0-2.2.x86_64.rpm
Step 3: Install the new deb file
This is just what you would normally do to install a file from the command line.
sudo dpkg -i marklogic_7.0-3.2_amd64.deb
That’s all there is to it! Now you may continue exploring MarkLogic in the Linux distribution of your choice.