Memasang Visual Studio Code pada openSUSE Tumbleweed

Komunitas openSUSE Indonesia

Buka terminal, lalu pasang repositori Visual Studio Code untuk openSUSE (dapat pula dipasang pada openSUSE Leap)

sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
sudo sh -c 'echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ntype=rpm-md\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/zypp/repos.d/vscode.repo'

Perbarui repositori Anda

sudo zypper refresh

Pasang Visual Studio Code

sudo zypper install code

 

Comments: 2

  1. reiza berkata:

    You can use Microsoft’s repositories to install and update Visual Studio Code.

    sudo rpm –import https://packages.microsoft.com/keys/microsoft.asc

    Saya mengalami kendala saat ingin menginstalnya. Tertulis bahwa code tidak ditemukan. Saya menemukan solusinya pada website resmi opensuse.

    sudo rpm –import https://packages.microsoft.com/keys/microsoft.asc

    sudo sh -c ‘echo -e “[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ntype=rpm-md\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc” > /etc/zypp/repos.d/vscode.repo’

    sudo zypper refresh

    sudo zypper install code

    sumbernya:

    https://en.opensuse.org/Visual_Studio_Code

Tinggalkan Balasan ke reiza Batalkan balasan

This site uses Akismet to reduce spam. Learn how your comment data is processed.