Here’s how to install docker-compose on Ubuntu LTS :
Open terminal and run these commands
sudo curl -L "https://github.com/docker/compose/releases/download/1.24.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose
Now verify installation
This should show the version of docker compose that was installed.