Package Details: visual-studio-code-bin 1.108.0-1

Git Clone URL: https://aur.archlinux.org/visual-studio-code-bin.git (read-only, click to copy)
Package Base: visual-studio-code-bin
Description: Visual Studio Code (vscode): Editor for building and debugging modern web and cloud applications (official binary version)
Upstream URL: https://code.visualstudio.com/
Licenses: custom: commercial
Conflicts: code
Provides: code, vscode
Submitter: dcelasun
Maintainer: dcelasun
Last Packager: dcelasun
Votes: 1600
Popularity: 28.03
First Submitted: 2017-12-18 19:14 (UTC)
Last Updated: 2026-01-08 22:05 (UTC)

Required by (21)

Sources (7)

Pinned Comments

dcelasun commented on 2017-11-15 06:20 (UTC) (edited on 2025-09-24 09:46 (UTC) by dcelasun)

FREQUENTLY ASKED QUESTIONS (read before flagging or commenting!)

  • What is the difference between this package and the one in the community repo?

This is the official binary distribution from Microsoft. The one in the community repo is an unofficial build made from source. Beyond the licence difference and branding, there are some proprietary features not available in the open-source version.

  • There is a new version out, why is the package not updated?

Please check this page before flagging as out-of-date. If there is no new version on that page, it's not yet released. A tag on GitHub is NOT a release! If you can see the new version on the updates page, but the AUR package is still not updated, flag it and give it time. It's usually done within hours.

  • I'm using an AUR helper (yay, yaourt etc.) and I can't install it. Why?

Sometimes AUR helpers do weird things. Download the tarball and install it manually with makepkg -si. If that works, report the problem to your AUR helper's upstream, not here.

  • When I install this package xdg-open uses vscode, not my file manager! How do I fix this?

Install shared-mime-info-gnome gnome-session which now includes mimemapps.

  • Why is $X a dependency? I don't like it.

Just because $X is not required to open the app, doesn't mean there is nothing that depends on it. Always search the comment history on AUR to see if that dependency has been previously discussed before writing your own comment. Still nothing? Then use namcap to make sure it's really not needed. If namcap doesn't complain, please leave a comment here and I'll investigate.

  • Something is broken with the app, where do I report it?

The problem might be a packaging issue (wrong paths, dependencies, icons), so please write a comment here first. If you don't get a reply, or if someone says it's an upstream issue, you can report it on GitHub.

  • I have a problem with this package, can I email you?

No, you won't get a reply. Please stop doing this. Leave a comment here instead and be patient.

Latest Comments

1 2 3 4 5 6 .. 86 Next › Last »

Zoddo commented on 2026-01-13 23:30 (UTC) (edited on 2026-01-14 00:04 (UTC) by Zoddo)

I just migrated from Code OSS to this package.
However, when I try to start VSCode, it immediately coredump (before any window can be shown)

janv. 14 00:22:02 arch kernel: traps: code[31621] trap int3 ip:55e6757177be sp:7ffef1eb6620 error:0 in code[65c57be,55e6714e9000+8d3e000]
janv. 14 00:22:02 arch systemd-coredump[31624]: Process 31621 (code) of user 1000 terminated abnormally with signal 5/TRAP, processing...
janv. 14 00:22:02 arch systemd[1]: Started Process Core Dump (PID 31624/UID 0).
janv. 14 00:22:03 arch systemd-coredump[31625]: [🡕] Process 31621 (code) of user 1000 dumped core.
janv. 14 00:22:03 arch systemd[1]: systemd-coredump@6-3-31624_31625-0.service: Deactivated successfully.

The backtrace is practically useless without the dbg symbols (and Microsoft doesn't seem to publish them)

Package 1.108.0-1 on x64
X11, DE is Budgie (based on Gnome)

Is there anything known I may be missing?

Edit: /opt/visual-studio-code/chrome-sandbox is missing the suid flag. After doing a chmod 4755 on it, I can now start VS Code.

Nikolai508 commented on 2026-01-09 14:31 (UTC)

This essentially serves as a replacement to the soon to be deprecated Azure Data Studio, and in order to copy results from the result grid in the MSSQL extension, you require the package 'xsel', might be worth adding that as an optional dep.

matthias-eb commented on 2025-12-22 09:16 (UTC)

Since version 107, I can only run visual studio code with the flag --disable-accelerated-video-decode.

Any suggestions on how to fix this? I run on garuda-linux with KDE and I use a nvidia graphics card..

codebling commented on 2025-12-19 04:35 (UTC)

I'm not sure this is useful for anyone else, but I was able to get this package and code working side by side with minimal changes to the PKGBUILD. Here's the diff

diff --git a/PKGBUILD b/PKGBUILD
index e9b50af..517e023 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,6 @@ arch=('x86_64' 'aarch64' 'armv7h')
 url="https://code.visualstudio.com/"
 license=('custom: commercial')
 provides=('code' 'vscode')
-conflicts=('code')
 # Upstream has signature verification for extensions and stripping breaks it
 # See https://github.com/microsoft/vscode/issues/223455#issuecomment-2610001754
 options=(!strip)
@@ -42,7 +41,7 @@ _set_meta_info() {
   sed 's/@@NAME_LONG@@/Visual Studio Code/g' "$1" |\
   sed 's/@@NAME_SHORT@@/Code/g' |\
   sed 's/@@NAME@@/code/g' |\
-  sed 's#@@EXEC@@#/usr/bin/code#g' |\
+  sed 's#@@EXEC@@#/usr/bin/vscode#g' |\
   sed 's/@@ICON@@/visual-studio-code/g' |\
   sed 's/@@URLPROTOCOL@@/vscode/g'
 }
@@ -70,14 +69,14 @@ package() {

   install -m644 "${srcdir}/$(_pkg)/resources/app/LICENSE.rtf" "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE.rtf"
   install -m644 "${srcdir}/$(_pkg)/resources/app/resources/linux/code.png" "${pkgdir}/usr/share/pixmaps/${_pkgname}.png"
-  install -m644 "${srcdir}/code.desktop" "${pkgdir}/usr/share/applications/code.desktop"
-  install -m644 "${srcdir}/code-url-handler.desktop" "${pkgdir}/usr/share/applications/code-url-handler.desktop"
+  install -m644 "${srcdir}/code.desktop" "${pkgdir}/usr/share/applications/vscode.desktop"
+  install -m644 "${srcdir}/code-url-handler.desktop" "${pkgdir}/usr/share/applications/vscode-url-handler.desktop"
   install -m644 "${srcdir}/code-workspace.xml" "${pkgdir}/usr/share/mime/packages/${pkgname}-workspace.xml"
-  install -Dm 644 "${srcdir}/$(_pkg)/resources/completions/bash/code" "${pkgdir}/usr/share/bash-completion/completions/code"
-  install -Dm 644 "${srcdir}/$(_pkg)/resources/completions/zsh/_code" "${pkgdir}/usr/share/zsh/site-functions/_code"
+  install -Dm 644 "${srcdir}/$(_pkg)/resources/completions/bash/code" "${pkgdir}/usr/share/bash-completion/completions/vscode"
+  install -Dm 644 "${srcdir}/$(_pkg)/resources/completions/zsh/_code" "${pkgdir}/usr/share/zsh/site-functions/_vscode"

   cp -r "${srcdir}/$(_pkg)/"* "${pkgdir}/opt/${_pkgname}"

   # Launcher
-       install -m755 "${srcdir}/${_pkgname}-bin.sh" "${pkgdir}/usr/bin/code"
+       install -m755 "${srcdir}/${_pkgname}-bin.sh" "${pkgdir}/usr/bin/vscode"
 }

Running them side by side allows me to use this package with Copilot for work and code for personal projects

Hectarea commented on 2025-12-15 07:14 (UTC)

KDE's global menu won't work with latest 1.107.0-1 build, even after reinstalling libdbusmenu-glib

dcelasun commented on 2025-11-18 22:11 (UTC)

GitHub is back online so it should just work now.

ijann commented on 2025-11-18 22:03 (UTC) (edited on 2025-11-18 22:05 (UTC) by ijann)

@JMac, @Adiee5

well what I did was this I downloaded the compromised files

> git clone https://aur.archlinux.org/visual-studio-code-bin.git

donwload files you mention .desktop and xml

https://raw.githubusercontent.com/microsoft/vscode/1.106.1/resources/linux/code.desktop
https://raw.githubusercontent.com/microsoft/vscode/1.106.1/resources/linux/code-url-handler.desktop
https://raw.githubusercontent.com/microsoft/vscode/1.106.1/resources/linux/code-workspace.xml

I save the files inside the vscode git folder
then I install

>makepkg -cCifs

JMac commented on 2025-11-18 21:14 (UTC)

@Adiee5 If you are in a hurry, you can comment out the references to the .desktop and .xml files in the PKGBUILD and it will still install. Only those resources come from Github, the actual application comes from a different Microsoft domain.

dcelasun commented on 2025-11-18 20:56 (UTC)

@Adiee5 GitHub is down https://www.githubstatus.com/incidents/5q7nmlxz30sk

Adiee5 commented on 2025-11-18 20:53 (UTC)

Error while downloading the 1.106.1-1 update:

  -> Downloading code-1.106.1.desktop.in...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0   0     0   0     0     0     0  --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404
==> ERROR: Failure while downloading https://raw.githubusercontent.com/microsoft/vscode/1.106.1/resources/linux/code.desktop
    Aborting...

also tested with the traditional makepkg method