1. Home
  2. Linux
  3. Leocad linux

How to install LeoCAD on Linux

LeoCAD is a 3D modeling CAD program for designing lego block creations. It is an excellent piece of software and works on nearly all Linux operating systems with ease. In this guide, we’ll show you how to install it.

Ubuntu installation instructions

It is possible to install LeoCAD on Ubuntu, and the program has official support for every Ubuntu version starting at Ubuntu 14.04 LTS up to the latest release (Ubuntu 20.10). To begin the installation of LeoCAD on your Ubuntu PC, launch a terminal window by pressing Ctrl + Alt + T or Ctrl + Shift + T on the keyboard. 

With the terminal window open, use the apt add-repository command to enable the “Universe” software repository. This repo has the LeoCAD app, and you will not be able to install it without enabling it.

sudo add-apt-repository universe

After adding the Universe software repository, run the apt update command to refresh Ubuntu’s software sources. Your software sources must be updated to access Universe.

sudo apt update

Following the update, the LeoCAD app is ready to install on your computer. Using the apt install command below, install the latest release of LeoCAD on your Ubuntu PC.

sudo apt install leocad

Debian installation instructions

The LeoCAD app is available for Debian users running versions 11, 10, 9, and Sid. It is in the “Main” software repository, and as a result, no extra configuration is required to be able to install the software. To get the LeoCAD app set up on your computer, enter the following apt-get command below.

sudo apt-get install leocad

Keep in mind, Debian holds back software updates, and because of this, apps like LeoCAD may not be as up to date as on other distributions. If you want your LeoCAD to be updated more frequently, follow the Flatpak instructions instead.

Arch Linux installation instructions

LeoCAD is available to Arch Linux users, though not in the official software repositories. Instead, the only way to get LeoCAD set up on Arch Linux via a Pacman package is to use the AUR.

To start the installation of LeoCAD on Arch via the AUR, you must install the Trizen AUR helper. This app will make the installation of LeoCAD automatic and straightforward, rather than tedious. To install Trizen, enter the commands below in a terminal window.

sudo pacman -S git base-devel
git clone https://aur.archlinux.org/trizen.git
cd trizen
makepkg -sri

Once the Trizen app is set up on your Arch Linux system, you can use it to install the LeoCAD app on your computer using the trizen -S command below.

trizen -S leocad-git 

Not happy with the AUR version of LeoCAD on your Arch Linux system? Consider following the Flatpak instructions instead.

Fedora installation instructions

Fedora has LeoCAD available for installation through a third-party software repository known as RPM Sphere. To start the installation on your computer, you will need to download the package from the internet manually.

To download the LeoCAD package from the internet, open up a terminal, and use the wget command below to download it.

wget https://raw.githubusercontent.com/rpmsphere/aarch64/master/l/leocad-19.07.1-1.aarch64.rpm

Now that the LeoCAD package is done downloading to your Fedora Linux PC use the dnf install command below to get the app installed on your system.

sudo dnf install leocad-19.07.1-1.aarch64.rpm

Don’t want to install LeoCAD as an RPM? Follow the Flatpak instructions instead!

OpenSUSE installation instructions

The best way to get LeoCAD working on all OpenSUSE Linux releases is to follow the AppImage or Flatpak installation instructions. These instructions are much better than the native installation instructions for LeoCAD.

Flatpak installation instructions

LeoCAD is available as a Flatpak, which means no matter what distro you’re on, you’ll have an easy time setting it up. To start the process, you must install and enable the Flatpak runtime. To do that, follow this guide on the subject, as it outlines in detail how to install and enable Flatpak.

After setting up the Flatpak runtime on your computer, you’ll need to enable the Flathub app store. To allow Flathub to, use the following remote-add command below. Flathub is required, as you will not be able to install LeoCAD without it.

sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

Once the Flathub app store is set up on your computer, it is time to start the installation of LeoCAD via Flatpak. To install the app, enter the command below.

sudo flatpak install flathub org.leocad.LeoCAD

AppImage installation instructions

LeoCAD has an AppImage available, making this app portable as all you need is the AppImage file. To start the installation, use the wget command below to download the AppImage file.

mkdir -p ~/AppImages
wget https://github.com/leozide/leocad/releases/download/continuous/LeoCAD-Linux-6579369-x86_64.AppImage -O ~/AppImages/leocad.AppImage

After downloading the AppImage file to your computer, you will need to update the file’s permissions using the chmod command.

chmod +x ~/AppImages/leocad.AppImage

With the permissions up to date, you can quickly launch the app with the commands below. Or, open up the Linux file manager and double-click on the Leocad AppImage file with the mouse.

cd ~/AppImages

./leocad.AppImage