How To Install sdf on Ubuntu 18.04

In this tutorial we learn how to install sdf on Ubuntu 18.04. sdf is Simple Document Parser

Introduction

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

What is sdf

sdf is:

SDF (Simple Document Format) is a freely available document development system which generates high quality outputs in a variety of formats from a single source. The output formats supported include PostScript(tm), PDF, HTML, plain text, POD, man pages, LaTeX, MIF, SGML, Windows(tm) help, RTF, MIMS F6 help and MIMS HTX help. If the idea of specifying documents in a logical manner via a simple markup language sounds appealing, SDF may be useful to you.

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

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

sudo apt-get update

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

sudo apt-get -y install sdf

Install sdf Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install sdf

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

sudo aptitude -y install sdf

How To Uninstall sdf on Ubuntu 18.04

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

sudo apt-get remove sdf

Uninstall sdf And Its Dependencies

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

sudo apt-get -y autoremove sdf

Remove sdf Configurations and Data

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

sudo apt-get -y purge sdf

Remove sdf configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge sdf

References

Summary

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