2-1: Install dependencies
At this point you should be logged in via SSH to a server running Ubuntu 20.04 LTS, as the
Before we install the Pocket software, there are a few dependencies we'll need to add. But before we install anything, we'll update the existing packages first.
Updating system packages
- Update the repository index with the following command:
sudo apt update
- Update the distribution with the following command:
sudo apt dist-upgrade -y
After the update completes, we're ready to install the dependencies.
There are a handful of dependencies but installing them won't take long. Also, some might already be installed. So if one of the dependencies exists, just move on the the next one.
sudo apt-get install git -y
sudo apt-get install build-essential -y
sudo apt-get install curl -y
sudo apt-get install file -y
sudo apt install nginx -y
sudo apt install certbot -y
sudo apt-get install python3-certbot-nginx -y
After installing the previous dependencies, there is one more dependency we'll need to add - that's Go, we'll do that next.