How To Install dvips-fontdata-n2bk on Ubuntu 18.04

In this tutorial we learn how to install dvips-fontdata-n2bk on Ubuntu 18.04. dvips-fontdata-n2bk is Virtual font data to process dvi files generated by NTT-JTeX

Introduction

In this tutorial we learn how to install dvips-fontdata-n2bk on Ubuntu 18.04.

What is dvips-fontdata-n2bk

dvips-fontdata-n2bk is:

This package contains virtual font data to convert Dai-Nippon fonts, which are used in dvi files generated by NTT-JTeX, to Japanese built-in fonts in PostScript printer.

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

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

sudo apt-get update

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

sudo apt-get -y install dvips-fontdata-n2bk

Install dvips-fontdata-n2bk Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install dvips-fontdata-n2bk using apt by running the following command:

sudo apt -y install dvips-fontdata-n2bk

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

sudo aptitude -y install dvips-fontdata-n2bk

How To Uninstall dvips-fontdata-n2bk on Ubuntu 18.04

To uninstall only the dvips-fontdata-n2bk package we can use the following command:

sudo apt-get remove dvips-fontdata-n2bk

Uninstall dvips-fontdata-n2bk And Its Dependencies

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

sudo apt-get -y autoremove dvips-fontdata-n2bk

Remove dvips-fontdata-n2bk Configurations and Data

To remove dvips-fontdata-n2bk configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge dvips-fontdata-n2bk

Remove dvips-fontdata-n2bk configuration, data, and all of its dependencies

We can use the following command to remove dvips-fontdata-n2bk configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge dvips-fontdata-n2bk

References

Summary

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