Microsoft .NET 6: Kev teeb tsa ntawm Ubuntu lossis Debian thiab nws cov derivatives

Microsoft .NET 6: Kev teeb tsa ntawm Ubuntu lossis Debian thiab nws cov derivatives

Microsoft .NET 6: Kev teeb tsa ntawm Ubuntu lossis Debian thiab nws cov derivatives

Yuav luag ib hlis dhau los, qhov hloov tshiab tshiab ntawm "Microsoft .NET 6", thiab raws li ntau tus twb paub, qhov no dawb, qhib qhov kev txhim kho platform, muaj txiaj ntsig zoo rau kev tsim txhua yam kev siv (Desktop, mobile, web, games thiab Internet ntawm yam), nws kuj yog cross-platform. Yog li ntawd, nws yog muaj rau Qhov rai, Mac OS thiab Linux.

Thiab txij li thaum, ua ke nrog Nrig txog kev pom Studio Code, yog a code editor, cross-platform, qhib thiab pub dawb los ntawm Microsoft; ib qho zoo heev duo yog tsim los tsim cov ntawv thov ntawm GNU / Linux, hnub no peb yuav hais me ntsis txog qhov xwm txheej tam sim no ntawm qhov no moj khaumthiab cov Yuav ua li cas rau nruab ntawm Ubuntu thiab Debian. uas, los ntawm txoj kev, muaj yug haiv neeg rau ob leeg.

Visual Studio Code 1.69: Tshiab version muaj thiab yuav ua li cas rau nruab nws

Visual Studio Code 1.69: Tshiab version muaj thiab yuav ua li cas rau nruab nws

Thiab, ua ntej nkag mus rau hauv lub ntsiab lus niaj hnub no tau mob siab rau daim ntawv thov "Microsoft .NET 6", peb yuav tawm rau cov neeg nyiam, qee qhov txuas rau yav dhau los ntsig posts:

Visual Studio Code 1.69: Tshiab version muaj thiab yuav ua li cas rau nruab nws
Tshooj lej:
Visual Studio Code 1.69: Tshiab version muaj thiab yuav ua li cas rau nruab nws

.NET thiab ML.NET: Microsoft Qhib Cov Chaw Haujlwm
Tshooj lej:
.NET thiab ML.NET: Microsoft Qhib Cov Chaw Haujlwm

Microsoft .NET 6: Hla-Platform Framework los ntawm Microsoft

Microsoft .NET 6: Hla-Platform Framework los ntawm Microsoft

Hais txog Microsoft .NET 6

Luv luv, peb tuaj yeem tawm tswv yim rau "Microsoft .NET 6" tus ntxiv mus:

"Nws yog dawb, hla-platform, qhib qhov kev txhim kho platform rau tsim ntau hom kev siv. .NET yog ua raws li lub sijhawm ua haujlwm siab uas siv rau hauv kev tsim khoom los ntawm ntau daim ntawv thov loj. " Net yog dab tsi?

Thiab ntawm ntau nta hais hauv nws nom lub vev xaib, uas suav nrog thiab nyiam cov neeg tsim khoom, txhawm rau productively sau txhim khu kev qha, high-performance code, peb yuav hais txog 3 cov hauv qab no:

  1. Kev siv cov asynchronous code: suav nrog Task Asynchronous Programming (TAP) tus qauv, uas muab qhov kev paub dhau los ntawm asynchronous code.
  2. Kev siv cov cwj pwm: tuav cov lus piav qhia zoo li cov lus tshaj tawm uas piav qhia yuav ua li cas txhawm rau txheeb xyuas cov ntaub ntawv, qhia cov yam ntxwv uas siv los tswj kev ruaj ntseg, thiab txwv tsis pub dhau sijhawm (JIT) compiler optimizations.
  3. Kev siv cov code analyzers: Uas ua kom yooj yim rau kev tshuaj xyuas C# lossis Visual Basic code rau cov cai zoo thiab cov teeb meem style. Uas yog vim li cas, pib nrog .NET 5, cov parsers muaj nyob rau hauv .NET SDK thiab tsis tas yuav tsum tau muab cais.

Yog xav paub ntxiv txog cov cuab yeej software no, koj tuaj yeem tshawb xyuas cov txuas hauv qab no: Nta, .NET 6 DownloadsThiab Dab tsi tshiab hauv .NET 6

Kev teeb tsa ntawm Ubuntu thiab Debian

Rau qhov installation ntawm Ubuntu thiab Debian, los yog nws cov derivatives, cov txheej txheem installation yog raws li nram no:

DotNet6 + Debian

Rau Debian 11

  • Pob ntawv nrog rau cov yuam sij kos npe (cov yuam sij repository)
wget https://packages.microsoft.com/config/debian/11/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
rm packages-microsoft-prod.deb
  • Txhim kho SDK
sudo apt-get update && \
  sudo apt-get install -y dotnet-sdk-6.0
  • Runtime installation
sudo apt-get update && \
  sudo apt-get install -y aspnetcore-runtime-6.0
  • Txhim kho ASP.NET Core Runtime
sudo apt-get install -y dotnet-runtime-6.0

Yog xav paub ntxiv thiab cov lus qhia ntawm lub installation txheej txheem ntawm Debian 11, koj tuaj yeem tshawb nrhiav hauv qab no txuas.

DotNet6 + Ubuntu

Rau Ubuntu 22.04

  • Pob ntawv nrog rau cov yuam sij kos npe (cov yuam sij repository)
wget https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
rm packages-microsoft-prod.deb
  • Txhim kho SDK
sudo apt-get update && \
  sudo apt-get install -y dotnet-6.0
  • Runtime installation
sudo apt-get update && \
  sudo apt-get install -y aspnetcore-runtime-6.0
  • Txhim kho ASP.NET Core Runtime
sudo apt-get install -y dotnet-runtime-6.0

Ceeb toom: Thov nco ntsoov tias, Ubuntu 22.04, nws twb los nrog hais tias software ntsia, yog li nws tsis yog yuav tsum tau ua raws li cov txheej txheem. Txawm li cas los xij, cov txheej txheem muaj txiaj ntsig zoo rau cov qauv raws li Ubuntu 22.04 thiab zoo sib xws rau cov laus ntawm Ubuntu. Thiab kom paub meej ntxiv thiab cov ntaub ntawv ntawm lub installation txheej txheem ntawm Ubuntu 22.04, koj tuaj yeem tshawb nrhiav hauv qab no txuas.

Kev kuaj xyuas

Thaum nruab, koj tuaj yeem siv cov software hais los ntawm lwm tus xws li Nrig txog kev pom Studio Code. Txawm li cas los xij, rau kos tias txhua yam yog zoo kawg nkaus ntsia thiab ua haujlwm, tsuas yog ua raws li cov lus txib hauv qab no thiab siv tau cov ntaub ntawv tso tawm, raws li pom hauv cov screenshots hauv qab no:

dotnet --list-sdks
dotnet --list-runtimes
dotnet --info

Kos lub installation - Screenshot 1

Kos lub installation - Screenshot 2

MOS-P3: Tshawb xyuas qhov loj thiab loj hlob ntawm Microsoft Qhib Source - Tshooj 3
Tshooj lej:
MOS-P3: Tshawb xyuas qhov loj thiab loj hlob ntawm Microsoft Qhib Source - Tshooj 3
GitLab-logo
Tshooj lej:
GitLab tshaj tawm txoj kev tsiv teb tsaws ntawm nws cov editor los ntawm Visual Studio Code

Roundup: Banner ncej 2021

Abstract

Hauv ntej, hauv Microsoft khaws kev koom tes zoo li lwm tus tech giants mus rau lub ntiaj teb no Dawb Software thiab Qhib tau qhov chaw. Thiab nrog qhov kev xa khoom no thiab yooj yim muaj cov khoom siv software nyiam "Microsoft .NET 6" y Nrig txog kev pom Studio Code, txuas ntxiv txhim kho kev ua haujlwm ntawm software tsim tawm ntawm Dawb thiab qhib operating system, uas yog, GNU / Linux kev faib tawm.

Yog tias koj nyiam cov ntawv no, nco ntsoov comment rau nws thiab qhia rau lwm tus. Thiab nco ntsoov, mus saib peb «homepage» los tshawb txog xov xwm ntau ntxiv, ntxiv rau koom nrog peb kev channel ntawm Telegram los ntawm DesdeLinux, Sab hnub poob pab pawg yog xav paub ntxiv txog lub ntsiab lus niaj hnub no.


Cov ntsiab lus ntawm tsab xov xwm ua raws li peb cov ntsiab cai ntawm kev tswj hwm kev ncaj nceesCov. Tshaj tawm ib qho yuam kev nyem no.

Yog thawj tus tuaj tawm tswv yim

Tso koj saib

Koj email chaw nyob yuav tsis tsum luam tawm.

*

*

  1. Lub luag haujlwm rau cov ntaub ntawv: Miguel Ángel Gatón
  2. Lub hom phiaj ntawm cov ntaub ntawv: Tswj SPAM, kev tswj xyuas tawm tswv yim.
  3. Sau raws cai: Koj kev tso cai
  4. Kev sib txuas lus ntawm cov ntaub ntawv: Cov ntaub ntawv yuav tsis raug xa mus rau lwm tus neeg thib peb tsuas yog los ntawm kev txiav txim siab raug cai.
  5. Cov ntaub ntawv khaws cia: Cov Ntaub Ntawv khaws tseg los ntawm Occentus Networks (EU)
  6. Txoj Cai: Txhua lub sijhawm koj tuaj yeem txwv, rov qab thiab tshem tawm koj cov ntaub ntawv.