Brooks Computing Systems Logo

Install LM Studio on Gentoo

Quality, Reliability & Service

Create a folder and download the current AppImage build:

mkdir -p ~/Applications/lmstudio
cd ~/Applications/lmstudio
wget https://installers.lmstudio.ai/linux/x64/latest/LM-Studio.AppImage -O LM-Studio.AppImage

chmod +x ~/Applications/lmstudio/LM-Studio.AppImage

Install FUSE support first:

sudo emerge --ask sys-fs/fuse:0 sys-fs/fuse:3

Then install common runtime libraries:

sudo emerge --ask x11-libs/libX11 x11-libs/libXrender x11-libs/libXtst \
media-libs/mesa dev-libs/nss dev-libs/glib media-fonts/dejavu

cd ~/Applications/lmstudio
./LM-Studio.AppImage

cd ~/Applications/lmstudio
./LM-Studio.AppImage --appimage-extract
cd squashfs-root
./AppRun

Create the launcher:

mkdir -p ~/.local/share/applications
nano ~/.local/share/applications/lmstudio.desktop

Paste this:

[Desktop Entry]
Version=1.0
Name=LM Studio
Comment=Local AI Model Runner
Exec=/home/YOUR_USER/Applications/lmstudio/LM-Studio.AppImage
Icon=/home/YOUR_USER/Applications/lmstudio/lmstudio.png
Terminal=false
Type=Application
Categories=Development;AI;

Then refresh:

update-desktop-database ~/.local/share/applications

QT_QPA_PLATFORM=xcb ~/Applications/lmstudio/LM-Studio.AppImage
Brooks Computing Systems Logo
Quality, Reliability & Service
Thank You For Visiting
Brooks Computing Systems - Jacksonville
Visit https://bcs.archman.us