How To Install libmojoshader-dev on Kali Linux
Introduction
In this tutorial we learn how to install libmojoshader-dev on Kali Linux.
What is libmojoshader-dev
libmojoshader-dev is:
MojoShader is a library to work with Direct3D shaders on alternate 3D APIs and non-Windows platforms. The primary motivation is moving shaders to OpenGL languages on the fly. The developer deals with “profiles” that represent various target languages, such as GLSL or ARB_*_program.
This allows a developer to manage one set of shaders, presumably written in Direct3D HLSL, and use them across multiple rendering backends. This also means that the developer only has to worry about one (offline) compiler to manage program complexity, while MojoShader itself deals with the reduced complexity of the bytecode at runtime.
MojoShader provides both a simple API to convert bytecode to various profiles, and (optionally) basic glue to rendering APIs to abstract the management of the shaders at runtime.
This package contains the header files and static library for libmojoshader0.
There are three methods to install libmojoshader-dev 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 libmojoshader-dev Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install libmojoshader-dev using apt-get by running the following command:
sudo apt-get -y install libmojoshader-devInstall libmojoshader-dev Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libmojoshader-dev using apt by running the following command:
sudo apt -y install libmojoshader-devInstall libmojoshader-dev 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 updateAfter updating apt database, We can install libmojoshader-dev using aptitude by running the following command:
sudo aptitude -y install libmojoshader-devHow To Uninstall libmojoshader-dev on Kali Linux
To uninstall only the libmojoshader-dev package we can use the following command:
sudo apt-get remove libmojoshader-devUninstall libmojoshader-dev And Its Dependencies
To uninstall libmojoshader-dev and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libmojoshader-devRemove libmojoshader-dev Configurations and Data
To remove libmojoshader-dev configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libmojoshader-devRemove libmojoshader-dev configuration, data, and all of its dependencies
We can use the following command to remove libmojoshader-dev configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libmojoshader-devDependencies
libmojoshader-dev have the following dependencies:
References
Summary
In this tutorial we learn how to install libmojoshader-dev package on Kali Linux using different package management tools: apt, apt-get and aptitude.