Defguard APT repository
Distribution
Defguard APT repository provides packages for Debian 12, Debian 13, and Ubuntu 22.04/24.04 LTS.
Packages are available on the default trixie repository distribution.
Adding Defguard APT repository
To add Defguard APT repository, run following commands in your terminal:
sudo apt update
sudo apt install -y ca-certificates curl
#Add official Defguard public GPG key
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://apt.defguard.net/defguard.asc -o /etc/apt/keyrings/defguard.asc
sudo chmod a+r /etc/apt/keyrings/defguard.asc
#Add APT repository
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/defguard.asc] https://apt.defguard.net/ trixie release " | \
sudo tee /etc/apt/sources.list.d/defguard.list > /dev/null
sudo apt updateAfterward running these commands, you can install and update Defguard via APT.
After new release, simply use sudo apt update to update repository.
Using pre-release builds
Defguard has two separate components on one APT repository, release and pre-release. If you want to install packages from pre-release, simply change release to pre-release in the installation steps described above, or run the following line.
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/defguard.asc] https://apt.defguard.net/ trixie pre-release " | \
sudo tee /etc/apt/sources.list.d/defguard.list > /dev/null
sudo apt updateChoosing distribution
Most of our packages are located on trixie distribution.
However, if you are using Ubuntu 22.04/Debian 12 and want to install Defguard Client, you should be using bookworm distribution.
To do so, replace trixie with bookworm in installation steps, or run the following command.
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/defguard.asc] https://apt.defguard.net/ bookworm release " | \
sudo tee /etc/apt/sources.list.d/defguard.list > /dev/null
sudo apt updateInstalling packages
Defguard Core:
sudo apt install defguardDefguard Proxy:
sudo apt install defguard-proxyDefguard Gateway:
sudo apt install defguard-gatewayDefguard Client:
sudo apt install defguard-clientLast updated
Was this helpful?