How To Install blogliterately on Ubuntu 20.04

In this tutorial we learn how to install blogliterately on Ubuntu 20.04. blogliterately is Tool for posting Haskelly articles to blogs

Introduction

In this tutorial we learn how to install blogliterately on Ubuntu 20.04.

What is blogliterately

blogliterately is:

This package provides BlogLiterately executable, which allows you to write blog posts in Markdown format, then use it to do syntax highlighting, format ghci sessions, and upload to any blog supporting the metaWeblog API (such as Wordpress)

There are three methods to install blogliterately on Ubuntu 20.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 blogliterately Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install blogliterately

Install blogliterately Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install blogliterately using apt by running the following command:

sudo apt -y install blogliterately

Install blogliterately 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 blogliterately using aptitude by running the following command:

sudo aptitude -y install blogliterately

How To Uninstall blogliterately on Ubuntu 20.04

To uninstall only the blogliterately package we can use the following command:

sudo apt-get remove blogliterately

Uninstall blogliterately And Its Dependencies

To uninstall blogliterately and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove blogliterately

Remove blogliterately Configurations and Data

To remove blogliterately configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge blogliterately

Remove blogliterately configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge blogliterately

References

Summary

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