Installing MarkLogic on Linux Mint

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.


Filed under Software Engineering

2 responses to “Installing MarkLogic on Linux Mint

  1. a very useful tip! appreciated much!

  2. I can confirm that this method also works when installing MarkLogic 8 on Debian Linux. Many thanks!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s