How to Install and Uninstall composer Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 17,2024

1. Install "composer" package

Please follow the instructions below to install composer on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install composer

2. Uninstall "composer" package

Please follow the guidance below to uninstall composer on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove composer $ sudo apt autoclean && sudo apt autoremove

3. Information about the composer package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: composer
Priority: optional
Section: universe/php
Installed-Size: 1618
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP PEAR Maintainers
Architecture: all
Version: 1.0.0~beta2-1
Depends: ca-certificates, php-symfony-console (>= 2.5), php-symfony-filesystem (>= 2.5), php-symfony-finder (>= 2.4), php-symfony-process (>= 2.4), php-cli, php-common, php-json-schema (>= 1.6), php-json-schema (<< 2~~), php-composer-spdx-licenses (>= 1.0), php-composer-spdx-licenses (<< 2~~), php-composer-semver (>= 1.0), php-composer-semver (<< 2~~), jsonlint (>= 1.4), jsonlint (<< 2~~), php-cli-prompt (>= 1.0), php-cli-prompt (<< 2~~)
Recommends: git, mercurial
Suggests: php-zip
Filename: pool/universe/c/composer/composer_1.0.0~beta2-1_all.deb
Size: 282670
MD5sum: fab0aeab0c091494f3e18cf4eb04f2b5
SHA1: 318d08446ca2d18fec0c5f9a744ae304e5fa3ece
SHA256: 8c6a54b60a5e34ab51a300f3bf0401e0fab61d1fde554057d42382304c5ad7a4
Description-en: dependency manager for PHP
Composer helps you declare, manage and install dependencies of PHP projects,
ensuring you have the right stack everywhere.
.
It behaves like Bundler (Ruby), npm (Node), etc.
Description-md5: 74ebdf74b7ac8e4972f9fe5d5f5b0b21
Homepage: https://getcomposer.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu