Skip to content

Instantly share code, notes, and snippets.

@TopekoX
Last active February 28, 2025 07:59
Show Gist options
  • Save TopekoX/be2d3281929994f7011f29713a0b264d to your computer and use it in GitHub Desktop.
Save TopekoX/be2d3281929994f7011f29713a0b264d to your computer and use it in GitHub Desktop.
  1. Install dependency
pacman -Syu
pacman -S git base-devel
  1. Uncomment MAKEFLAGS="-j2"
vim /etc/makepkg.conf
  1. Build & Download Package
git clone https://aur.archlinux.org/visual-studio-code-bin.git
  1. Masuk ke direktori dan download package
cd visual-studio-code-bin/

makepkg
  1. Install dengan pacman
[ucup@timposu visual-studio-code-bin]$ ls
code.desktop.in              PKGBUILD
code-url-handler.desktop.in  src
code-workspace.xml.in        visual-studio-code-bin-1.97.2-2-x86_64.pkg.tar.zst
code_x64_1.97.2.tar.gz       visual-studio-code-bin.install
pkg                          visual-studio-code-bin.sh

$ sudo pacman -U visual-studio-code-bin-1.97.2-2-x86_64.pkg.tar.zst 
[sudo] password for ucup: 
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) visual-studio-code-bin-1.97.2-2

Total Installed Size:  416.37 MiB

:: Proceed with installation? [Y/n] 

Untuk menghapusnya dengan perintah

sudo pacman -R visual-studio-code
  1. Install dengan command line
makepkg -sri

Untuk menghapusnya dengan perintah

sudo pacman -R visual-studio-code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment