for someone want to get the latest version
change in PKGBUILD
pkgver=0.3.39.2
sha256sums=('23e74efed0ba4802e3afc62bc958177c8edee9edf9cbb0a4507b07781716139c')
then run makepkg -si
| Git Clone URL: | https://aur.archlinux.org/lmstudio-bin.git (read-only, click to copy) |
|---|---|
| Package Base: | lmstudio-bin |
| Description: | LM Studio - A desktop app for exploring and running large language models locally |
| Upstream URL: | https://lmstudio.ai |
| Keywords: | ai appimage artificial-intelligence assistant chatbot deep-learning deepseek electron gguf glm kimi large-language-models llama llm local-ai machine-learning minimax mistral qwen |
| Licenses: | EULA |
| Conflicts: | lmstudio |
| Provides: | lmstudio |
| Submitter: | MadGoat |
| Maintainer: | noureddinex |
| Last Packager: | noureddinex |
| Votes: | 58 |
| Popularity: | 9.35 |
| First Submitted: | 2026-01-31 22:33 (UTC) |
| Last Updated: | 2026-05-20 13:12 (UTC) |
for someone want to get the latest version
change in PKGBUILD
pkgver=0.3.39.2
sha256sums=('23e74efed0ba4802e3afc62bc958177c8edee9edf9cbb0a4507b07781716139c')
then run makepkg -si
I got too lazy to manually get the versions, use this edit to make it auto fetch latest version, obviously this doesnt match hashes, so keep that in mind. The regex is also likely to break in the future and Idk how it handles build nums yet.. will update it whenever i hit an issue.
diff --git a/PKGBUILD b/PKGBUILD
index 7750fda..dbe0a91 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=lmstudio
_appname=lm-studio
-pkgver=0.3.35.1
+pkgver=0.3.39.1
_pkgver="${pkgver%.*}-${pkgver##*.}"
pkgrel=1
pkgdesc="Discover, download, and run local LLMs"
@@ -15,22 +15,37 @@ depends=('zlib' 'hicolor-icon-theme' 'fuse2' 'clblast')
makedepends=('squashfs-tools' 'graphicsmagick')
options=(!strip !debug)
_appimage="${pkgname}-${pkgver}.AppImage"
-source=("${_appimage}::https://installers.lmstudio.ai/linux/x64/${_pkgver}/LM-Studio-${_pkgver}-x64.AppImage")
-sha256sums=('ad9bf98e91ff13b5eea1d26f1457c8d7c4bed24bbb419551d5cbff4840380953')
+source=()
+sha256sums=()
noextract=("${_appimage}")
+pkgver() {
+ python - <<'EOF'
+import os, re
+lh = os.popen("wget -qO - https://lmstudio.ai/download").read()
+r = re.findall(r"\\\"linux\\\":{\\\"x64\\\":{\\\"version\\\":\\\"([^\"]+)\\\",\\\"build\\\":\\\"([^\"]+)\\\"}", lh)
+print(f"{r[0][0]}.{r[0][1]}")
+EOF
+}
+
prepare() {
- rm -rf squashfs-root
+ realver="$(pkgver)"
+ _pkgver="${realver%.*}-${realver##*.}"
+ _appimage="${pkgname}-${realver}.AppImage"
+
+ url="https://installers.lmstudio.ai/linux/x64/${_pkgver}/LM-Studio-${_pkgver}-x64.AppImage"
+
+ wget -O "${_appimage}" "$url"
chmod +x "${_appimage}"
- # get the files we need for packaging
+
+ rm -rf squashfs-root
offset=$(./"${_appimage}" --appimage-offset)
- unset PAGER # unsquashfs is very picky about pager settings
+ unset PAGER
unsquashfs -q -o "$offset" -d squashfs-root "${_appimage}" \
"${_appname}.desktop" \
"usr/share/icons/hicolor/0x0/apps/lm-studio.png" \
"LICENSE.electron.txt" \
"LICENSES.chromium.html"
- # unsquashfs -o "$offset" -l "${_appimage}" | grep -i license
}
build() {
$ paru -G lmstudio && cd lmstudio
$ cat << 'EOF' > update.patch
diff --git a/.SRCINFO b/.SRCINFO
index 1664afb..49dbf7a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = lmstudio
pkgdesc = Discover, download, and run local LLMs
- pkgver = 0.3.35.1
+ pkgver = 0.3.37.1
pkgrel = 1
url = https://lmstudio.ai/
arch = x86_64
@@ -11,10 +11,10 @@ pkgbase = lmstudio
depends = hicolor-icon-theme
depends = fuse2
depends = clblast
- noextract = lmstudio-0.3.35.1.AppImage
+ noextract = lmstudio-0.3.37.1.AppImage
options = !strip
options = !debug
- source = lmstudio-0.3.35.1.AppImage::https://installers.lmstudio.ai/linux/x64/0.3.35-1/LM-Studio-0.3.35-1-x64.AppImage
- sha256sums = ad9bf98e91ff13b5eea1d26f1457c8d7c4bed24bbb419551d5cbff4840380953
+ source = lmstudio-0.3.37.1.AppImage::https://installers.lmstudio.ai/linux/x64/0.3.37-1/LM-Studio-0.3.37-1-x64.AppImage
+ sha256sums = c0dc931079f18e55ed98bb3dc9cf29eca440257e22e5a2929208c626e8a64894
pkgname = lmstudio
diff --git a/PKGBUILD b/PKGBUILD
index 7750fda..6844f09 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=lmstudio
_appname=lm-studio
-pkgver=0.3.35.1
+pkgver=0.3.37.1
_pkgver="${pkgver%.*}-${pkgver##*.}"
pkgrel=1
pkgdesc="Discover, download, and run local LLMs"
@@ -16,7 +16,7 @@ makedepends=('squashfs-tools' 'graphicsmagick')
options=(!strip !debug)
_appimage="${pkgname}-${pkgver}.AppImage"
source=("${_appimage}::https://installers.lmstudio.ai/linux/x64/${_pkgver}/LM-Studio-${_pkgver}-x64.AppImage")
-sha256sums=('ad9bf98e91ff13b5eea1d26f1457c8d7c4bed24bbb419551d5cbff4840380953')
+sha256sums=('c0dc931079f18e55ed98bb3dc9cf29eca440257e22e5a2929208c626e8a64894')
noextract=("${_appimage}")
prepare() {
EOF
$ patch -p1 < update.patch && paru -Bi .
please update. we are at 0.3.37 now!
diff --git a/PKGBUILD b/PKGBUILD
index 7750fda..98d39de 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=lmstudio
_appname=lm-studio
-pkgver=0.3.35.1
+pkgver=0.3.36.1
_pkgver="${pkgver%.*}-${pkgver##*.}"
pkgrel=1
pkgdesc="Discover, download, and run local LLMs"
@@ -16,7 +16,7 @@ makedepends=('squashfs-tools' 'graphicsmagick')
options=(!strip !debug)
_appimage="${pkgname}-${pkgver}.AppImage"
source=("${_appimage}::https://installers.lmstudio.ai/linux/x64/${_pkgver}/LM-Studio-${_pkgver}-x64.AppImage")
-sha256sums=('ad9bf98e91ff13b5eea1d26f1457c8d7c4bed24bbb419551d5cbff4840380953')
+sha256sums=('630d41010f682af2b18502385b04a1467fae229707254842cc7ea9635e3511a5')
noextract=("${_appimage}")
prepare() {
Confirmed working for version 0.3.36 (build 1). The download URL logic requires strict versioning.
Fix:
Edit PKGBUILD: set pkgver=0.3.36.1 (ensure it matches the build number from the website if needed).
Run updpkgsums to update checksums.
makepkg -si.
The build number suffix seems to be the culprit for the 404 error on previous attempts.
diff --git a/PKGBUILD b/PKGBUILD
index 7750fda..95c410f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,8 +4,9 @@
pkgname=lmstudio
_appname=lm-studio
-pkgver=0.3.35.1
-_pkgver="${pkgver%.*}-${pkgver##*.}"
+pkgver=0.3.36
+_upstream_rel=1
+_pkgver="${pkgver}-${_upstream_rel}"
pkgrel=1
pkgdesc="Discover, download, and run local LLMs"
arch=('x86_64')
@@ -16,7 +17,7 @@ makedepends=('squashfs-tools' 'graphicsmagick')
options=(!strip !debug)
_appimage="${pkgname}-${pkgver}.AppImage"
source=("${_appimage}::https://installers.lmstudio.ai/linux/x64/${_pkgver}/LM-Studio-${_pkgver}-x64.AppImage")
-sha256sums=('ad9bf98e91ff13b5eea1d26f1457c8d7c4bed24bbb419551d5cbff4840380953')
+sha256sums=('102bb6cf683721ff7e2443fba43d85775993564d4a9ba3702a7ba4c92de77e1c')
noextract=("${_appimage}")
prepare() {
It looks like this is missing the following dependencies: atkmm, gtk3
@merlinuxxx - the best way to isolate if this is a package problem or some dependency build issue would be the following:
mkdir -p ~/build
cd ~/build
git clone ssh://aur@aur.archlinux.org/lmstudio.git
cd lmstudio
makepkg -fsi
and then cleanup if successful:
cd ~
rm -rf ~/build/lmstudio
rmdir ~/build
@envolution probably I had to specify that I am using yay for the installation of lmstudio, but in this case it's just an upgrade, lmstudio is already installed. At this point then probably is better to uninstall and reinstall it. The output anyway is from the command line while I was upgrading and there's an actual error that stopped the process:
malloc.c: In function ‘rpl_malloc’: malloc.c:16:10: error: too many arguments to function ‘malloc’; expected 0, have 1 16
Pinned Comments
MadGoat commented on 2026-02-01 01:42 (UTC)
Migration Notice: This package (
lmstudio-bin) is the active replacement for the abandonedlmstudiopackage.Recent Changes (v0.4.1-1): * Icons Fixed: I have switched to statically vendoring the high-resolution icon. This guarantees the icon appears correctly and eliminates the "blank icon" bugs caused by upstream AppImage changes. * AppImage: Installs the latest official AppImage to
/opt/lm-studio/. * Conflict Handling: Automatically removes the oldlmstudiopackage.Troubleshooting: If you still see a blank icon after upgrading, your desktop environment is likely caching the old broken entry. Force a refresh by running:
rm -rf ~/.cache/icon-cache.kcache(KDE/Plasma) orsudo gtk-update-icon-cache -f /usr/share/icons/hicolor(GNOME/GTK)envolution commented on 2025-02-16 19:53 (UTC)
Please don't flag out of date referring to the beta versions. Versions this package track are sourced from https://lmstudio.ai/
https://aur.archlinux.org/packages/lmstudio-beta tracks https://lmstudio.ai/beta-releases
It's possible this version can be at a higher version level than the beta releases, and vice-versa.