Introduction
In this tutorial we learn how to install agent-transfer
on Ubuntu 20.04.
What is agent-transfer
agent-transfer is:
agent-transfer is a simple utility to extract a secret key from
GnuPG’s gpg-agent and send it to a running ssh-agent. This is useful
for those who prefer the runtime semantics and behavior of OpenSSH’s
ssh-agent, but whose secret keys are held in long-term storage by
GnuPG’s gpg-agent.
This tool comes from the monkeysphere project.
There are three methods to install agent-transfer
on Ubuntu 20.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 agent-transfer Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install agent-transfer
using apt-get
by running the following command:
sudo apt-get -y install agent-transfer
Install agent-transfer Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install agent-transfer
using apt
by running the following command:
sudo apt -y install agent-transfer
Install agent-transfer 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 agent-transfer
using aptitude
by running the following command:
sudo aptitude -y install agent-transfer
How To Uninstall agent-transfer on Ubuntu 20.04
To uninstall only the agent-transfer
package we can use the following command:
sudo apt-get remove agent-transfer
Uninstall agent-transfer And Its Dependencies
To uninstall agent-transfer
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove agent-transfer
Remove agent-transfer Configurations and Data
To remove agent-transfer
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge agent-transfer
Remove agent-transfer configuration, data, and all of its dependencies
We can use the following command to remove agent-transfer
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge agent-transfer
References
Summary
In this tutorial we learn how to install agent-transfer
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.