How To Install wire on Debian 9

In this tutorial we learn how to install wire on Debian 9. wire is Simple Wire encoding protocol command line tool

Introduction

In this tutorial we learn how to install wire on Debian 9.

What is wire

wire is:

This software implements Go bindings for the Wire encoding protocol. The goal of the Wire encoding protocol is to be a simple language-agnostic encoding protocol for rapid prototyping of blockchain applications.

This package provides the wire command line client.

There are three methods to install wire on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install wire Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install wire using apt-get by running the following command:

sudo apt-get -y install wire

Install wire Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install wire using apt by running the following command:

sudo apt -y install wire

Install wire 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install wire using aptitude by running the following command:

sudo aptitude -y install wire

How To Uninstall wire on Debian 9

To uninstall only the wire package we can use the following command:

sudo apt-get remove wire

Uninstall wire And Its Dependencies

To uninstall wire and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove wire

Remove wire Configurations and Data

To remove wire configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge wire

Remove wire configuration, data, and all of its dependencies

We can use the following command to remove wire configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge wire

Dependencies

wire have the following dependencies:

References

Summary

In this tutorial we learn how to install wire package on Debian 9 using different package management tools: apt, apt-get and aptitude.