How To Install LM Studio on Linux?

Rens Wunnink
4 min readOct 22, 2023
AI generated Images by ideogram.ai

Highlights: Large Language Models (LLMs) right from your Linux desktop or laptop and NO internet required (A.k.a NO API)!

  • How to install LM Studio on Linux
  • How to run LM Studio on Linux

What Is LM Studio?

LM Studio revolutionizes your experience with Large Language Models (LLMs) right from your windows, Mac and now Linux desktop! This cutting-edge application lets you effortlessly discover, download, and deploy Hugging Face’s GGUF-compatible models.

  • 💻 Simplicity Meets Power: LM Studio boasts an intuitive interface for configuring and utilizing models, catering to both beginners and seasoned experts.
  • 🌐 Versatile Across Platforms: Enjoy seamless operations on various operating systems, ensuring a consistent experience wherever you are.
  • ⚡️ Turbocharge with GPU: LM Studio taps into GPU resources, ensuring lightning-fast model execution and top-notch performance.
  • 📵 Unplug and Play: Say goodbye to dependency on an internet connection — LM Studio lets you run LLMs on your laptop anytime, anywhere, offline.
  • 💬 Effortless Interactions: Engage with models through a user-friendly in-app Chat UI, for an intuitive and streamlined experience.
  • 🖥️ Local Server Flexibility: Customize your setup with an OpenAI compatible local server, tailoring access to models as per your needs.
  • ⬇️ Seamless Model Downloads: Fetch compatible model files directly from HuggingFace repositories within the application, hassle-free.
  • 🌟 Model Galore: LM Studio supports an extensive range of ggml Llama, MPT, and StarCoder models, including Llama 2, Orca, Vicuna, NousHermes, WizardCoder, and MPT from Hugging Face.
  • 🚀 Powered by llama.cpp: Behind LM Studio’s innovation lies the llama.cpp project, ensuring rock-solid reliability and performance.

My Journey to Running LM Studio on Linux Distribution.

After finding LM Studio I was excited until I noticed they did not have a Linux supported run file. So I started my mission and took the Wine🍷 and Playonlinux approach. This turned into a dependency and regedit nightmare. Luckily there is “.AppImage” and the community quickly realized what Linux distribution users needed.

AI generated Images by ideogram.aiUnlock the Power of Large Language Models: How To Install LM Studio on Linux Distros?

Unlock the Power of Large Language Models: How To Install LM Studio on Linux Distros?

Welcome to the future of Large Language Model exploration! With LM Studio, you can now delve into the world of powerful language models right from your own Linux system. Follow these simple steps to get started:

  • Step 1: Download the AppImage

Begin by obtaining the LM Studio AppImage file from the official website or Discord. This self-contained file contains all the necessary components to run LM Studio on your system.

  • Step 2: Access the Terminal

Open your Linux terminal window by pressing:

`Ctrl + Alt + T`

This will be your gateway to the installation process.

  • Step 3: Navigate to the Directory

Use the `cd` command to navigate to the directory where the LM Studio file is located. This is typically the location where you downloaded the AppImage file.

```bash
cd /path/to/directory
```
  • Step 4: Set Permissions

Make the AppImage file executable by using the `chmod` command. This grants the necessary permissions to run the file.

```bash
chmod u+x filename.appimage
```
  • Step 5: Execute the File

Now, it’s time to run the LM Studio AppImage. Simply enter the following command or just double click the lmstudio.AppImage file:

```bash
./filename.appimage
```
  • Step 6: Exploration Begins!

Voila! You’ve successfully installed LM Studio on your Linux system. Begin your journey into the world of Large Language Models with this user-friendly desktop application.

With LM Studio, you now have the power to explore, configure, and interact with Large Language Models directly from your Linux environment. Enjoy the seamless experience and let your creativity run wild!

For any further information or troubleshooting, don’t hesitate to reach out to the LM Studio team on Discord. Happy exploring!

Usage Terms: LM Studio is designed for personal use, subject to specific terms. For business applications or more details, feel free to get in touch with the LM Studio team.

Experience a new era in Large Language Model exploration with LM Studio! Unearth, configure, and deploy LLMs effortlessly, all through this user-friendly desktop application.

Thanks for reading. Use AI with an ethical responsibility towards all our futures including AI. AI will only take jobs and replace people that don’t level up. It’s time to level up. 😏

Socials: Rens Wunnink

--

--

Rens Wunnink

Creative pro with expertise in video editing, engineering, web building, risk management, Python for automation & data analysis. Let's create impact together!