Onye mmemme ọ bụla chọrọ inwe ngwa dabara adaba ọ ga-eji depụta ma dezie koodu isi mmalite. Koodu Nlere Anya Anya bu nke kachasi nma nke ekesara ma na Windows ma na sisitemu sisitemu Linux. Enwere ike iji usoro dị iche iche nwụnye nke edetu kwuru banyere ya, nke ọ bụla n'ime ha ga-akachasị mma maka otu ndị ọrụ. Ka anyị chee echiche banyere usoro a taa ma lebara ihe niile anya dị ka o kwere mee.
Na nwute, mpaghara mmepe etolite akpọrọ Studio Studio dị naanị maka PC na-agba Windows. Okwesiri iburu n’obi ozugbo na n’isiokwu a, anyị na-egosi otu esi ebudata ihe nlere koodu isi visual Visual Studio Code - otu n’ime ihe ngwọta dị n’ahịrị VS.
Installwụnye Usoro Studio Na-ahụ Anya na Linux
N’ezie, enwere ọtụtụ nkesa na edere na Linux Linux. Agbanyeghị, sistemụ arụmọrụ dabere na Debian ma ọ bụ Ubuntu bụ ndị ewu ewu ugbu a. Ọ bụ n'elu igwe okwu dị otu a ka anyị chọrọ ị toa ntị na ya, na-ewere ịdị ọcha Ubuntu 18.04. Ndị nwe nkesa ndị ọzọ, anyị ga-agwa gị otu kachasị mma ịwụnye, mana ka anyị bido iji.
1zọ nke 1: Iji ntụnye site na njikwa
Microsoft na-enyocha ngwa ahịa ya ọfụma. A na-edobe ụdị ngwa ngwa kachasị ọhụrụ n’ebe ndị ọrụ nwere ike ibudata ha ozugbo ma wụnye ha na kọmputa ha n’enweghị nsogbu ọ bụla. Banyere maka Usoro Ihe Nlere Anya, ị ga-atụle nhọrọ site na iji ọnụahịa abụọ dị iche iche. Mmekorita ya na ndi mbu bu ndi a.
- Na-agba ọsọ "Ọnụ" site na Ctrl + Alt + T ma ọ bụ jiri akara kwekọrọ na menu.
- Debanye iwu
sudo snap wụnye --classic vscode
iji budata ma wụnye VS site na ụlọ ọrụ gọọmentị na-edebe ihe. - Nyochaa njirimara nke akaụntụ ahụ site na itinye paswọọdụ ịnweta mgbọrọgwụ gị.
- Ibudata faịlụ site na ọwa nwere ike iwe obere oge, egbula ihe njikwa ahụ n'oge usoro a.
- Mgbe emechara echichi ahụ, ị ga-enweta ọkwa ma ị nwere ike ịmalite mmemme ahụ ozugbo site na ịbanye
vscode
. - Ugbu a ị nwere ike ịmekọrịta na nhazi eserese nke nchịkọta akụkọ mmasị. Emepụtara akara ngosi na menu nke esitekwa na-eme VS.
Agbanyeghị, usoro nrụnye site na ebe a na-ebugharị adabaghị adabara onye ọrụ ọ bụla, yabụ anyị na-akwado ka ị jiri onwe gị mata nhọrọ ọzọ na-adịghị mgbagwoju anya karịa nke a tụlere.
- Mepee "Ọnụ" Nke mbu, imelite ọba akwukwo di iche iche site na iji akara
mmelite sudo nke dabara
. - Ọzọ, ịkwesịrị ịwụnye ihe ndabere
wụnye ngwa ngwa wụnye akụrụngwa-Njirimara-ngwa-ngwa-njem
. - Kwenye mgbakwunye nke faịlụ ọhụrụ site na ịhọrọ nhọrọ ziri ezi.
- Wụnye igodo MicrosoftGGG, nke na-arụ ọrụ nke izochi mkpụrụ akwụkwọ elektrọnik kọmputa site na
wget -q //packages.microsoft.com/keys/microsoft.asc -O- | tinye sudo apt-key
. - Wee mezue mgbakwunye site na itinye eriri
sudo tinye-apt-reptitory "deb [arch = amd64] //packages.microsoft.com/repos/vscode main basic"
. - Ọ na-adịgide naanị iji wụnye mmemme ahụ n'onwe ya site na ide
koodu sudo nke dabara adaba
. - Ibido Sisọmufi Studio Ntinye na sistemụ ahụ n'ụzọ dị otu a ga - eme site n'iwu
koodu
.
Usoro 2: Budata ngwugwu DEB nke gọọmentị
Ọ bụghị ndị ọrụ niile adabara oge ụfọdụ iji rụọ ọrụ na njikwa ma ọ bụ nwee ike inwe nsogbu ụfọdụ na ndị otu ahụ. Na mgbakwunye, mgbe ụfọdụ enweghi njikọ Internetntanetị na kọmputa. N'okwu ndị a, ngwugwu DEB nke gọọmentị na-abata enyemaka, nke ị nwere ike ibudata mgbasa ozi na ntanetị ma wụnye VS Code na PC gị.
Budata DEB ngwugwu Visual Studio Code
- Soro njikọ dị n'elu ma budata ngwugwu DEB nke mmemme ịchọrọ.
- Mepee folda ebe emere nbudata ya ma rụọ ya.
- Bido nwụnye site na "Onye njikwa ngwa".
- Jiri okwuntughe nyochaa akaụntụ gị.
- Na njedebe nke nrụnye, ị nwere ike ịchọta akara ngosi mmemme ahụ site na menu site na iji ọchụchọ.
Ọ bụrụ na ọ dị mkpa ịtinye mmelite na ngwanrọ a, mepee njikwa ma tinye iwu ndị a n'otu n'otu:
sudo apt-enweta wụnye apt-transport-https
nwatakiri nwere ike inweta
nweta spt apt-nweta wụnye koodu
Maka ndị ọrụ na-eji nkesa nkesa dabere na RHEL, Fedora, ma ọ bụ CentOS, ịkwesịrị iji ahịrị ndị dị n'okpuru iji wụnye mmemme.
sudo rpm --import //packages.microsoft.com/keys/microsoft.asc
sudo sh -c 'echo -e "[koodu] nname = Koodu Studio Koodu nbaseurl = // ngwugwu.microsoft.com/yumrepos/vscode
enabled=1
gpgcheck=1
gpgkey=//packages.microsoft.com /key/microsoft.asc "> /etc/yum.repos.d/vscode.repo '
A na-emelite ngwugwu site na ịkọwapụtanjikwa dnf
mawụnye dnf koodu
.
Enwere ndị nwe na OS na OpenSUSE na SLE. Lee koodu a gbanwere ntakịrị:
sudo rpm --import //packages.microsoft.com/keys/microsoft.asc
sudo sh -c 'echo -e "[koodu] nname = Koodu Studio Koodu nbaseurl = // ngwugwu.microsoft.com/yumrepos/vscode
enabled=1
type=rpm-md
gpgcheck=1
gpgkey=/ /packages.microsoft.com/keys/microsoft.asc "> /etc/zypp/repos.d/vscode.repo '
A na - eme mmelite site na ịgbalite usorosudo zypper ume ọhụrụ
nasudo zypper wụnye koodu
Ugbu a ị maara ụzọ nrụnye nke Code Studio Studio na nkesa nkesa Linux dị iche iche. Ọ bụrụ na ị na-enwe nsogbu ma ọ bụ nsogbu ọ bụla, jide n'aka na ị ga-ebu ụzọ gụọ ederede njehie, mụọ akwụkwọ ọrụ nke sistemụ arụmọrụ, ma hapụkwa ajụjụ na nkwupụta.