How to Install and Uninstall composer Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: May 14,2024

1. Install "composer" package

This tutorial shows how to install composer on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install composer

2. Uninstall "composer" package

In this section, we are going to explain the necessary steps to uninstall composer on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the composer package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: composer
Architecture: all
Version: 1.6.3-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: 1820
Depends: php-cli, php-common, php-json-schema, 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~~), jsonlint (>= 1.4), jsonlint (<< 2~~), php-symfony-console, php-symfony-finder, php-symfony-process, php-symfony-filesystem, php-cli-prompt (>= 1.0), php-cli-prompt (<< 2~~), php-psr-log (>= 1.0), php-psr-log (<< 2~~)
Recommends: git
Suggests: fossil, mercurial, subversion, php-zip
Filename: pool/universe/c/composer/composer_1.6.3-1_all.deb
Size: 312556
MD5sum: 6c1636d60e98b78372a6ccd60217758e
SHA1: a77ad623dcd1ecf3cdd19e8f2128625e8ee0ea08
SHA256: 3c37c7c329c93808fc6e03b74583c9fd20c8a6a139bb26ee611ec540b7328dac
Homepage: https://getcomposer.org/
Description: dependency manager for PHP
Description-md5: 74ebdf74b7ac8e4972f9fe5d5f5b0b21