How To Install ruby-ronn on Ubuntu 18.04

In this tutorial we learn how to install ruby-ronn on Ubuntu 18.04. ruby-ronn is Builds manuals from Markdown

Introduction

In this tutorial we learn how to install ruby-ronn on Ubuntu 18.04.

What is ruby-ronn

ruby-ronn is:

Ronn builds manuals. It converts simple, human readable textfiles to roff for terminal display, and also to HTML for the web.

The source format includes all of Markdown but has a more rigid structure and syntax extensions for features commonly found in manpages (definition lists, link notation, etc.). The ronn-format(7) manual page defines the format in detail.

There are three methods to install ruby-ronn on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install ruby-ronn Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install ruby-ronn using apt-get by running the following command:

sudo apt-get -y install ruby-ronn

Install ruby-ronn Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install ruby-ronn using apt by running the following command:

sudo apt -y install ruby-ronn

Install ruby-ronn Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install ruby-ronn using aptitude by running the following command:

sudo aptitude -y install ruby-ronn

How To Uninstall ruby-ronn on Ubuntu 18.04

To uninstall only the ruby-ronn package we can use the following command:

sudo apt-get remove ruby-ronn

Uninstall ruby-ronn And Its Dependencies

To uninstall ruby-ronn and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove ruby-ronn

Remove ruby-ronn Configurations and Data

To remove ruby-ronn configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge ruby-ronn

Remove ruby-ronn configuration, data, and all of its dependencies

We can use the following command to remove ruby-ronn configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge ruby-ronn

References

Summary

In this tutorial we learn how to install ruby-ronn package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.