How To Install r-cran-systemfonts on Kali Linux

In this tutorial we learn how to install r-cran-systemfonts on Kali Linux. r-cran-systemfonts is system native font finding for GNU R

Introduction

In this tutorial we learn how to install r-cran-systemfonts on Kali Linux.

What is r-cran-systemfonts

r-cran-systemfonts is:

Provides system native access to the font catalogue. As font handling varies between systems it is difficult to correctly locate installed fonts across different operating systems. The ‘systemfonts’ package provides bindings to the native libraries on Windows, macOS and Linux for finding font files that can then be used further by e.g. graphic devices. The main use is intended to be from compiled code but ‘systemfonts’ also provides access from R.

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

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

sudo apt-get update

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

sudo apt-get -y install r-cran-systemfonts

Install r-cran-systemfonts Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install r-cran-systemfonts using apt by running the following command:

sudo apt -y install r-cran-systemfonts

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

sudo aptitude -y install r-cran-systemfonts

How To Uninstall r-cran-systemfonts on Kali Linux

To uninstall only the r-cran-systemfonts package we can use the following command:

sudo apt-get remove r-cran-systemfonts

Uninstall r-cran-systemfonts And Its Dependencies

To uninstall r-cran-systemfonts and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove r-cran-systemfonts

Remove r-cran-systemfonts Configurations and Data

To remove r-cran-systemfonts configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge r-cran-systemfonts

Remove r-cran-systemfonts configuration, data, and all of its dependencies

We can use the following command to remove r-cran-systemfonts configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge r-cran-systemfonts

Dependencies

r-cran-systemfonts have the following dependencies:

References

Summary

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