Otu esi etinye Visual Studio Code (VS Code) na openSUSE Leap 15

Ihe ngosi Visual Studio bụ ihe ndezi koodu-efu mere site na Microsoft maka Windows, MacOS Linux. Njirimara Koodu Visual Studio gụnyere nkwado maka nbipu, njikwa Git agbakwunyere, mmecha koodu nwere ọgụgụ isi, snippets, na nrụgharị koodu. Microsoft Visual Studio Code nwekwara nnukwu ọbá akwụkwọ ndọtị nke nwere ike ịga n'ihu na-akwado mmepe ngwanrọ raara onwe ya nye na koodu iji mee ka ụba na nyere aka ịzụlite na iji ngwanro ahụ.

N'ime ntuziaka na-esonụ, ị ga-amụta otu esi eme ya wụnye Visual Code Editor na openSUSE Leap 15.

Prerequisites

  • OS akwadoro: mepereSUSE Leap - 15.x 
  • Akaụntụ onye ọrụ: Akaụntụ onye ọrụ nwere sudo ma ọ bụ ohere mgbọrọgwụ.

Melite Sistemụ Ọrụ

Melite gi openSUSE Sistemụ arụmọrụ iji hụ na ngwugwu niile dị adị adịla ugbu a:

sudo zypper refresh

Nkuzi a ga-eji ya sudo iwu na na-eche na ị nwere ọnọdụ sudo.

Iji nyochaa ọkwa sudo na akaụntụ gị:

sudo whoami

Ihe atụ na-egosi ọkwa sudo:

[joshua@opensuse ~]$ sudo whoami
root

Ka ịtọlite ​​akaụntụ sudo dị adị ma ọ bụ ọhụrụ, gaa na nkuzi anyị na na-agbakwunye onye ọrụ na Sudoers na openSUSE.

Iji mgbọrọgwụ akaụntụ, jiri iwu na-esonụ na paswọọdụ mgbọrọgwụ banye.

su
Advertisement

Mepụta & Bubata ebe nchekwa ihe onyonyo onyonyo

Site na ndabara, Visual Studio anaghị abanye na ebe nchekwa openSUSE. Agbanyeghị, ị nwere ike ibubata ụlọ ọrụ gọọmentị Visual Studio na sistemụ gị ngwa ngwa site na ime ihe ndị a.

Nke mbụ, bubata ebe nchekwa koodu VS site na iji iwu a.

sudo zypper ar https://packages.microsoft.com/yumrepos/vscode vscode

Na-esote, bubata GPG iji nyochaa izi ezi nke ngwugwu ahụ.

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

Wụnye Visual Studio Code

Site na nhazi ebe nchekwa isi mmalite, ị ga-emerịrị ndepụta isi mmalite njikwa ngwugwu zypper gị iji gosipụta mgbakwunye ọhụrụ tupu nrụnye Visual Studio. Iji mee nke a, gbanye iwu a na njedebe gị:

sudo zypper refresh

Mgbe a na-enwe ume ọhụrụ, ị ga-amata ma ebubata ụlọ nchekwa ndị ahụ nke ọma site na nsonaazụ ndị a:

Retrieving repository 'vscode' metadata ..................................[done]
Building repository 'vscode' cache .......................................[done]

Ugbu a tinye Visual Studio site na iji iwu a:

sudo zypper install code

Ihe atụ mmepụta:

Otu esi etinye Visual Studio Code (VS Code) na openSUSE Leap 15

ụdị "Y," wee pịa "Tinye igodo" ịga n'ihu na mezue nrụnye.

Iji kwado nrụnye, ị nwere ike iji iwu ụdịdị a nyochaa dị ka ndị a:

code --version

Ihe atụ mmepụta:

1.61.2
6cba118ac49a1b88332f312a8f67186f7f3c1643
x64
Advertisement

Otu esi ebido Koodu Studio Visual

Na nrụnye zuru ezu, ị nwere ike ịgba ọsọ Visual Studio n'ụzọ ole na ole dị iche iche. Nke mbụ, mgbe ịnọ na ọdụ gị, ịnwere ike iji iwu a:

code

N'aka nke ọzọ, gbaa ọsọ iwu koodu n'azụ ka ịtọhapụ ọnụ ọnụ:

code &

Agbanyeghị, nke a abụghị ihe bara uru, ma ị ga-eji ụzọ a na desktọpụ gị mepee ụzọ ahụ: Ihe > Gosi ngwa > Ihe ngosi Visual Studio. Ọ bụrụ na ịnweghị ike ịhụ ya, jiri ọrụ ọchụchọ dị na menu Gosi Ngwa ma ọ bụrụ na etinyere ọtụtụ ngwa.

Ihe Nlereanya:

Otu esi etinye Visual Studio Code (VS Code) na openSUSE Leap 15

The oge mbụ imepee Visual Studio, ị ga-ahụ windo ndị a:

Otu esi etinye Visual Studio Code (VS Code) na openSUSE Leap 15

Ekele, ị tinyela Visual Studio Code na openSUSE Leap 15.

Otu esi emelite Koodu Studio Visual

Ka imelite koodu VS, mee ya iwu melite zypper na ọdụ gị ka ị ga-elele sistemụ gị niile maka mmelite ọ bụla.

sudo zypper refresh
Advertisement

Otu esi ewepu (wepụ) Koodu Studio Visual

Iji wepu ngwanro Visual Studio na sistemu gị, mee iwu a na ọdụ gị:

sudo zypper remove code

Ihe atụ mmepụta:

Otu esi etinye Visual Studio Code (VS Code) na openSUSE Leap 15

ụdị Y, wee pịa Tinye igodo ịga n'ihu na mwepụ nke Visual Studio.

Okwu na mmechi

Ntuziaka ahụ egosila gị otu esi etinye Microsoft Visual Code maka openSUSE Leap ma gbakwunye ebe nchekwa iji melite mmemme na-ejighi aka budata na wụnye. Visual Code bụ otu n'ime ndị ndezi IDE efu na-ejikarị na mbara ala. Ọ dịkwa fechaa yana nhọrọ magburu onwe ya maka sistemụ gị ma ọ bụrụ na ị na-arụ ọrụ na sava kama iji ndị editọ ederede Linux ndabara dị ka. wd or nano.

Idenye aha
Gwa nke
0 Comments
Inline nzaghachi
Lee echiche niile
0
Ga-ahụ n'anya gị echiche, biko okwu.x