How To Install opengcs on Ubuntu 20.04
Introduction
In this tutorial we learn how to install opengcs
on Ubuntu 20.04.
What is opengcs
opengcs is:
Open Guest Compute Service is a Linux-based open source project to further the development of a production quality implementation of Linux Hyper-V container on Microsoft Windows (LCOW). It’s designed to run inside a custom Linux OS for supporting Linux container payload.
Package: opengcs Architecture: amd64 Version: 0.3.4+dfsg2-0ubuntu3 Built-Using: golang-1.10 (= 1.10-1ubuntu1), golang-github-docker-go-units (= 0.3.1+git20170127.11.9e638d3-1), golang-github-linuxkit-virtsock (= 0.0~git20170720.0.0416e3d-1), golang-github-mattn-go-shellwords (= 1.0.3-1), golang-github-opencontainers-specs (= 1.0.1-3), golang-github-pkg-errors (= 0.8.0+git20170505.5.c605e28-1), golang-github-vishvananda-netlink (= 0.0~git20170407.0.1e86b2b-1), golang-github-vishvananda-netns (= 0.0~git20170707.0.86bef33-1), golang-golang-x-net-dev (= 1:0.0+git20170629.c81e7f2+dfsg-2), golang-golang-x-sys (= 0.0~git20180308.349b81f-1), golang-logrus (= 1.0.2-2), runc (= 1.0.0~rc4+dfsg1-2) Priority: optional Section: universe/devel Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian Go Packaging Team [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 5588 Depends: libc6 (>= 2.4), iproute | iproute2, runc (>= 1.0.0~rc4), udhcpd Filename: pool/universe/o/opengcs/opengcs_0.3.4+dfsg2-0ubuntu3_amd64.deb Size: 1255756 MD5sum: 918af1161ae5ba6ab6d1c51475c66958 SHA1: fe51ad6456c1e92f0187a52909c54f9ab78578ff SHA256: 04e7353bc6b4acc225df576515e4d25c051606146008a3cc50d9f1507c11c92e Homepage: https://github.com/Microsoft/opengcs Description-en: Guest Compute Service for Linux Hyper-V Container Open Guest Compute Service is a Linux-based open source project to further the development of a production quality implementation of Linux Hyper-V container on Microsoft Windows (LCOW). It’s designed to run inside a custom Linux OS for supporting Linux container payload.
There are three methods to install opengcs
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 opengcs Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install opengcs
using apt-get
by running the following command:
sudo apt-get -y install opengcs
Install opengcs Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install opengcs
using apt
by running the following command:
sudo apt -y install opengcs
Install opengcs 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 opengcs
using aptitude
by running the following command:
sudo aptitude -y install opengcs
How To Uninstall opengcs on Ubuntu 20.04
To uninstall only the opengcs
package we can use the following command:
sudo apt-get remove opengcs
Uninstall opengcs And Its Dependencies
To uninstall opengcs
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove opengcs
Remove opengcs Configurations and Data
To remove opengcs
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge opengcs
Remove opengcs configuration, data, and all of its dependencies
We can use the following command to remove opengcs
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge opengcs
References
Summary
In this tutorial we learn how to install opengcs
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.