How To Install golang-github-snapcore-snapd-dev on Ubuntu 20.04

In this tutorial we learn how to install golang-github-snapcore-snapd-dev on Ubuntu 20.04. golang-github-snapcore-snapd-dev is snappy development go packages. snappy development go packages. snappy development go packages.

Introduction

In this tutorial we learn how to install golang-github-snapcore-snapd-dev on Ubuntu 20.04.

What is golang-github-snapcore-snapd-dev

golang-github-snapcore-snapd-dev is:

Use these to use the snappy API.

Package: golang-github-snapcore-snapd-dev Architecture: all Version: 2.48.3+20.04 Priority: optional Section: devel Source: snapd Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 24395 Breaks: golang-github-ubuntu-core-snappy-dev (« 2.0.6), golang-snappy-dev (« 1.7.3+20160303ubuntu4) Replaces: golang-github-ubuntu-core-snappy-dev (« 2.0.6), golang-snappy-dev (« 1.7.3+20160303ubuntu4) Filename: pool/main/s/snapd/golang-github-snapcore-snapd-dev_2.48.3+20.04_all.deb Size: 2729832 MD5sum: f1d219b0638c55fe6bb212bd8e13ad0a SHA1: 3a54625557c62e3b18139a87c49c0469fdf30523 SHA256: 02de1f3a677cf957d5190badc4953eac21116d3f1e76f49277d256453f04d5d5 SHA512: 59f9bea22fafe86b8486c8766459001e19d94096fde67fd6cb5c2e9b4ef134d818a3be93f74b944c62741fdc06487dd48a959d13c1168ec2a6dae059da4b490d Homepage: https://github.com/snapcore/snapd Description-en: snappy development go packages. Use these to use the snappy API.

Package: golang-github-snapcore-snapd-dev Architecture: all Version: 2.44.3+20.04 Priority: optional Section: devel Source: snapd Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 15588 Breaks: golang-github-ubuntu-core-snappy-dev (« 2.0.6), golang-snappy-dev (« 1.7.3+20160303ubuntu4) Replaces: golang-github-ubuntu-core-snappy-dev (« 2.0.6), golang-snappy-dev (« 1.7.3+20160303ubuntu4) Filename: pool/main/s/snapd/golang-github-snapcore-snapd-dev_2.44.3+20.04_all.deb Size: 2012420 MD5sum: 75568644fc7581ad2013758b0d8169bd SHA1: b87ad0df03fd5e41e1c398428b122971a734ff1d SHA256: 88a5cf6a84d72b77286708af6f1c8f6d780a3ba6dd12d7b97ea60da20efce506 Homepage: https://github.com/snapcore/snapd Description-en: snappy development go packages. Use these to use the snappy API.

There are three methods to install golang-github-snapcore-snapd-dev 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 golang-github-snapcore-snapd-dev Using apt-get

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

sudo apt-get update

After updating apt database, We can install golang-github-snapcore-snapd-dev using apt-get by running the following command:

sudo apt-get -y install golang-github-snapcore-snapd-dev

Install golang-github-snapcore-snapd-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install golang-github-snapcore-snapd-dev using apt by running the following command:

sudo apt -y install golang-github-snapcore-snapd-dev

Install golang-github-snapcore-snapd-dev 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 golang-github-snapcore-snapd-dev using aptitude by running the following command:

sudo aptitude -y install golang-github-snapcore-snapd-dev

How To Uninstall golang-github-snapcore-snapd-dev on Ubuntu 20.04

To uninstall only the golang-github-snapcore-snapd-dev package we can use the following command:

sudo apt-get remove golang-github-snapcore-snapd-dev

Uninstall golang-github-snapcore-snapd-dev And Its Dependencies

To uninstall golang-github-snapcore-snapd-dev and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove golang-github-snapcore-snapd-dev

Remove golang-github-snapcore-snapd-dev Configurations and Data

To remove golang-github-snapcore-snapd-dev configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge golang-github-snapcore-snapd-dev

Remove golang-github-snapcore-snapd-dev configuration, data, and all of its dependencies

We can use the following command to remove golang-github-snapcore-snapd-dev configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge golang-github-snapcore-snapd-dev

References

Summary

In this tutorial we learn how to install golang-github-snapcore-snapd-dev package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.