Package Details: visual-studio-code-bin 1.93.1-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: 1453
Popularity: 16.15
First Submitted: 2017-12-18 19:14 (UTC)
Last Updated: 2024-09-12 17:26 (UTC)

Required by (19)

Sources (7)

Pinned Comments

dcelasun commented on 2017-11-15 06:20 (UTC) (edited on 2020-02-06 21:33 (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 license 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 a day or two.

  • 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. Also see this reddit thread.

  • 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 .. 77 Next › Last »

machomacho commented on 2024-09-17 04:44 (UTC) (edited on 2024-09-17 07:36 (UTC) by machomacho)

@carterli

I am in China and also had trouble downloading this file, even when using a reliable VPN. It isn't a GFW issue, it seems to be a DNS resolution issue.

I was able to fix it by adding an IP for a raw.githubusercontent.com datacenter to my /etc/hosts file, as described here.

Not sure how much of a permanent solution this is, but after editing /etc/hosts I was able to install the updated package using yay with no issues.

database64128 commented on 2024-09-14 02:38 (UTC)

@carteli If you live in China and have trouble accessing GitHub, you can use the prebuilt package provided by archlinuxcn.

A bit of advice: If you don't circumvent the GFW, you essentially have no access to most of the AUR. Eventually you'll need some package that's only available on the AUR, and you'll have to find a way to do it.

marmis commented on 2024-09-14 00:59 (UTC)

Hello, @carteli, is there a reason for not using raw.githubusercontent.com? This package is based on .tar.gz provided by Microsoft (see the download page), but that archive is missing Desktop files, so the PKGBUILD fetches these missing files from raw.githubusercontent.com/microsoft/vscode. These are the official files from Microsoft repositories, hosted, reviewed and distributed by them. The other three options are:

  • get them from one of the other archives (.deb or .rpm), which would download an additional 100 MB of data, for just 3 files of size 1.2 kB in total;
  • clone the upstream repository (from 160 MB to 1.1 GB), and extract the 3 files from that;
  • the previous way, maintain a copy of these files in AUR repositories, which might (and actually did) get outdated with time.

carterli commented on 2024-09-13 11:42 (UTC)

Hello. How can I avoid downloading files from raw.githubusercontent.com?

dcelasun commented on 2024-09-11 05:01 (UTC)

Don't install -debug packages. You can also avoid building them by disabling debug in /etc/makepkg.conf.

cypressRU commented on 2024-09-11 02:25 (UTC) (edited on 2024-09-11 02:26 (UTC) by cypressRU)

Hello. I am getting this error when trying to install after installing either of the github desktop aur packages.

error: failed to commit transaction (conflicting files) github-desktop-bin-debug: /usr/lib/debug/.build-id/04/e9960947a38ced0a87421a6f198b9caf43dc3f exists in filesystem (owned by visual-studio-code-bin-debug) github-desktop-bin-debug: /usr/lib/debug/.build-id/04/e9960947a38ced0a87421a6f198b9caf43dc3f.debug exists in filesystem (owned by visual-studio-code-bin-debug) github-desktop-bin-debug: /usr/lib/debug/.build-id/37/851ad3790029c78d20ee4b4761055d5ad5dab6 exists in filesystem (owned by visual-studio-code-bin-debug) github-desktop-bin-debug: /usr/lib/debug/.build-id/37/851ad3790029c78d20ee4b4761055d5ad5dab6.debug exists in filesystem (owned by visual-studio-code-bin-debug) github-desktop-bin-debug: /usr/lib/debug/.build-id/68/3278eba471e7069eeddf5a8270d9a201ea88da exists in filesystem (owned by visual-studio-code-bin-debug) github-desktop-bin-debug: /usr/lib/debug/.build-id/68/3278eba471e7069eeddf5a8270d9a201ea88da.debug exists in filesystem (owned by visual-studio-code-bin-debug) Errors occurred, no packages were upgraded.

Any idea what I can do?

Firestar commented on 2024-09-06 08:11 (UTC) (edited on 2024-09-06 08:14 (UTC) by Firestar)

#214741 this issue still exists. #15741 this issue still exists on KDE dolphin.

Which means, I cannot open text-file nor directories on KDE plasma. This issue happens for about a week.

carterli commented on 2024-09-05 12:00 (UTC)

I have problem to update visual-studio-code-bin after 1.92.2-3 because I have network issues connecting github.

Failure while downloading https://raw.githubusercontent.com/microsoft/vscode/1.92.2/resources/linux/code.desktop Aborting...

Can I skip this file when installing? Any suggestions?

dcelasun commented on 2024-09-02 08:47 (UTC)

@armadillo sorry about that, fixed.