Mokhoa oa ho kenya Visual Studio Code ho Linux Mint 21 LTS

Visual Studio Code, kapa VSCode, ke mohlophisi oa khoutu ea mohloli oa mahala le o matla o entsoeng ke Microsoft bakeng sa Windows, Linux, le macOS. VSCode e fana ka likarolo tse ngata ho thusa baetsi ba software, joalo ka bokhoni ba ho lokisa lits'ebetso, taolo ea Git e kentsoeng bakeng sa ho phethela khoutu kapa ho e etsa hape ha ho hlokahala, le laeborari e pharalletseng ea likeketso ho ntlafatsa boiphihlelo ba hau ba nts'etsopele. Le ha VSCode e le sesebelisoa se setle haholo bakeng sa bahlahisi ba bangata, ho bohlokoa ho hlokomela hore ha e felle feela ho mahlale a Microsoft - e ka sebelisoa le ka lipuo tse fapaneng tsa mananeo le meralo. Hore na o sa tsoa qala ka ho ngola likhoutu kapa setsebi se nang le boiphihlelo, VSCode e bohlokoa ho e hlahloba.

Thutong e latelang, o tla ithuta ho kenya letoto la Visual Code Editor (VS CODE) Linux Mint 21 LTS u sebelisa terminal line ea taelo ho kenya polokelo ea semmuso ea Microsoft le senotlolo sa gpg le ho kenya mohlophisi oa IDE, hammoho le mokhoa oa ho boloka le ho tlosa. software haeba e hlokahala nakong e tlang.

Ntlafatsa Linux Mint

Ntlha ea pele, ho kgothaletswa ho ntlafatsa boemo ba hau tsamaiso ea ho netefatsa hore liphutheloana tsohle tse teng li ntse li le teng ho qoba likhohlano leha e le life nakong ea ho kenya.

sudo apt update && sudo apt upgrade -y

Kenya Liphutheloana Tse Hlokehang

Liphutheloana tse latelang li tlameha ho kenngoa ho thusa ho kenya software.

sudo apt install dirmngr ca-certificates software-properties-common gnupg gnupg2 apt-transport-https -y

Haeba o sa tiisehe, tsamaisa taelo; e ke ke ea u ntša kotsi.

Tsena ke liphutheloana tse atileng haholo tsa software tse fumanehang hoo e batlang e le likhatiso tsohle tsa Linux.

Kenya Sebaka sa Khoutu ea Visual Studio

Taba ea pele, o tla hloka ho kenya senotlolo sa Microsoft GPG ho netefatsa bonnete ba sephutheloana sa ho kenya.

sudo wget -O- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor | sudo tee /usr/share/keyrings/vscode.gpg

Taba ea bobeli, kenya Microsoft Visual Source Repository ka taelo e latelang ho terminal ea hau.

echo deb [arch=amd64 signed-by=/usr/share/keyrings/vscode.gpg] https://packages.microsoft.com/repos/vscode stable main | sudo tee /etc/apt/sources.list.d/vscode.list

Kenya Code ea Visual Studio

Ha polokelo ea mohloli e hlophisitsoe, o tlameha ho nchafatsa lethathamo la mehloli ea mookameli oa sephutheloana ho bonts'a tlatsetso e ncha pele ho ts'ebetso ea Visual Studio.

Etsa taelo e latelang ho terminal ea hau ho bonts'a polokelo e sa tsoa eketsoa.

sudo apt-get update

E latelang, kenya mofuta oa VSCode oo u o ratang, 'me basebelisi ba bangata ba khetha mofuta o tsitsitseng. Leha ho le joalo, bakeng sa ba batlang ho lekola mofuta oa ho tsoa mali, kenya li-insiders build, e leng beta.

Kenya VSCode

sudo apt install code -y

Kenya VSCode Insiders (Beta)

sudo apt install code-insiders -y

Mokhoa oa ho qala khoutu ea Visual Studio

Kaha joale u qetile ho kenya, u ka bula software ka litsela tse 'maloa.

U sebelisa terminal line ea taelo, u ka bula software kapele ka ho sebelisa taelo e latelang.

code

Basebelisi ba ka hare ba ka sebelisa taelo e latelang.

code-insiders

Tsela e molemohali ea ho sebelisa VSCode bakeng sa basebelisi ba li-desktop ba ratang ho se sebelise terminal line line ke ho bula GUI ea kopo ka ho latela tsela.

Taskbar > Programming > Visual Studio Code {Version}

mohlala:

Hang ha e butsoe, u ka qala ho sebelisa mohlophisi oa IDE. Bakeng sa basebelisi ba ka 'nang ba batla mofuta o mong oa poraefete, sheba Mokhoa oa ho kenya VSCodium ho Linux Mint 21 LTS, eo boholo ba eona, e sebetsang hantle haholo ntle le boitelo bo fokolang joalo ka phihlello ea lebenkele la Microsoft.

mohlala:

Kea u lebohela, u kentse Khoutu ea Visual Studio ea Microsoft.

Mokhoa oa ho ntlafatsa / ho ntlafatsa VSCodium

Ho hlahloba lintlafatso ho sebelisa mohala oa taelo, sebelisa taelo e latelang ho lumella tlhahlobo ea kobo bakeng sa lintlafatso life kapa life ho liphutheloana tsohle tsa APT.

sudo apt update && sudo apt upgrade

Mokhoa oa ho tlosa (Tlosa) Visual Studio Code

Ho tlosa software ea Visual Studio ho sistimi ea hau, tsamaisa taelo e latelang ho terminal ea hau.

Tlosa VSCode

sudo apt remove code --purge

Hlokomela hore Phallo folakha e tlosa data eohle e entsoeng ka VSCode.

Tlosa VSCode Insiders (Beta)

sudo apt remove code-insiders --purge

Ka mor'a moo, tlosa polokelo u sebelisa taelo e latelang.

sudo rm /etc/apt/sources.list.d/vscode.list

Bakeng sa tlhokomelo e ntle ea ntlo le ts'ireletso, tlosa senotlolo sa GPG ka tsela e latelang.

sudo rm /usr/share/keyrings/vscode.gpg

Maikutlo le Qetello

Visual Studio Code ke khetho e phethahetseng haeba u batla mohlophisi oa khoutu ea mohloli o sa lefelloeng, o matla ebile o atoloha. E fana ka likarolo tse joalo ka lits'ebetso tsa ho lokisa liphoso, taolo ea Git e kentsoeng, le tse ling tse tla etsa hore nts'etsopele ea software e be bonolo haholoanyane. U ka fumana likeketso laebraring e pharalletseng ho ntlafatsa boiphihlelo ba hau ka mohlophisi enoa.



Latela LinuxCapable.com!

Na u rata ho fumana liapdeite? Re latele ho e 'ngoe ea li-account tsa rona tsa litaba tsa sechaba!