Bobcares

LXD Debian Without Snap | 2 Solutions

by | Mar 31, 2024

Learn how to install LXD Debian Without Snap. Our LXC/LXD Support team is here to help you with your questions and concerns.

Run LXD on Debian Without Snap

Did you know that running LXD on Debian without the Snap package offers better flexibility and control over the installation process?

LXD Debian Without Snap

By installing LXD directly from the Debian repositories or compiling it from the source, users can avoid Snap. Let’s take a look at see how this is done:

Installing LXD from Debian Repositories

  1. To begin with, make sure the Debian system is up-to-date by running these commands:

    sudo apt update
    sudo apt upgrade

  2. Then, run this command to install LXD from the Debian repositories:

    sudo apt install lxd

  3. Now, start the LXD initialization process:

    sudo lxd init

    This command will take us through setting up storage, networking, etc as per our preferences.

  4. At this point, we will start and enable the LXD service to ensure it runs on system boot:

    sudo systemctl start lxd
    sudo systemctl enable lxd

  5. Then, verify the installed version of LXD as seen here:

    lxc –version

    This will display the version of LXD installed on our system.

Compiling LXD from Source

  1. First, install the necessary dependencies for compiling LXD from the source:

    sudo apt install build-essential libsqlite3-dev golang-go

  2. Then, clone the LXD repository from GitHub:

    git clone https://github.com/lxc/lxd.git

  3. Next, go to the cloned repository and compile LXD:

    cd lxd
    make

  4. Now, install the compiled LXD binary as seen here:

    sudo make install

  5. Then, start LXD by running:

    sudo lxd init

  6. Next, start and enable the LXD service:

    sudo systemctl start lxd
    sudo systemctl enable lxd

With these steps, we can install LXD on Debian without relying on Snap. This method provides more control over the installation process. Whether we choose to install from repositories or compile from source, we will have a reliable LXD environment up and running on our Debian system.

[Need assistance with a different issue? Our team is available 24/7.]

Conclusion

In brief, our Support Experts demonstrated how to install LXD Debian Without Snap.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.