How to Install and Uninstall composer Package on Linux Mint 21.3 (Virginia)

Last updated: November 26,2024

1. Install "composer" package

This tutorial shows how to install composer on Linux Mint 21.3 (Virginia)

$ sudo apt update $ sudo apt install composer

2. Uninstall "composer" package

Here is a brief guide to show you how to uninstall composer on Linux Mint 21.3 (Virginia):

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

3. Information about the composer package on Linux Mint 21.3 (Virginia)

Package: composer
Architecture: all
Version: 2.2.6-2ubuntu4
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: 2531
Depends: php-cli, php-common, php-composer-ca-bundle (>= 1.0), php-composer-ca-bundle (<< 2~~), php-composer-metadata-minifier (>= 1.0), php-composer-metadata-minifier (<< 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 (>= 2.0), php-composer-xdebug-handler (<< 3~~), php-json-schema (>= 5.2.11), php-json-schema (<< 6~~), php-psr-log, jsonlint (>= 1.4), jsonlint (<< 2~~), php-symfony-console, php-symfony-filesystem, php-symfony-finder, php-symfony-process, php-react-promise, php-composer-pcre (>= 1.0), php-composer-pcre (<< 2~~)
Recommends: git, unzip
Suggests: fossil, mercurial, subversion, php-zip
Filename: pool/universe/c/composer/composer_2.2.6-2ubuntu4_all.deb
Size: 425386
MD5sum: 983f5d2bf6a688ceb1e82100d8cc489f
SHA1: 21654c0ceec88b65e63619f53fa80d15a6b6c5d7
SHA256: 645e67bf0c0db50783e9be4d446e84faa27f75c95797d2951672f91179f9ab3b
SHA512: a308c0504e015dd270b0d361bf68cd4e8ce04d3ea3bd16292cb49f177fb5ab2be6ed273163f0e67e1ca1b5f9909e133efa69b07a19dbf33b5188d618e46d6ad9
Homepage: https://getcomposer.org/
Description: dependency manager for PHP
Description-md5: e03f8a4cfea1bad44f653aea93886b7d