Mavuto ndi kuwerengera mafomu mu Microsoft Excel

Wolemba pulogalamu aliyense ayenera kukhala ndi ntchito yogwiritsira ntchito yomwe adzalembere ndikulemba ndondomeko yoyenera. Mawonekedwe a Visual Studio ndi imodzi mwa njira zabwino zopezera machitidwe opangira ma Windows ndi Linux. Kuika kwa mkonzi wotchulidwayo kungatheke mwa njira zosiyanasiyana, zomwe zilizonse zidzakhala zabwino kwa gulu lina la ogwiritsa ntchito. Tiyeni tiyimire lero pa njirayi ndipo tidzatha kuchita zonse zomwe tingathe.

Mwamwayi, malo ophatikizidwa owonetserako otchedwa Visual Studio amapezeka kokha pa PC zomwe zimagwira Windows. Chenjerani ziyenera kulipidwa ndi mfundo yakuti m'nkhani ino tikuwonetsa momwe tingasamalire gwero lokonzekera Visual Studio Code - imodzi mwa njira zothetsera VS.

Kuyika Mawonekedwe a Visual Studio pa Linux

Inde, pali magawo ambiri olembedwa pa kernel ya Linux. Komabe, OSs tsopano ndi otchuka kwambiri, yochokera ku Debian kapena Ubuntu. Ndi pamapangidwe omwe tikufuna kumvetsera, kutengera momveka bwino, Ubuntu 18.04. Omwe a ma distros ena, timakuuzani momwe mungakhalire, koma tiyeni tiyambe mu dongosolo.

Njira 1: Gwiritsani ntchito repositories kupyolera mu console

Microsoft ikuyang'anitsitsa ntchito yosungirako zida zawo. Mapulogalamu atsopano amakatumizidwira pomwepo ndipo ogwiritsa ntchito akhoza kuwatsatsa nthawi yomweyo ndi kuwaika pamakompyuta awo popanda mavuto. Ponena za Visual Studio Code, apa muyenera kulingalira zosankha pogwiritsa ntchito zolemba zosiyana. Kuyanjana ndi woyamba ndiko motere:

  1. Thamangani "Terminal" kudutsa Ctrl + Alt + T kapena gwiritsani ntchito chithunzi chofanana pa menyu.
  2. Lembani gulusudo snap install - classic vscodekuwombola ndi kukhazikitsa VS ku malo ovomerezeka.
  3. Onetsetsani akaunti yanu powalowetsa mawu anu achinsinsi.
  4. Kuwongolera mafayilo kuchokera pa kanjira kungatenge nthawi. Panthawiyi, musatseke console.
  5. Pambuyo pomaliza kukonza, mudzalandira chidziwitso ndipo mutha kuyamba pulogalamu yomweyovscode.
  6. Tsopano mungathe kuyanjana ndi zithunzi zojambulazo za mkonzi wa chidwi. Chithunzi chidapangidwira m'menyu, yomwe VS imayambanso.

Komabe, si ogwiritsa ntchito onse omwe angagwiritse ntchito njira yowonjezeramo kudzera mu malo osungirako, kotero tikukulangizani kuti mudzidziwe njira ina yomwe simukulimbana nayo kuposa yomwe ikuganiziridwa.

  1. Tsegulani "Terminal" ndipo choyamba ndikusintha ma library makonzedwe polowerasudo apt update.
  2. Pambuyo pake, muyenera kukhazikitsa zida zogwiritsa ntchitopulogalamu ya pulogalamu yowonjezera-katundu-wamba -wotengera-https wget.
  3. Onetsetsani Kuwonjezera kwa mafayilo atsopano mwa kusankha njira yoyenera.
  4. Ikani makina a Microsoft GPG, omwe amachititsa kuti azilemba zilembo zamagetsi kudzerachotsani -q //packages.microsoft.com/keys/microsoft.asc -O- | yowonjezera-key key add -.
  5. Kenaka malizitsani kuwonjezera poika mzeresudo add-apt-repository "deb [arch = amd64] //packages.microsoft.com/repos/vscode chachikulu chokhazikika".
  6. Zimangokhala kukhazikitsa pulogalamu yokha, kulembakondomu yowonjezera.
  7. Kuthamanga Visual Studio Code yowonjezera ku dongosolo mwanjirayi ikuchitika kudzera mwa lamulocode.

Njira 2: Koperani phukusi la DEB

Osati ogwiritsira ntchito nthawi zina amamasuka kugwira ntchito kudutsa kapena kumakhala zovuta ndi malamulo. Komanso, nthawi zina palibe intaneti pa kompyuta. Pazochitikazi, phukusi la DEB lopatsirana limapulumutsa, limene mungakonzekere ku ma TV ndikuyika VS Code pa PC yanu.

Koperani PUP-Phukusi la Visual Studio Code

  1. Tsatirani chiyanjano chapamwamba ndikutsitsa pulogalamu ya DEB ya pulogalamu yomwe mukufunikira.
  2. Tsegulani foda kumene kukatulutsidwa, ndikuyendetsa.
  3. Yambani kukhazikitsa kudzera "Woyang'anira Ntchito".
  4. Tsimikizirani akaunti yanu mwa kulowa mawu achinsinsi.
  5. Kumapeto kwa kukhazikitsa, mukhoza kupeza chithunzi cha pulogalamuyo kudzera mu menyu pogwiritsa ntchito kufufuza.

Ngati mukufuna kuwonjezera mazokonzedwe a pulogalamuyi, yambitsani console ndikulowa malamulo awa:

sudo apt-get kukhazikitsa njira zoyendetsa-https
sudo apt-get update
sudo apt-get kukhazikitsa code

Ponena za ogwiritsa ntchito zogawa kuchokera kwa RHEL, Fedora, kapena CentOS, muyenera kugwiritsa ntchito mizere ili m'munsiyi kuti muyike pulogalamuyo.

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

sudo sh -c 'echo -e "[code] nname = Mawonekedwe Ambendera Yakale nbaseurl = // phukusi.microsoft.com/yumrepos/vscode enabled=1 gpgcheck=1 gpgkey=//packages.microsoft.com /keys/microsoft.asc "> /etc/yum.repos.d/vscode.repo '

Maphukusi amasinthidwa mwachindunjidnf check-updatendiyenosudo dnf kukhazikitsa code.

Pali eni ndi OS omwe amatseguka ndipo SLE. Pano chikhochi chimasintha pang'ono:

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

sudo sh -c 'echo -e "[code] nname = Mawonekedwe Ambendera Yathu nbaseurl = // phukusi.microsoft.com/yumrepos/vscode enabled=1 type=rpm-md gpgcheck=1 gpgkey=/ /packages.microsoft.com/keys/microsoft.asc "> /etc/zypp/repos.d/vscode.repo '

Kukonzekera kumapangidwa kupyolera mukuyambitsa kusinthika.sudo zypper refreshndipulogalamu yowonjezera yowonjezera

Tsopano mukudziƔa njira zowonjezera Visual Studio Code pamagawo osiyanasiyana a kernel ya Linux. Ngati mukukumana ndi mavuto kapena zovuta zina, onetsetsani kuti mwayambe kuwerenga zolakwikazo, pendani zolemba zomwe zilipo kale, ndikusiya mafunso mu ndemanga.