You are not logged in.

#1 2023-05-15 19:16:19

mt_arch_user
Member
From: Montana, USA
Registered: 2023-01-17
Posts: 111

Visual Studio Code

I wanted vscode on my system.  I must have used the wrong name when I tried to install it using pacman.  But, I found and installed it using AUR using the instructions I found at https://linuxhint.com/aur_arch_linux.  It works, but updates are a pain.

I have since found that vscode is available using pacman from the regular repositories.

I tried to uninstall vscode and reinstall using pacman but pacman tells me it can't find vscode on my system.

I'm hesitant to just go in and delete files.  What is the proper way to uninstall the AUR version and install the regular version without removing projects I have already created?

Offline

#2 2023-05-15 19:34:04

rudolf_schlepke
Member
From: Ukraine
Registered: 2021-02-27
Posts: 22
Website

Re: Visual Studio Code

Check if VSCode AUR package is installed by running

$ pacman -Qm

If it's there, just run

# pacman -Rsu visual-studio-code-bin

I think that should do the trick.

Offline

#3 2023-05-15 19:40:40

vorvac
Member
Registered: 2021-05-14
Posts: 44

Re: Visual Studio Code

Terrible 3rd Party Guide wrote:

The “-sri” options tell the makepkg to perform a source-only build using “-s’, -r: to install the required packages to build the package, and -i: to install the package after it is built.

Umm, no, that's not how the flags work. I'd read the Wiki, and forget everything you saw on that website.

https://wiki.archlinux.org/title/Arch_U … he_package

Last edited by vorvac (2023-05-15 19:42:44)

Offline

#4 2023-05-16 07:57:49

triantad
Member
Registered: 2022-01-13
Posts: 11

Re: Visual Studio Code

Just keep in mind that the open source version in the official repositories does not use Microsoft's marketplace due to licensing issues. It uses the "Open VSX Registry", which has fewer extensions available. AFAIK you can manually install whatever extension you need, or configure it yourself to use the MS marketplace though.

You can also use an AUR helper (like paru, which I use myself) to automate installation, updates, dependency checking etc.

Your projects won't be touched by pacman because these are files you created yourself and do not belong to the package.

Last edited by triantad (2023-05-16 08:21:05)

Offline

#5 2023-05-16 11:30:00

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: Visual Studio Code

Not sure if the OP is aware that the repo's package name is just "code", not "vscode".

Offline

Board footer

Powered by FluxBB