image/svg+xml image/svg+xml blog faq docs code

Installing Ronin on Debian

This guide will show you how to properly install Ruby, RubyGems and then Ronin on a vanilla Debian Linux system.

Quick Install

sudo apt-get install -y libreadline-dev libxml2 libxml2-dev libxslt1-dev sqlite3 libsqlite3-dev && \
sudo apt-get install -y ruby1.9.2-full rubygems1.9.2 && \
sudo gem install ronin

Installing required Libraries

Dependencies of Ronin (such as do_sqlite3 and nokogiri) require certain libraries and their header files to be installed:

sudo apt-get install -y libxml2 libxml2-dev libxslt1-dev sqlite3 libsqlite3-dev

Installing Ruby

If you already have not done so, we must fully install Ruby on the system.

sudo apt-get install -y ruby1.9.2-full rubygems1.9.2

Installing Ronin

Now that your Debian system has been properly setup with Ruby and RubyGems, we can finally install Ronin:

sudo gem install ronin