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

Last updated: November 27,2024

1. Install "ec2-init" package

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

$ sudo apt update $ sudo apt install ec2-init

2. Uninstall "ec2-init" package

Here is a brief guide to show you how to uninstall ec2-init on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: ec2-init
Architecture: all
Version: 21.1-19-gbad84ad4-0ubuntu1~16.04.2
Priority: extra
Section: universe/admin
Source: cloud-init
Origin: Ubuntu
Maintainer: Ubuntu Developers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 70
Depends: cloud-init
Filename: pool/universe/c/cloud-init/ec2-init_21.1-19-gbad84ad4-0ubuntu1~16.04.2_all.deb
Size: 1760
MD5sum: bee9eff9f0d461b15fc1dd18c882b669
SHA1: fa4c0347dc0549473bd34c342ada51092e878c82
SHA256: bcce3b7219cf53b5f3d2e27c8d2765c51a28ce7a123074c4f1bff2839b8a2952
SHA512: 14da0184edf844c92c9d7a0ba8aab0a519104e9cc653d0288a332dde91cb4a37aa999c9dbc1d1233eba37e48eec32b3ba725239398f6ae427603811fe8a5c612
Description-en: package renamed -> cloud-init
This package has been renamed to 'cloud-init'.
Description-md5: 4cf74a8ef9cc7376e227720b76813136

Package: ec2-init
Priority: extra
Section: universe/admin
Installed-Size: 32
Maintainer: Scott Moser
Architecture: all
Source: cloud-init
Version: 0.7.7~bzr1212-0ubuntu1
Depends: cloud-init
Filename: pool/universe/c/cloud-init/ec2-init_0.7.7~bzr1212-0ubuntu1_all.deb
Size: 2130
MD5sum: 1731e875acccec535030b7a3d8770e2f
SHA1: 8a2e46b20dd3727967c3509f6e5f95b0fe363bbf
SHA256: a8a9bd3ead34b28eb385476ddd2e53aad70c97671f4c840c4f6b6d79613d29e2
Description-en: package renamed -> cloud-init
This package has been renamed to 'cloud-init'.
Description-md5: 4cf74a8ef9cc7376e227720b76813136
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu