How To Install libgl1-nvidia-legacy-390xx-glx on Kali Linux
Introduction
In this tutorial we learn how to install libgl1-nvidia-legacy-390xx-glx
on Kali Linux.
What is libgl1-nvidia-legacy-390xx-glx
libgl1-nvidia-legacy-390xx-glx is:
The NVIDIA binary driver provides optimized hardware acceleration of OpenGL/GLX/EGL/GLES applications via a direct-rendering X Server for graphics cards using NVIDIA chip sets.
See the description of the nvidia-legacy-390xx-driver package or /usr/share/doc/libgl1-nvidia-legacy-390xx-glx/README.txt.gz for a complete list of supported GPUs and PCI IDs.
This package contains the driver specific binary OpenGL/GLX implementation provided by NVIDIA as a non-GLVND alternative.
There are three methods to install libgl1-nvidia-legacy-390xx-glx
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 libgl1-nvidia-legacy-390xx-glx Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libgl1-nvidia-legacy-390xx-glx
using apt-get
by running the following command:
sudo apt-get -y install libgl1-nvidia-legacy-390xx-glx
Install libgl1-nvidia-legacy-390xx-glx Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libgl1-nvidia-legacy-390xx-glx
using apt
by running the following command:
sudo apt -y install libgl1-nvidia-legacy-390xx-glx
Install libgl1-nvidia-legacy-390xx-glx 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 libgl1-nvidia-legacy-390xx-glx
using aptitude
by running the following command:
sudo aptitude -y install libgl1-nvidia-legacy-390xx-glx
How To Uninstall libgl1-nvidia-legacy-390xx-glx on Kali Linux
To uninstall only the libgl1-nvidia-legacy-390xx-glx
package we can use the following command:
sudo apt-get remove libgl1-nvidia-legacy-390xx-glx
Uninstall libgl1-nvidia-legacy-390xx-glx And Its Dependencies
To uninstall libgl1-nvidia-legacy-390xx-glx
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libgl1-nvidia-legacy-390xx-glx
Remove libgl1-nvidia-legacy-390xx-glx Configurations and Data
To remove libgl1-nvidia-legacy-390xx-glx
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libgl1-nvidia-legacy-390xx-glx
Remove libgl1-nvidia-legacy-390xx-glx configuration, data, and all of its dependencies
We can use the following command to remove libgl1-nvidia-legacy-390xx-glx
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libgl1-nvidia-legacy-390xx-glx
Dependencies
libgl1-nvidia-legacy-390xx-glx have the following dependencies:
- nvidia-installer-cleanup
- nvidia-legacy-390xx-alternative
- libnvidia-legacy-390xx-glcore
- nvidia-support
- libc6
- libx11-6
- libxext6
References
Summary
In this tutorial we learn how to install libgl1-nvidia-legacy-390xx-glx
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.