How to Install and Uninstall docker-compose-v2 Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 07,2024

1. Install "docker-compose-v2" package

This tutorial shows how to install docker-compose-v2 on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install docker-compose-v2

2. Uninstall "docker-compose-v2" package

Please follow the step by step instructions below to uninstall docker-compose-v2 on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove docker-compose-v2 $ sudo apt autoclean && sudo apt autoremove

3. Information about the docker-compose-v2 package on Ubuntu 20.04 LTS (Focal Fossa)

Package: docker-compose-v2
Architecture: amd64
Version: 2.20.2+ds1-0ubuntu1~20.04.1
Built-Using: glibc (= 2.31-0ubuntu9.12)
Priority: optional
Section: universe/admin
Origin: Ubuntu
Maintainer: Ubuntu Developers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 52137
Depends: docker.io, libc6 (>= 2.3.4)
Filename: pool/universe/d/docker-compose-v2/docker-compose-v2_2.20.2+ds1-0ubuntu1~20.04.1_amd64.deb
Size: 11209192
MD5sum: 2a9163d2413a4842595b52377211418c
SHA1: f68d0bf4100aac64ce414c9813dda1909cf99ed9
SHA256: 687e50a115fadd7838dfeef27b226ca5425bae4e06061804df5ee92818dcbb2a
SHA512: 21ebe7525f8a5a5893ae4ca70eaa4f3e95409c8d2a4bc42d40666c6ac98fc0b7476828d69f7a30007c8d661810e2b5706ccbe5d1c07c17da6d1757b9283a8618
Homepage: https://github.com/docker/compose
Description: tool for running multi-container applications on Docker
Description-md5: 5154254fe821768bcad19fcde6623d41