How To Install ssh-askpass-gnome on Ubuntu 18.04
Introduction
In this tutorial we learn how to install ssh-askpass-gnome
on Ubuntu 18.04.
What is ssh-askpass-gnome
ssh-askpass-gnome is:
This has been split out of the main openssh-client package so that openssh-client does not need to depend on GTK+.
You probably want the ssh-askpass package instead, but this is provided to add to your choice and/or confusion.
There are three methods to install ssh-askpass-gnome
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 ssh-askpass-gnome Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install ssh-askpass-gnome
using apt-get
by running the following command:
sudo apt-get -y install ssh-askpass-gnome
Install ssh-askpass-gnome Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install ssh-askpass-gnome
using apt
by running the following command:
sudo apt -y install ssh-askpass-gnome
Install ssh-askpass-gnome 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 ssh-askpass-gnome
using aptitude
by running the following command:
sudo aptitude -y install ssh-askpass-gnome
How To Uninstall ssh-askpass-gnome on Ubuntu 18.04
To uninstall only the ssh-askpass-gnome
package we can use the following command:
sudo apt-get remove ssh-askpass-gnome
Uninstall ssh-askpass-gnome And Its Dependencies
To uninstall ssh-askpass-gnome
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove ssh-askpass-gnome
Remove ssh-askpass-gnome Configurations and Data
To remove ssh-askpass-gnome
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge ssh-askpass-gnome
Remove ssh-askpass-gnome configuration, data, and all of its dependencies
We can use the following command to remove ssh-askpass-gnome
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ssh-askpass-gnome
References
Summary
In this tutorial we learn how to install ssh-askpass-gnome
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.