Install Unifi 5.8.x on Ubuntu 18.04 LTS

First, we must import the keys used by the package management system.

MongoDB List Key
sudo apt-key adv --keyserver hkp:// --recv 0C49F3730359A14518585931BC711F9BA15703C6
Unifi List Key
sudo apt-key adv --keyserver --recv 06E85760C0A52C50

Then, we must create the list file.

MongoDB List File
echo "deb [ arch=amd64,arm64 ] xenial/mongodb-org/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list
Unifi List File
echo 'deb stable ubiquiti' | sudo tee /etc/apt/sources.list.d/100-ubnt-unifi.list

Update the local package database:

sudo apt-get update

Install MongoDB 3.4.x

sudo apt-get install mongodb-org

Install Unifi

sudo apt-get install unifi

About Stoffel Consulting

Stoffel Consulting is a small business in Marietta, Ohio that manages computing assets for small to mid-sized businesses in the Mid-Ohio Valley and surrounding areas.