You are not logged in.
Pages: 1
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
Check if VSCode AUR package is installed by running
$ pacman -QmIf it's there, just run
# pacman -Rsu visual-studio-code-binI think that should do the trick.
Offline
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
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
Not sure if the OP is aware that the repo's package name is just "code", not "vscode".
Offline
Pages: 1