How To Install jsmath-fonts-sprite on Kali Linux

In this tutorial we learn how to install jsmath-fonts-sprite on Kali Linux. jsmath-fonts-sprite is raster fonts for jsMath plugin spriteImageFonts

Introduction

In this tutorial we learn how to install jsmath-fonts-sprite on Kali Linux.

What is jsmath-fonts-sprite

jsmath-fonts-sprite is:

Rasterized fonts saved in separate image files – 1 image per font to enable viewing of jsMath pages by a web-browser which is missing access to TeX fonts. Sprite organization of raster fonts alleviates the problem of jsmath-fonts, which is a tremendous number of images since each character has a separate image file. But such advantage comes at speed and compatibility cost.

There are three methods to install jsmath-fonts-sprite on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install jsmath-fonts-sprite Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install jsmath-fonts-sprite

Install jsmath-fonts-sprite Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install jsmath-fonts-sprite using apt by running the following command:

sudo apt -y install jsmath-fonts-sprite

Install jsmath-fonts-sprite Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install jsmath-fonts-sprite using aptitude by running the following command:

sudo aptitude -y install jsmath-fonts-sprite

How To Uninstall jsmath-fonts-sprite on Kali Linux

To uninstall only the jsmath-fonts-sprite package we can use the following command:

sudo apt-get remove jsmath-fonts-sprite

Uninstall jsmath-fonts-sprite And Its Dependencies

To uninstall jsmath-fonts-sprite and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove jsmath-fonts-sprite

Remove jsmath-fonts-sprite Configurations and Data

To remove jsmath-fonts-sprite configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge jsmath-fonts-sprite

Remove jsmath-fonts-sprite configuration, data, and all of its dependencies

We can use the following command to remove jsmath-fonts-sprite configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge jsmath-fonts-sprite

Dependencies

jsmath-fonts-sprite have the following dependencies:

References

Summary

In this tutorial we learn how to install jsmath-fonts-sprite package on Kali Linux using different package management tools: apt, apt-get and aptitude.