How To Install texlive-lang-arabic on Kali Linux

In this tutorial we learn how to install texlive-lang-arabic on Kali Linux. texlive-lang-arabic is TeX Live

Introduction

In this tutorial we learn how to install texlive-lang-arabic on Kali Linux.

What is texlive-lang-arabic

texlive-lang-arabic is:

Support for Arabic and Persian.

This package includes the following CTAN packages:

alkalami – A font for Arabic-based writing systems in Nigeria and Niger

alpha-persian – Persian version of alpha.bst

amiri – A classical Arabic typeface, Naskh style

arabi – (La)TeX support for Arabic and Farsi, compliant with Babel

arabi-add – Using hyperref and bookmark packages with arabic and farsi languages

arabluatex – ArabTeX for LuaLaTeX

arabtex – Macros and fonts for typesetting Arabic

bidi – Bidirectional typesetting in plain TeX and LaTeX, using XeTeX

bidihl – Experimental bidi-aware text highlighting

dad – Simple typesetting system for mixed Arabic/Latin documents

ghab – Typeset ghab boxes in LaTeX

hvarabic – Macros for RTL typesetting

hyphen-arabic – (No) Arabic hyphenation patterns.

hyphen-farsi – (No) Persian hyphenation patterns.

imsproc – Typeset IMS conference proceedings

kurdishlipsum – A ’lipsum’ package for the Kurdish language

lshort-persian – Persian (Farsi) introduction to LaTeX

luabidi – Bidi functions for LuaTeX

na-box – Arabic-aware version of pas-cours package

persian-bib – Persian translations of classic BibTeX styles

quran – An easy way to typeset any part of The Holy Quran

sexam – Package for typesetting arabic exam scripts

simurgh – Typeset Parsi in LuaLaTeX

texnegar – Kashida justification in XeLaTeX and LuaLaTeX

tram – Typeset tram boxes in LaTeX

xepersian – Persian for LaTeX, using XeTeX

xepersian-hm – Fixes kashida feature in xepersian package

There are three methods to install texlive-lang-arabic 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 texlive-lang-arabic Using apt-get

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

sudo apt-get update

After updating apt database, We can install texlive-lang-arabic using apt-get by running the following command:

sudo apt-get -y install texlive-lang-arabic

Install texlive-lang-arabic Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install texlive-lang-arabic using apt by running the following command:

sudo apt -y install texlive-lang-arabic

Install texlive-lang-arabic 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 texlive-lang-arabic using aptitude by running the following command:

sudo aptitude -y install texlive-lang-arabic

How To Uninstall texlive-lang-arabic on Kali Linux

To uninstall only the texlive-lang-arabic package we can use the following command:

sudo apt-get remove texlive-lang-arabic

Uninstall texlive-lang-arabic And Its Dependencies

To uninstall texlive-lang-arabic and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove texlive-lang-arabic

Remove texlive-lang-arabic Configurations and Data

To remove texlive-lang-arabic configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge texlive-lang-arabic

Remove texlive-lang-arabic configuration, data, and all of its dependencies

We can use the following command to remove texlive-lang-arabic configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge texlive-lang-arabic

Dependencies

texlive-lang-arabic have the following dependencies:

References

Summary

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