Package Details: visual-studio-code-bin 1.50.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
Submitter: dcelasun
Maintainer: dcelasun
Last Packager: dcelasun
Votes: 945
Popularity: 19.07
First Submitted: 2017-12-18 19:14
Last Updated: 2020-10-14 22:57

Required by (10)

Sources (15)

Pinned Comments

dcelasun commented on 2017-11-15 06:20

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

dcelasun commented on 2020-10-14 22:58

With version 1.50.1 I've added ARM builds to this package. I don't have an ARM system to test with so let me know if you see any issues.

pfeerick commented on 2020-10-10 11:12

The current version of this package only supports x64, not the (new) arm or arm64/aarch64 builds of VSCode. I had no issues using the official tar.gz for 1.50 from https://aka.ms/linux-arm64 on a Pinebook Pro (aarch64).

spqa commented on 2020-10-09 04:22

To anyone get this error:

:: (1/1) Parsing SRCINFO: visual-studio-code-bin
==> ERROR: PKGBUILD contains CRLF characters and cannot be sourced.
error downloading sources: visual-studio-code-bin

Use command git config --global core.autocrlf false and delete ~/.cache/yay/visual-studio-code-bin might help

Det commented on 2020-10-04 10:00

Pretty common for people to hardcode for Ubuntu.

dcelasun commented on 2020-10-04 09:55

@alosarjos I'd say that's a bug with their tool. Instead of checking a hardcoded path they should look for the code binary in $PATH. I'd report it upstream.

alosarjos commented on 2020-10-04 09:46

I was checking the official binary install paths. Seems to be different than this package. The official Ubuntu .deb seems to install on /usr/share/code.

In the case of the Flutter framework, their doctor tool to check if VSCode is correctly installed has the /usr/share/code/bin/code path hardcoded to check if it's installed on the system, so it doesn't detect the installation from this package.

While this is a minor thing that won't stop Flutter from working with Flutter, I don't know if this could lead to another frameworks or tools problems that need to detect if VSCode is installed using the expected binary path from the official packages.

PD: Thanks a lot for maintaining this package.

J.Kakaofanatiker commented on 2020-10-03 14:20

I get the following error when I try to download it using yay: curl: (7) Failed to connect to az764295.vo.msecnd.net port 443: Verbindungsaufbau abgelehnt (Translation: Connection refused)

malkovich commented on 2020-09-04 13:41

Your post has been so helpful because it was clear and concise writing made it easy to understand. Thank you! https://routerlogin.pro

dcelasun commented on 2020-08-26 06:00

@samueldy I think you have a corrupted package. I don't see any CRLF characters:

$ grep -U $'\015' visual-studio-code-bin/PKGBUILD
$

samueldy commented on 2020-08-26 05:21

Updating via yay -Syu gives the error:

:: (1/1) Parsing SRCINFO: visual-studio-code-bin
==> ERROR: PKGBUILD contains CRLF characters and cannot be sourced.
error downloading sources: visual-studio-code-bin

Navigating to the downloaded package directory (~/.cache/yay/visual-studio-code-bin for me), running dos2unix on PKGBUILD and the two .desktop files, and running makepkg -i worked for me.