VS CODE installation

Won’t install from AUR
Can i follow this tutorial !!!
https://www.youtube.com/watch?v=m8_QiRkkagE

moderated: please do not promote random youtube videos

Sure it will. Which package did you try and what happened? See Visual Studio Code - ArchWiki

Wrong punctuation, please don’t shout.

Please see:

when i try to install visual-studio-code-bin 1.63.2-1 from AUR start build files and nothing hapen stuck in build files i wait for 30min i guess then i cancel

It’s a binary package, there’s nothing to build. Something happened, that’s why it didn’t succeed. How are you attempting to install it? Post the build log here as outlined in the tutorials I linked above.

1 Like

Why not install code from the community repo?

1 Like

You have a local configuration issue or you have a network issue blocking download of the source archives

➜  ~ pamac build visual-studio-code-bin
Preparing...
Checking visual-studio-code-bin dependencies...
Resolving dependencies...
Checking inter-conflicts...

To build (1):
  visual-studio-code-bin  1.63.2-1    AUR


Edit build files : [e]
Apply transaction ? [e/y/N] y

Cloning visual-studio-code-bin build files...
Generating visual-studio-code-bin information...

Building visual-studio-code-bin...
==> Making package: visual-studio-code-bin 1.63.2-1 (2021-12-19T12:52:58 CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found visual-studio-code.desktop
  -> Found visual-studio-code-url-handler.desktop
  -> Found visual-studio-code-workspace.xml
  -> Downloading code_x64_1.63.2.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   134  100   134    0     0    353      0 --:--:-- --:--:-- --:--:--   352
100  108M  100  108M    0     0  24.4M      0  0:00:04  0:00:04 --:--:-- 27.2M
==> Validating source files with sha256sums...
    visual-studio-code.desktop ... Passed
    visual-studio-code-url-handler.desktop ... Passed
    visual-studio-code-workspace.xml ... Passed
==> Validating source_x86_64 files with sha256sums...
    code_x64_1.63.2.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting code_x64_1.63.2.tar.gz with bsdtar
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "visual-studio-code-bin"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: visual-studio-code-bin 1.63.2-1 (2021-12-19T12:53:16 CET)
==> Cleaning up...

Checking keyring...                                                                                                [1/1]
Checking integrity...                                                                                              [1/1]
Loading packages files...                                                                                          [1/1]
Checking file conflicts...                                                                                         [1/1]
Checking available disk space...                                                                                   [1/1]
Installing visual-studio-code-bin (1.63.2-1)...                                                                    [1/1]
Running post-transaction hooks...
Arming ConditionNeedsUpdate...                                                                                     [1/3]
Updating the MIME type database...                                                                                 [2/3]
Updating the desktop file MIME type cache...                                                                       [3/3]
Transaction successfully finished.
1 Like

ensure you have the base-devel package group then yay visual-studio-code

1 Like

Well, there’s yer prollem!

If you won’t install it, then you have an installation problem, yes.

If you won’t install it from the AUR, there’s always code from the repositories:

$ pamac search code

[...]
 code                                                                                                                                                                          [Installed] 1.62.0-1                                                community
The Open Source build of Visual Studio Code (vscode) editor

So it can be easily installed with:

pamac install code
1 Like

you can avoid the pain of rebuilding from AUR by installing “code” from repository, or if you do insist on getting it from AUR, get vscodium (without M$ telemetry); AUR (en) - vscodium

1 Like

FYI, base-devel is a package group. :wink:

2 Likes

I install Code-OSS last night, and i try to figure out the difference between visual-studio-code-bin and Code-OSS and to be honest i really don’t understand just get more confused
on Code-OSS i try to install this C/C++ IntelliSense, debugging, and code browsing i cant find it i dont why and i dont know how to use command in terminal yet

just use visual-studio-code-bin from the aur. it handles extensions and updates better than code. use yay -S visual-studio-code to install.

1 Like

See Visual Studio Code - ArchWiki on how these differ on where they fetch the extensions from

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.