How To Install libgtkmathview-bin on Ubuntu 18.04

In this tutorial we learn how to install libgtkmathview-bin on Ubuntu 18.04. libgtkmathview-bin is rendering engine for MathML documents

Introduction

In this tutorial we learn how to install libgtkmathview-bin on Ubuntu 18.04.

What is libgtkmathview-bin

libgtkmathview-bin is:

GtkMathView is a C++ rendering engine for MathML documents. It provides an interactive view that can be used for browsing and editing MathML markup.

GtkMathView reads MathML documents by means of a frontend whose purpose is to traverse the MathML document (or part of it) and to appropriately instantiate GtkMathView’s internal data structures that are suitable for rendering it. Currently the following frontends are supported: libxml2 (tree view using libxml2 API), libxml2 reader (event view using libxml2 reader API), GMetaDOM (tree view using DOM API), custom (application-specific view with application-provided callbacks).

GtkMathView renders MathML documents through a backend whose purpose is to provide an interface between the portable rendering engine and the platform-specific capabilities (like retrieving fonts, drawing on the screen, and so on). Currently the following backends are provided: GTK+, GTK+ widget, PostScript, SVG, AbiWord.

This package includes utilities to view and render MathML documents.

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

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

sudo apt-get update

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

sudo apt-get -y install libgtkmathview-bin

Install libgtkmathview-bin Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libgtkmathview-bin

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

sudo aptitude -y install libgtkmathview-bin

How To Uninstall libgtkmathview-bin on Ubuntu 18.04

To uninstall only the libgtkmathview-bin package we can use the following command:

sudo apt-get remove libgtkmathview-bin

Uninstall libgtkmathview-bin And Its Dependencies

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

sudo apt-get -y autoremove libgtkmathview-bin

Remove libgtkmathview-bin Configurations and Data

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

sudo apt-get -y purge libgtkmathview-bin

Remove libgtkmathview-bin configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libgtkmathview-bin

References

Summary

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