Skip to main content

2-1: Install dependencies

At this point you should be logged in via SSH to a server running Ubuntu 20.04 LTS, as the pocket user that we setup in the previous step.

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

  1. Update the repository index with the following command:
    sudo apt update
  2. Update the distribution with the following command:
    sudo apt dist-upgrade -y

After the update completes, we're ready to install the dependencies.

Installing 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

build tools

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.