Skip to content

How-ToGPU

How to Install LM Studio on Linux (Ubuntu and Other Distros)

How to install LM Studio on Linux: install your GPU driver, download the AppImage from lmstudio.ai, make it executable with chmod +x and run it, installing libfuse2 (libfuse2t64 on Ubuntu 24.04) if it says AppImages require FUSE. Then use the bundled lms CLI, or llmster for headless servers.

By , Systems & Technical Editor

5 min read

How to Install LM Studio on Linux (Ubuntu and Other Distros)

The steps below are based on LM Studio's official system requirements and CLI documentation and the AppImage project's own documentation, all read on 24 November 2026.

LM Studio is one of the easiest ways to download and chat with local language models, and it isn't just for Windows and Mac. On Linux it's distributed as an AppImage: a single file that contains the whole app, which you make executable and run. That makes installation quick, but there are a couple of Linux-specific snags, mainly around FUSE, that this guide covers.

If you haven't decided between LM Studio and Ollama yet, read Ollama vs LM Studio. If you prefer Ollama on Linux, see how to install Ollama on Linux instead.

Before you start: system requirements

LM Studio's documentation lists these requirements for Linux:

Requirement

What LM Studio says

Architecture

x64 or ARM64 (aarch64)

Format

AppImage

Distribution

Ubuntu 20.04 or newer required

Newer Ubuntu releases

Versions newer than 22 are "not well tested"

CPU (x64)

Ships with AVX2 support by default

LM Studio doesn't list a RAM figure for Linux, but for Windows it recommends at least 16GB of RAM and at least 4GB of dedicated VRAM, which is a sensible starting point on Linux too. Our guide to checking whether your PC can run a local LLM helps you size models to your hardware.

Step 1: Install your GPU driver

LM Studio can run models on the CPU, but you'll want your graphics card doing the work. Set up the driver before installing LM Studio:

Step 2: Download the LM Studio AppImage

Go to LM Studio's download page at lmstudio.ai/download and choose the Linux version for your processor (x64 for most desktop PCs). The file name ends in .AppImage; at the time of writing the x64 file was called LM-Studio-0.4.28-2-x64.AppImage. Save it somewhere permanent, such as a folder called Applications in your home directory, because the AppImage is the app: if you delete it, LM Studio is gone.

Step 3: Make the AppImage executable

The AppImage project's quickstart gives two ways to do this.

In the terminal:

cd ~/Applications
chmod +x LM-Studio-*-x64.AppImage
./LM-Studio-*-x64.AppImage

Replace the file name pattern with your exact file name if you have more than one version in the folder.

In the file manager: right-click the AppImage, choose Properties, open the Permissions tab and tick Allow executing file as program (in GNOME Files, Nemo or Caja) or Is executable (in Dolphin). Then double-click the file to run it.

Step 4: Fix "AppImages require FUSE to run"

AppImages need a Linux feature called FUSE (Filesystem in Userspace). Most distributions have it set up, but if LM Studio won't start and you see a message saying AppImages require FUSE to run, install the FUSE 2 library. According to the AppImage documentation:

Distribution

Command

Ubuntu 22.04 and newer, recent Debian

sudo apt install libfuse2

Ubuntu 24.04

The package was renamed, so use sudo apt install libfuse2t64

openSUSE

sudo zypper install fuse libfuse2

Arch Linux

sudo pacman -S fuse2

On newer Ubuntu releases that use FUSE 3, the AppImage docs' instructions install the FUSE 2 library alongside FUSE 3 rather than replacing it, so don't remove any existing fuse3 package.

If you can't get FUSE working, the AppImage docs describe a fallback that extracts the app each time it runs:

./LM-Studio-*-x64.AppImage --appimage-extract-and-run

The docs describe extracting an AppImage each time as "pretty expensive" and say it should only be done if you've no other option.

Step 5: Download a model and start chatting

When LM Studio opens, use its model search to download a model that suits your VRAM, then load it and start a chat. Our guides to choosing models in LM Studio and setting GPU offload in LM Studio explain how to pick a model size and get as much of it as possible onto your graphics card.

Step 6: Set up the lms command line tool

LM Studio includes a command line tool called lms. LM Studio's documentation says it ships with the app, so there's nothing extra to install, but you need to run LM Studio at least once before lms works. Then open a terminal and run:

lms --help

Useful commands from LM Studio's CLI documentation include:

Command

What it does

lms ls

Lists the models on disk

lms ps

Lists the models loaded in memory

lms load

Loads a model, with options such as --gpu=max and --context-length

lms unload --all

Unloads all models

lms server start / lms server stop

Starts or stops the local API server

lms chat

Chats with a model in the terminal

The server gives other apps on your PC an API to talk to; our guide to using the LM Studio server covers that.

Running LM Studio on a Linux server without a desktop

If you want to run LM Studio on a headless Linux box, such as a home server with a GPU, you don't need the AppImage. LM Studio's download page offers llmster, its headless daemon for servers, cloud instances and CI, installed on Linux with:

curl -fsSL https://lmstudio.ai/install.sh | bash

As with any script piped from the internet, read it first if you're not comfortable running it blind. Our guide to running LM Studio headless with llmster covers the setup in more detail.

Our verdict

To install LM Studio on Linux, install your GPU driver, download the Linux AppImage from lmstudio.ai, make it executable with chmod +x (or tick "Allow executing file as program" in your file manager) and run it. If it complains that AppImages require FUSE, install libfuse2 (libfuse2t64 on Ubuntu 24.04) without removing FUSE 3. LM Studio officially requires Ubuntu 20.04 or newer and says releases newer than 22 aren't well tested, so expect the odd rough edge on the latest distributions. After the first launch, the bundled lms tool lets you load models and start the API server from the terminal, and llmster is the better choice for a headless server.

The bottom line

To install LM Studio on Linux, install your GPU driver, download the Linux AppImage from lmstudio.ai, make it executable with chmod +x (or tick "Allow executing file as program" in your file manager) and run it. If it complains that AppImages require FUSE, install libfuse2 (libfuse2t64 on Ubuntu 24.04) without removing FUSE 3. LM Studio officially requires Ubuntu 20.04 or newer and says releases newer than 22 aren't well tested, so expect the odd rough edge on the latest distributions. After the first launch, the bundled lms tool lets you load models and start the API server from the terminal, and llmster is the better choice for a headless server.

Sources

  1. 01LM Studio, System Requirements
  2. 02LM Studio, Download LM Studio
  3. 03LM Studio, Latest Linux x64 AppImage download link
  4. 04LM Studio, lms — LM Studio's CLI
  5. 05AppImage documentation, Quickstart
  6. 06AppImage documentation, I get some errors related to something called "FUSE"

About the author

Marcus Thorne

Systems & Technical Editor

Marcus writes Forge PC's step-by-step build, troubleshooting and system optimisation guides. His background spans Windows kernel and power-state diagnostics, UEFI/BIOS configuration, NVMe storage arrays, ATX 3.1 power delivery and running local AI and LLM workloads on consumer graphics cards.

More from Marcus Thorne

Read next

SGLang vs vLLM: Which LLM Serving Engine Should You Run on Your PC?

Versus

SGLang vs vLLM: Which LLM Serving Engine Should You Run on Your PC?

SGLang vs vLLM for a local AI server: both are fast, open-source LLM serving engines with OpenAI-compatible APIs that run on Linux. vLLM supports more home hardware, including AMD Radeon RX 7900 and RX 9000 cards, while SGLang suits recent NVIDIA RTX cards and agent-heavy workloads.

Callum Reid6 min