How to Install and Uninstall cloud-init Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 17,2024

1. Install "cloud-init" package

This tutorial shows how to install cloud-init on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install cloud-init

2. Uninstall "cloud-init" package

This guide covers the steps necessary to uninstall cloud-init on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove cloud-init $ sudo apt autoclean && sudo apt autoremove

3. Information about the cloud-init package on Ubuntu 21.04 (Hirsute Hippo)

Package: cloud-init
Architecture: all
Version: 21.1-19-gbad84ad4-0ubuntu3
Priority: extra
Section: admin
Origin: Ubuntu
Maintainer: Ubuntu Developers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2275
Depends: cloud-guest-utils | cloud-utils, isc-dhcp-client, iproute2, netplan.io, procps, python3, python3-requests, python3-serial, debconf (>= 0.5) | debconf-2.0, python3-configobj, python3-jinja2, python3-jsonpatch, python3-jsonschema, python3-oauthlib, python3-yaml, python3:any
Recommends: eatmydata, gdisk, gnupg, software-properties-common
Filename: pool/main/c/cloud-init/cloud-init_21.1-19-gbad84ad4-0ubuntu3_all.deb
Size: 435812
MD5sum: 93472ab56160605fd957ace1a1b53b59
SHA1: 348b36d282e33a3e19b7a01faefe0e2d3fc589b6
SHA256: 5052e5267dd64779e4dc126d4e8c5291700774fecb9f254920cc49a7a6300501
SHA512: b8ee139bfb8a4ccc56614a7e5e2f6b207e974ebe30c85c8e892b2954913853a7ec5fd14388f440e6a45a0ae2af4c0a91b213a61e851231071fe31387612a138f
Homepage: https://cloud-init.io/
Description-en: initialization and customization tool for cloud instances
Cloud-init is the industry standard multi-distribution method for
cross-platform cloud instance initialization. It is supported across all major
public cloud providers, provisioning systems for private cloud infrastructure,
and bare-metal installations.
.
Cloud instances are initialized from a disk image and instance data:
.
* Cloud metadata
* User data (optional)
* Vendor data (optional)
.
Cloud-init will identify the cloud it is running on during boot, read any
provided metadata from the cloud and initialize the system accordingly. This
may involve setting up the network and storage devices to configuring SSH
access key and many other aspects of a system. Later on the cloud-init will
also parse and process any optional user or vendor data that was passed to
the instance.
Description-md5: d4ea791a4ab9dd98376dbd623e6f7fde
Task: cloud-image

Package: cloud-init
Architecture: all
Version: 21.1-19-gbad84ad4-0ubuntu2
Priority: extra
Section: admin
Origin: Ubuntu
Maintainer: Ubuntu Developers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2273
Depends: cloud-guest-utils | cloud-utils, isc-dhcp-client, iproute2, netplan.io, procps, python3, python3-requests, python3-serial, debconf (>= 0.5) | debconf-2.0, python3-configobj, python3-jinja2, python3-jsonpatch, python3-jsonschema, python3-oauthlib, python3-yaml, python3:any
Recommends: eatmydata, gdisk, gnupg, software-properties-common
Filename: pool/main/c/cloud-init/cloud-init_21.1-19-gbad84ad4-0ubuntu2_all.deb
Size: 435584
MD5sum: 4bcb78373743b57f143867ef7125b2bf
SHA1: 33c63b58e7bac0d3d4c3eb75276ebb47fc640102
SHA256: bc44122f6fdfbbb344a42a8940b6e7df1cb659b1777b2278d44f1f35b63b8551
SHA512: 77e5aef61813683d37013c7c97b000270bcbf2315e7d1cd9f4056cd85d65d045d38fd30b36074c42d1dd3e89a84de1a7b358403ee524902c8904c150c40271f7
Homepage: https://cloud-init.io/
Description-en: initialization and customization tool for cloud instances
Cloud-init is the industry standard multi-distribution method for
cross-platform cloud instance initialization. It is supported across all major
public cloud providers, provisioning systems for private cloud infrastructure,
and bare-metal installations.
.
Cloud instances are initialized from a disk image and instance data:
.
* Cloud metadata
* User data (optional)
* Vendor data (optional)
.
Cloud-init will identify the cloud it is running on during boot, read any
provided metadata from the cloud and initialize the system accordingly. This
may involve setting up the network and storage devices to configuring SSH
access key and many other aspects of a system. Later on the cloud-init will
also parse and process any optional user or vendor data that was passed to
the instance.
Description-md5: d4ea791a4ab9dd98376dbd623e6f7fde
Task: cloud-image