How to Install and Uninstall composer Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 17,2024

1. Install "composer" package

Please follow the step by step instructions below to install composer on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install composer

2. Uninstall "composer" package

Please follow the steps below to uninstall composer on Ubuntu 21.10 (Impish Indri):

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

3. Information about the composer package on Ubuntu 21.10 (Impish Indri)

Package: composer
Architecture: all
Version: 2.0.9-2ubuntu2
Priority: optional
Section: universe/php
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP PEAR Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2222
Depends: php-cli, php-common, php-composer-ca-bundle (>= 1.0), php-composer-ca-bundle (<< 2~~), php-composer-semver (>= 3.0), php-composer-semver (<< 4~~), php-composer-spdx-licenses (>= 1.2), php-composer-spdx-licenses (<< 2~~), php-composer-xdebug-handler (>= 1.1), php-composer-xdebug-handler (<< 2~~), php-json-schema (>= 5.2.10), php-json-schema (<< 6~~), php-psr-log (>= 1.0), php-psr-log (<< 2~~), jsonlint (>= 1.4), jsonlint (<< 2~~), php-symfony-console, php-symfony-filesystem, php-symfony-finder, php-symfony-process, php-react-promise
Recommends: git, unzip
Suggests: fossil, mercurial, subversion, php-zip
Filename: pool/universe/c/composer/composer_2.0.9-2ubuntu2_all.deb
Size: 383708
MD5sum: a167b4721a163785f849636813239972
SHA1: 7f1ff2a07dc69a12ffa7a9e4ffc17b6d7de69891
SHA256: 5f9d1c49f0677ea4d37381777a368c38ff5f8a594f1a71b94f63203fcfb17839
SHA512: a0cf4d308b77621a991cac1ec512701f001e3225fc651964e8e836268a0784496b3d209a164f8f5b8aaf2032c9bb1e147639fa47d9a34d3086dcfa339cc7e03f
Homepage: https://getcomposer.org/
Description-en: dependency manager for PHP
Composer helps you declare, manage and install dependencies of PHP projects.
It ensures you have the right stack everywhere.
.
It behaves like Bundler (Ruby), npm (Node), etc.
Description-md5: e03f8a4cfea1bad44f653aea93886b7d