How To Install gnome-session-bin on Kali Linux
Introduction
In this tutorial we learn how to install gnome-session-bin
on Kali Linux.
What is gnome-session-bin
gnome-session-bin is:
The GNOME Session Manager is in charge of starting the core components of the GNOME desktop, and applications that should be launched at login time. It also features a way to save and restore currently running applications.
This package contains the binaries for the GNOME Session Manager, but no startup scripts. It is meant for those willing to start gnome-session by hand with the components of their choice, and for applications such as GDM that use gnome-session internally.
There are three methods to install gnome-session-bin
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 gnome-session-bin Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install gnome-session-bin
using apt-get
by running the following command:
sudo apt-get -y install gnome-session-bin
Install gnome-session-bin Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install gnome-session-bin
using apt
by running the following command:
sudo apt -y install gnome-session-bin
Install gnome-session-bin 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 gnome-session-bin
using aptitude
by running the following command:
sudo aptitude -y install gnome-session-bin
How To Uninstall gnome-session-bin on Kali Linux
To uninstall only the gnome-session-bin
package we can use the following command:
sudo apt-get remove gnome-session-bin
Uninstall gnome-session-bin And Its Dependencies
To uninstall gnome-session-bin
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove gnome-session-bin
Remove gnome-session-bin Configurations and Data
To remove gnome-session-bin
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge gnome-session-bin
Remove gnome-session-bin configuration, data, and all of its dependencies
We can use the following command to remove gnome-session-bin
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge gnome-session-bin
Dependencies
gnome-session-bin have the following dependencies:
- dbus-x11
- gsettings-desktop-schemas
- upower
- xwayland
- dconf-gsettings-backend
- libc6
- libegl1
- libepoxy0
- libgl1
- libgles2
- libglib2.0-0
- libgnome-desktop-3-19
- libgtk-3-0
- libice6
References
Summary
In this tutorial we learn how to install gnome-session-bin
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.