Otu esi etinye koodu Visual Studio (koodu VS) na Fedora 34/35

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ụ.

Na ntuziaka na-esonụ, ị ga-amụta ka esi etinye Visual Code Editor na Fedora.

Prerequisites

  • OS akwadoro: Fedora Linux 34/35 (Ụdị ọhụrụ ga-arụkwa ọrụ)
  • Akaụntụ onye ọrụ: Akaụntụ onye ọrụ nwere sudo ma ọ bụ ohere mgbọrọgwụ.

Na-emelite Sistemụ Ọrụ

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

sudo dnf upgrade --refresh -y

Advertisement


Mepụta & Bubata ebe nchekwa ihe onyonyo onyonyo

Site na ndabara, Visual Studio anaghị esonye na ebe nchekwa Fedora ọkọlọtọ. Agbanyeghị, ị nwere ike mepụta ngwa ngwa ma bubata ebe nchekwa ọrụ Visual Studio na sistemụ gị site na ime ihe ndị a.

Nke mbụ, mepụta ma mepee faịlụ nchekwa site na iji editọ ederede ọ bụla:

sudo nano /etc/yum.repos.d/vscode.repo

Ọzọ, tinye ihe ndị a ka ị nwee ike ibubata ebe nchekwa wee wụnye koodu VS:

[vscode]
name=Visual Studio Code
baseurl=https://packages.microsoft.com/yumrepos/vscode
enabled=1
gpgcheck=1
gpgkey=https://packages.microsoft.com/keys/microsoft.asc

Ozugbo emechara, chekwaa faịlụ ahụ CTRL + O wee pụọ na CTRL + X.

Mara, nke a ga-ebubata igodo GPG maka nrụnye. Ọ bụrụ na GPG anaghị ebubata n'ihi ihe ụfọdụ, jiri aka na-eso bubata ya:

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 dnf gị iji gosipụta mgbakwunye ọhụrụ tupu nrụnye Visual Studio. Iji mee nke a, gbanye iwu a na njedebe gị:

sudo dnf update

Ugbu a tinye Visual Studio site na iji iwu a:

sudo dnf install code

Ihe atụ mmepụta:

Otu esi etinye koodu Visual Studio (koodu VS) na Fedora 34/35

ụdị "Y", pịa 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.0
ee8c7def80afc00dd6e593ef12f37756d8f504ea
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 koodu Visual Studio (koodu VS) na Fedora 34/35

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

Otu esi etinye koodu Visual Studio (koodu VS) na Fedora 34/35

Ekele, ị tinyela Visual Studio Code na Fedora.

Otu esi emelite Koodu Studio Visual

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

sudo dnf update

Ọ bụrụ otu dị, jiri nhọrọ nkwalite:

sudo dnf upgrade

Ma ọ bụ kwalite naanị Visual Studio n'onwe ya:

sudo dnf upgrade code

Advertisement


Otu esi ewepu (wepụ) Koodu Studio Visual

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

sudo dnf autoremove code

Ihe atụ mmepụta:

Otu esi etinye koodu Visual Studio (koodu VS) na Fedora 34/35

ụ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 Fedora ma gbakwunye ebe nchekwa iji melite mmemme na-ejighi aka budata na wụnye. Visual Code bụ otu n'ime ndị ndezi IDE efu a 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.

Ahapụ a Comment