Otu esi etinye Microsoft Visual Studio Code na Debian 11

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 Microsoft Visual Code Editor na Debian 11, Bullseye.

Prerequisites

  • OS akwadoro: Nnenna 11 Bullseye.
  • Akaụntụ onye ọrụ: Akaụntụ onye ọrụ nwere sudo ihe ùgwù or ohere mgbọrọgwụ (su Command).

Na-emelite Sistemụ Ọrụ

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

sudo apt update && sudo apt upgrade

Mgbọrọgwụ ma ọ bụ Sudo Access

Site na ndabara, mgbe ị mepụtara akaụntụ gị na mmalite na Debian ma e jiri ya tụnyere nkesa ndị ọzọ, ọ naghị enweta ọkwa sudoers ozugbo. Ị ga-enwerịrị ike ịnweta ya mgbọrọgwụ paswọọdụ iji iwu su ma ọ bụ gaa na nkuzi nkuzi anyị Otu esi etinye onye ọrụ na Sudoers na Debian.

Wụnye ndabere maka nwụnye

Iji wụnye Microsoft Visual Studio, ị ga-achọ ijide n'aka na etinyere ngwugwu ndị a. Gbaa iwu a ka ị nyochaa ma ọ bụ wụnye ngwugwu:

sudo apt install software-properties-common apt-transport-https curl -y

Wụnye ngwugwu CURL

Nkuzi ga-eji ihe ngwugwu curl ibudata igodo GPG; Debian 11 arụnyere nke a na ndabara mana iji nyochaa:

curl --version

Mwepụta ihe atụ ma ọ bụrụ arụnyere:

curl 7.74.0 (x86_64-pc-linux-gnu) libcurl/7.74.0 OpenSSL/1.1.1k zlib/1.2.11 brotli/1.0.9 libidn2/2.3.0 libpsl/0.21.0 (+libidn2/2.3.0) libssh2/1.9.0 nghttp2/1.43.0 librtmp/2.3
Release-Date: 2020-12-09

Ọ bụrụ na itinyeghị curl, jiri iwu a:

sudo apt install curl -y

Advertisement


Bubata igodo GPG na ebe nchekwa ihe onyonyo a na-ahụ anya

Mbụ, ị ga-ebubata igodo GPG Microsoft iji chọpụta izi ezi ngwungwu nwụnye:

curl -sSL https://packages.microsoft.com/keys/microsoft.asc -o microsoft.asc
gpg --no-default-keyring --keyring ./ms_signing_key_temp.gpg --import ./microsoft.asc
gpg --no-default-keyring --keyring ./ms_signing_key_temp.gpg --export > ./ms_signing_key.gpg
sudo mv ms_signing_key.gpg /etc/apt/trusted.gpg.d/

Mwepụta ihe atụ ma ọ bụrụ na ọ ga nke ọma:

gpg: key EB3E94ADBE1229CF: public key "Microsoft (Release signing) <gpgsecurity@microsoft.com>" imported
gpg: Total number processed: 1
gpg:               imported: 1

Nke abuo, bubata Microsoft Visual Source Repository site na iji iwu na-esote ọdụ gị:

echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" | sudo tee /etc/apt/sources.list.d/vscode.list

Wụnye Visual Studio Code

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

sudo apt update

Ugbu a tinye Visual Studio site na iji iwu a:

sudo apt install code -y

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

code --version

Ihe atụ mmepụta:

1.59.1
3866c3553be8b268c8a7f8c0482c0c0177aa8bfa
x64

Advertisement


Ẹkedori Visual Studio Usoro

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ụ Debian 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 adịghị mma, ma ị ga-eji ụzọ ndị a na desktọpụ Debian gị meghee ụzọ ahụ: Ihe omume > Gosi ngwa > Studio visual. Ọ 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 Microsoft Visual Studio na Debian 11

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

Otu esi etinye Microsoft Visual Studio na Debian 11

Ekele, ị tinyela Microsoft Visual Studio Code na Debian 11 Bullseye.

Wepu koodu Visual Studio

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

sudo apt autoremove code -y

Mgbe ahụ maka iwepụ kpamkpam, hichapụ ebe nchekwa na igodo GPG:

sudo rm /etc/apt/sources.list.d/vscode.*
sudo rm /etc/apt/trusted.gpg.d/ms_signing_key.gpg
sudo apt update

Advertisement


Okwu na mmechi

Ntuziaka ahụ egosila gị otu esi etinye Microsoft Visual Code maka Debian 11 Bullseye wee gbakwunye ebe nchekwa iji melite mmemme na-ejighi aka budata na wụnye. Microsoft Visual Code bụ otu n'ime ndị ndezi IDE kacha eji na mbara ala. Ọ dịkwa fechaa yana nnukwu nhọrọ maka sistemu 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
2 Comments
Inline nzaghachi
Lee echiche niile

Aha na-eduhie eduhie, ka ị na-ekwu maka ịwụnye microsoft visual studio code [1], nke na-abụghị otu ihe dị ka microsoft visual studio [2]. Ọ dị ka ị ga-eji aha “Otu esi eme biya” wee kọwaa otu esi eme lemonade.

[1] https://code.visualstudio.com/?wt.mc_id=DX_841432
[2] https://visualstudio.microsoft.com/vs/

2
0
Ga-ahụ n'anya gị echiche, biko okwu.x