How to Install and Uninstall composer Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: November 26,2024

1. Install "composer" package

Please follow the guidance below to install composer on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install composer

2. Uninstall "composer" package

This is a short guide on how to uninstall composer on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the composer package on Ubuntu 24.04 LTS (Noble Numbat)

Package: composer
Architecture: all
Version: 2.7.1-2
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: 2736
Depends: php-cli, php-common, php-composer-ca-bundle (>= 1.0), php-composer-ca-bundle (<< 2~~), php-composer-class-map-generator (>= 1.0), php-composer-class-map-generator (<< 2~~), php-composer-metadata-minifier (>= 1.0), php-composer-metadata-minifier (<< 2~~), php-composer-semver (>= 3.2.5), php-composer-semver (<< 4~~), php-composer-spdx-licenses (>= 1.5.7), php-composer-spdx-licenses (<< 2~~), php-composer-xdebug-handler (>> 2.0.2), php-json-schema (>= 5.2.11), php-json-schema (<< 6~~), php-psr-log, jsonlint (>= 1.4), jsonlint (<< 2~~), php-symfony-console (>> 5.4.11), php-symfony-filesystem (>> 5.4), php-symfony-finder (>> 5.4), php-symfony-process (>> 5.4), php-react-promise (>> 2.8), php-composer-pcre (>> 2.1), php-seld-signal-handler (>= 2.0), php-seld-signal-handler (<< 3~~)
Recommends: git, php-curl, php-intl, php-mbstring, php-zip, unzip, xz-utils
Suggests: fossil, mercurial, subversion
Filename: pool/universe/c/composer/composer_2.7.1-2_all.deb
Size: 470554
MD5sum: 5e7cc332d832c95de16d7214bbbc7ac0
SHA1: 749738650db8a27097d3757d646042be04a7272d
SHA256: 8a1085b1f257d7ff2badc7c20ce1d32092824080e52bc4985b97ed7b5c88d2f3
SHA512: 9fc3f9cb75ab9b8d63bb4cc634d6076431baa798e147d32422438528599c673e07071bc66068c2990bebe268b2260137a6cc47ec27d002e8efb0a63e3189df1a
Homepage: https://getcomposer.org/
Description: dependency manager for PHP
Description-md5: e03f8a4cfea1bad44f653aea93886b7d