Before we download and install Composer, we need to make sure our server has all dependencies installed.
First, update the package manager cache by running:
sudo apt-get update
Now, let's install the dependencies. We'll need curl in order to download Composer and php5-cli for installing and run...