How to Install and Uninstall composer Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 26,2024

1. Install "composer" package

Here is a brief guide to show you how to install composer on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install composer

2. Uninstall "composer" package

Please follow the instructions below to uninstall composer on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the composer package on Ubuntu 20.04 LTS (Focal Fossa)

Package: composer
Architecture: all
Version: 1.10.1-1
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: 1949
Depends: php-cli, php-common, php-composer-ca-bundle (>= 1.0), php-composer-ca-bundle (<< 2~~), php-composer-semver (>= 1.0), php-composer-semver (<< 2~~), 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, 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
Recommends: git, unzip
Suggests: fossil, mercurial, subversion, php-zip
Breaks: php-symfony-console (= 2.8.38)
Filename: pool/universe/c/composer/composer_1.10.1-1_all.deb
Size: 331600
MD5sum: f0aa3cadaa98b7ab03162e5f1e56ae72
SHA1: 37838c2bc19487e20240dc67c23ebb013a073bc3
SHA256: 7db88f53a15670de5033a2132a51333cd4dc8e80ad1ba82c0f873bdd1219e5db
Homepage: https://getcomposer.org/
Description: dependency manager for PHP
Description-md5: e03f8a4cfea1bad44f653aea93886b7d