How To Install google-compute-engine-oslogin on Ubuntu 20.04
Introduction
In this tutorial we learn how to install google-compute-engine-oslogin
on Ubuntu 20.04.
What is google-compute-engine-oslogin
google-compute-engine-oslogin is:
Contains libraries, applications and configurations for using OS Login on Google Compute Engine Virtual Machine Instances.
Package: google-compute-engine-oslogin Architecture: amd64 Version: 20190801-0ubuntu4.1 Priority: extra Section: admin Source: gce-compute-image-packages Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Daniel Watkins [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 3995 Depends: libc6 (>= 2.7), libcurl4 (>= 7.16.2), libgcc-s1 (>= 3.0), libjson-c4 (>= 0.13.1), libpam0g (>= 0.99.7.1), libstdc++6 (>= 9), openssh-server Filename: pool/main/g/gce-compute-image-packages/google-compute-engine-oslogin_20190801-0ubuntu4.1_amd64.deb Size: 386316 MD5sum: bb420d0cf638dfa3577a7833f2f88fdb SHA1: 4453091b459565f0cf1400ed039526e5526af1a2 SHA256: bf077d8e73ec5e85738f2e3d2b1d9d150bc13b1b410e18a7ee92afb358d171d8 SHA512: c7ae2aab0aff00881c6beb8f22b6a7283fe14d9c83631a49f95b372ce7f79eaf91f419244d073d648f9a645361982494af31263183a1e0a19ff2022da234d730 Homepage: https://github.com/GoogleCloudPlatform/compute-image-packages Description-en: Google Compute Engine OS Login Contains libraries, applications and configurations for using OS Login on Google Compute Engine Virtual Machine Instances.
Package: google-compute-engine-oslogin Architecture: amd64 Version: 20190801-0ubuntu4 Priority: extra Section: admin Source: gce-compute-image-packages Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Daniel Watkins [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 3995 Depends: libc6 (>= 2.7), libcurl4 (>= 7.16.2), libgcc-s1 (>= 3.0), libjson-c4 (>= 0.13.1), libpam0g (>= 0.99.7.1), libstdc++6 (>= 9), openssh-server Filename: pool/main/g/gce-compute-image-packages/google-compute-engine-oslogin_20190801-0ubuntu4_amd64.deb Size: 383268 MD5sum: c74bf56af7d6b879a93c9b4c147f738a SHA1: a87e615e31d5006ade57df2498dc08b107d7b8ad SHA256: cecf686f7ad3fd689bd0ea03c9d98be68aeab8bdc957fb4f0e33c71ee7578046 Homepage: https://github.com/GoogleCloudPlatform/compute-image-packages Description-en: Google Compute Engine OS Login Contains libraries, applications and configurations for using OS Login on Google Compute Engine Virtual Machine Instances.
There are three methods to install google-compute-engine-oslogin
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 google-compute-engine-oslogin Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install google-compute-engine-oslogin
using apt-get
by running the following command:
sudo apt-get -y install google-compute-engine-oslogin
Install google-compute-engine-oslogin Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install google-compute-engine-oslogin
using apt
by running the following command:
sudo apt -y install google-compute-engine-oslogin
Install google-compute-engine-oslogin 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 google-compute-engine-oslogin
using aptitude
by running the following command:
sudo aptitude -y install google-compute-engine-oslogin
How To Uninstall google-compute-engine-oslogin on Ubuntu 20.04
To uninstall only the google-compute-engine-oslogin
package we can use the following command:
sudo apt-get remove google-compute-engine-oslogin
Uninstall google-compute-engine-oslogin And Its Dependencies
To uninstall google-compute-engine-oslogin
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove google-compute-engine-oslogin
Remove google-compute-engine-oslogin Configurations and Data
To remove google-compute-engine-oslogin
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge google-compute-engine-oslogin
Remove google-compute-engine-oslogin configuration, data, and all of its dependencies
We can use the following command to remove google-compute-engine-oslogin
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge google-compute-engine-oslogin
References
Summary
In this tutorial we learn how to install google-compute-engine-oslogin
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.