How To Install libgtkmathview-dev on Ubuntu 18.04
Introduction
In this tutorial we learn how to install libgtkmathview-dev
on Ubuntu 18.04.
What is libgtkmathview-dev
libgtkmathview-dev 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 the development support files.
There are three methods to install libgtkmathview-dev
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-dev 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-dev
using apt-get
by running the following command:
sudo apt-get -y install libgtkmathview-dev
Install libgtkmathview-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libgtkmathview-dev
using apt
by running the following command:
sudo apt -y install libgtkmathview-dev
Install libgtkmathview-dev 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-dev
using aptitude
by running the following command:
sudo aptitude -y install libgtkmathview-dev
How To Uninstall libgtkmathview-dev on Ubuntu 18.04
To uninstall only the libgtkmathview-dev
package we can use the following command:
sudo apt-get remove libgtkmathview-dev
Uninstall libgtkmathview-dev And Its Dependencies
To uninstall libgtkmathview-dev
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove libgtkmathview-dev
Remove libgtkmathview-dev Configurations and Data
To remove libgtkmathview-dev
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge libgtkmathview-dev
Remove libgtkmathview-dev configuration, data, and all of its dependencies
We can use the following command to remove libgtkmathview-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libgtkmathview-dev
References
Summary
In this tutorial we learn how to install libgtkmathview-dev
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.