I wanted to create a vagrant machine using Marklogic. CentOS is close to the OS we use at work so I found a vagrant machine at Vagrantbox.es - CentOS 6.5 and ran vagrant up. Next download Marklogic from Marklogic. Push this into your vagrant folder on the OS and the quickest way I found to install was to run:
sudo yum --nogpgcheck localinstall MarkLogic-7.0-2.x86_64.rpm
This will go and install the dependencies if you have all your sources configured correctly. The vagrant machine I used was ready to go and everything installed very well. YUM to the rescue.