How To Install sessioninstaller on Ubuntu 18.04
Introduction
In this tutorial we learn how to install sessioninstaller
on Ubuntu 18.04.
What is sessioninstaller
sessioninstaller is:
Sessioninstaller allows applications to easily install additional software (e.g. extensions or GStreamer codecs), uninstall files and perform simple software status queries by implementing the distribution neutral D-Bus session interface of PackageKit.
The whole process including confirmation, error reporting and progress and notification is handled by sessioninstaller.
The reference implementation of the D-Bus interface can be found in gnome-packagekit. It was also adopted by KPackageKit.
In contrast to gnome-packagekit and KPackageKit it doesn’t use the PackageKit daemon for querying and installation, but instead makes use of APT and aptdaemon (alternatively synaptic can be used).
There are three methods to install sessioninstaller
on Ubuntu 18.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install sessioninstaller Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install sessioninstaller
using apt-get
by running the following command:
sudo apt-get -y install sessioninstaller
Install sessioninstaller Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install sessioninstaller
using apt
by running the following command:
sudo apt -y install sessioninstaller
Install sessioninstaller Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install sessioninstaller
using aptitude
by running the following command:
sudo aptitude -y install sessioninstaller
How To Uninstall sessioninstaller on Ubuntu 18.04
To uninstall only the sessioninstaller
package we can use the following command:
sudo apt-get remove sessioninstaller
Uninstall sessioninstaller And Its Dependencies
To uninstall sessioninstaller
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove sessioninstaller
Remove sessioninstaller Configurations and Data
To remove sessioninstaller
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge sessioninstaller
Remove sessioninstaller configuration, data, and all of its dependencies
We can use the following command to remove sessioninstaller
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge sessioninstaller
References
Summary
In this tutorial we learn how to install sessioninstaller
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.