mirror of
https://github.com/Microsoft/vscode
synced 2024-08-25 03:56:03 +00:00
13 lines
546 B
Bash
Executable file
13 lines
546 B
Bash
Executable file
#!/bin/sh
|
|
|
|
apt update
|
|
apt install -y wget gpg
|
|
|
|
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg
|
|
install -D -o root -g root -m 644 packages.microsoft.gpg /etc/apt/keyrings/packages.microsoft.gpg
|
|
sh -c 'echo "deb [arch=amd64,arm64,armhf signed-by=/etc/apt/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main" > /etc/apt/sources.list.d/vscode.list'
|
|
rm -f packages.microsoft.gpg
|
|
|
|
apt update
|
|
apt install -y code-insiders libsecret-1-dev libxkbfile-dev libkrb5-dev
|