How To Install golang-docker-dev on Ubuntu 20.04
Introduction
In this tutorial we learn how to install golang-docker-dev
on Ubuntu 20.04.
What is golang-docker-dev
golang-docker-dev is:
This is a transitional package to ease upgrades to the golang-github-docker-docker-dev package. It can safely be removed.
Package: golang-docker-dev Architecture: all Version: 19.03.8-0ubuntu1 Priority: optional Section: universe/admin Source: docker.io Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Paul Tagliamonte [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 61 Depends: golang-github-docker-docker-dev Filename: pool/universe/d/docker.io/golang-docker-dev_19.03.8-0ubuntu1_all.deb Size: 11628 MD5sum: 07bb8e379bf34b761c570deeab4494ad SHA1: 33b6d2bef1a4c5f43ee9996dc9193f4a0a71f367 SHA256: eb2f52ec423bf12eca2b85a8af449d56d0ff1e931f0de460fd18806af8ce4fe3 Homepage: https://www.docker.com/community-edition Description-en: Transitional package for golang-github-docker-docker-dev This is a transitional package to ease upgrades to the golang-github-docker-docker-dev package. It can safely be removed.
There are three methods to install golang-docker-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-docker-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-docker-dev
using apt-get
by running the following command:
sudo apt-get -y install golang-docker-dev
Install golang-docker-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install golang-docker-dev
using apt
by running the following command:
sudo apt -y install golang-docker-dev
Install golang-docker-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-docker-dev
using aptitude
by running the following command:
sudo aptitude -y install golang-docker-dev
How To Uninstall golang-docker-dev on Ubuntu 20.04
To uninstall only the golang-docker-dev
package we can use the following command:
sudo apt-get remove golang-docker-dev
Uninstall golang-docker-dev And Its Dependencies
To uninstall golang-docker-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-docker-dev
Remove golang-docker-dev Configurations and Data
To remove golang-docker-dev
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge golang-docker-dev
Remove golang-docker-dev configuration, data, and all of its dependencies
We can use the following command to remove golang-docker-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge golang-docker-dev
References
Summary
In this tutorial we learn how to install golang-docker-dev
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.