Skip to content

Debian Based Distribution

Olivier Poitrey edited this page Jan 25, 2023 · 10 revisions

Using Installer

Install

  1. Make sure curl is installed by running sudo apt-get install curl
  2. Run the following command: sh -c "$(curl -sL https://nextdns.io/install)"
  3. Follow the instructions.

Upgrade

Upgrades are handled by your distribution package manager.

Troubleshooting

If the installation fail, please the installer in debug mode and contact us at team@nextdns.io with the transcript of the installation:

DEBUG=1 sh -c "$(curl -sL https://nextdns.io/install)"

Manual Install

  1. Install the binary:
sudo wget -qO /usr/share/keyrings/nextdns.gpg https://repo.nextdns.io/nextdns.gpg
echo "deb [signed-by=/usr/share/keyrings/nextdns.gpg] https://repo.nextdns.io/deb stable main" | sudo tee /etc/apt/sources.list.d/nextdns.list
sudo apt install apt-transport-https # only necessary on Debian
sudo apt update
sudo apt install nextdns
  1. Configure it:

For a workstation:

sudo nextdns install \
  -profile <your profile id> \
  -report-client-info \
  -auto-activate

For a router/server:

sudo nextdns install \
  -profile <your profile id> \
  -report-client-info \
  -setup-router
Clone this wiki locally