How to Install and Uninstall cloud-init Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: December 27,2024

1. Install "cloud-init" package

Please follow the steps below to install cloud-init on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install cloud-init

2. Uninstall "cloud-init" package

In this section, we are going to explain the necessary steps to uninstall cloud-init on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the cloud-init package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: cloud-init
Architecture: all
Version: 21.1-19-gbad84ad4-0ubuntu1~16.04.2
Priority: extra
Section: admin
Origin: Ubuntu
Maintainer: Ubuntu Developers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2246
Provides: ec2-init
Depends: cloud-guest-utils | cloud-utils, ifupdown (>= 0.6.10ubuntu5), procps, python3, python3-requests (>= 0.8.2), python3-serial, debconf (>= 0.5) | debconf-2.0, init-system-helpers (>= 1.18~), python3-configobj, python3-jinja2, python3-jsonpatch, python3-oauthlib, python3-yaml, python3:any (>= 3.3.2-2~)
Recommends: eatmydata, gdisk, software-properties-common
Conflicts: ec2-init (<< 0.5.3)
Breaks: walinuxagent (<< 2.1.3-0ubuntu4.1)
Replaces: ec2-init (<< 0.5.3)
Filename: pool/main/c/cloud-init/cloud-init_21.1-19-gbad84ad4-0ubuntu1~16.04.2_all.deb
Size: 460536
MD5sum: 93bc0e7dc76e8bd7e61c9cf54b9858d9
SHA1: 50d069554ca41b747542f6e0dd7aa44463fd98a0
SHA256: b437410b86ca112e63386dda6d54d0fc4e13660d09bab0f10af9cc1025ec8f09
SHA512: 71a496d5a9f4d4a04e8fba912b84754c837f41acbabf50802f6dfaef925fa057c05fd966b413b73080d66c3a05ab56db283794efbaa6df6a3af3178a51beda8c
Description-en: Init scripts for cloud instances
Cloud instances need special scripts to run during initialisation
to retrieve and install ssh keys and to let the user run various scripts.
Description-md5: 8719ef0e4178017b7147590b1fde082e
Task: ubuntu-core, cloud-image, ubuntu-core
Supported: 5y

Package: cloud-init
Priority: extra
Section: admin
Installed-Size: 1232
Maintainer: Scott Moser
Architecture: all
Version: 0.7.7~bzr1212-0ubuntu1
Replaces: ec2-init (<< 0.5.3)
Provides: ec2-init
Depends: cloud-guest-utils | cloud-utils, ifupdown (>= 0.6.10ubuntu5), procps, python3 (>= 3.2), python3-requests (>= 0.8.2), debconf (>= 0.5) | debconf-2.0, init-system-helpers (>= 1.18~), python3-configobj, python3-jinja2, python3-jsonpatch, python3-oauthlib, python3-prettytable, python3-serial, python3-six, python3-yaml, python3:any (>= 3.3.2-2~)
Recommends: eatmydata, gdisk, software-properties-common
Conflicts: ec2-init (<< 0.5.3)
Filename: pool/main/c/cloud-init/cloud-init_0.7.7~bzr1212-0ubuntu1_all.deb
Size: 244480
MD5sum: 7fc0feb9c56a6edf3ed8ecfd6c2ace72
SHA1: 536f450b908aa705661d90549398e705bc1e0f48
SHA256: c8f430f4ae236a3de8f2e1b24276b0d51a69bd522a02d03d8f8b8fa7483a0a3e
Description-en: Init scripts for cloud instances
Cloud instances need special scripts to run during initialisation
to retrieve and install ssh keys and to let the user run various scripts.
Description-md5: 8719ef0e4178017b7147590b1fde082e
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 9m
Task: ubuntu-core, cloud-image, ubuntu-core