Installing Incus
Looking for a powerful, open-source tool to manage containers and VMs? Incus is a modern alternative to LXD, offering flexibility and performance. This guide shows you how to install Incus on Linux, set up permissions, and launch your first environment in minutes!
This tutorial assumes that you are using either Ubuntu or an Ubuntu-based distribution.
For Ubuntu 24.04 and above:
sudo apt update
sudo apt upgrade -y
sudo apt install incus qemu-systemRun this Command as user and not root
For Older Ubuntu versions:
Some Prerequisites:
sudo apt update
sudo apt upgrade -y
sudo apt install curlRepository Key
curl -fsSL https://pkgs.zabbly.com/key.asc | gpg --show-keys --fingerprintOutput:
pub rsa3072 2023-08-23 [SC] [expires: 2025-08-22]
4EFC 5906 96CB 15B8 7C73 A3AD 82CC 8797 C838 DCFD
uid Zabbly Kernel Builds <[email protected]>
sub rsa3072 2023-08-23 [E] [expires: 2025-08-22]Make sure it matches 4EFC 5906 96CB 15B8 7C73 A3AD 82CC 8797 C838 DCFD
sudo mkdir -p /etc/apt/keyrings/The original instructions seem to be designed to be executed as root, but you can employ the following method to copy the keys as a non-root user.
curl -fsSL https://pkgs.zabbly.com/key.asc -o key.asc
sudo mv key.asc /etc/apt/keyrings/Setting up Stable Repository:
I prefer working with the Stable version over the LTS and the daily versions, the setup is as follows:
sudo sh -c 'cat <<EOF > /etc/apt/sources.list.d/zabbly-incus-lts-6.0.sources
Enabled: yes
Types: deb
URIs: https://pkgs.zabbly.com/incus/lts-6.0
Suites: $(. /etc/os-release && echo ${VERSION_CODENAME})
Components: main
Architectures: $(dpkg --print-architecture)
Signed-By: /etc/apt/keyrings/zabbly.asc
EOF'Installing Incus
sudo apt update
sudo apt install incus -y