How To Install sd2epub on Ubuntu 18.04

In this tutorial we learn how to install sd2epub on Ubuntu 18.04. sd2epub is StarOffice to OpenDocument converter

Introduction

In this tutorial we learn how to install sd2epub on Ubuntu 18.04.

What is sd2epub

sd2epub is:

This package contains a utility for converting StarOffice documents (*.sd?) to EPUB

There are three methods to install sd2epub 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 sd2epub Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install sd2epub

Install sd2epub Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install sd2epub

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

sudo aptitude -y install sd2epub

How To Uninstall sd2epub on Ubuntu 18.04

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

sudo apt-get remove sd2epub

Uninstall sd2epub And Its Dependencies

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

sudo apt-get -y autoremove sd2epub

Remove sd2epub Configurations and Data

To remove sd2epub configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge sd2epub

Remove sd2epub configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge sd2epub

References

Summary

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