Microsoft .NET 6: Shigarwa akan Ubuntu ko Debian da abubuwan da suka samo asali

Microsoft .NET 6: Shigarwa akan Ubuntu ko Debian da abubuwan da suka samo asali

Microsoft .NET 6: Shigarwa akan Ubuntu ko Debian da abubuwan da suka samo asali

Kusan wata daya da ya wuce, sabbin abubuwan sabuntawa na "Microsoft.NET 6", kuma kamar yadda mutane da yawa sun riga sun sani, wannan kyauta, dandamalin haɓaka tushen buɗe ido, da amfani ga gina kowane nau'i na aikace-aikace (Desktop, mobile, web, games and the Internet of things), shi ma giciye-dandamali ne. Saboda haka, yana samuwa ga Windows, Mac OS da Linux.

Kuma tun da, tare da Kayayyakin aikin hurumin kallo, haka a editan lamba, giciye-dandamali, bude kuma kyauta daga Microsoft; An kafa kyakkyawan duo don haɓaka aikace-aikace akan GNU/Linux, a yau za mu yi magana kaɗan game da halin da ake ciki yanzu. tsarinda kuma yadda ake shigar akan Ubuntu da Debian. wanda, ta hanyar, yana da 'yan qasar tallafi na biyu.

Visual Studio Code 1.69: Akwai sabon sigar da yadda ake shigar da shi

Visual Studio Code 1.69: Akwai sabon sigar da yadda ake shigar da shi

Kuma, kafin shigar da cikakkiyar maudu'in yau wanda aka keɓe ga aikace-aikacen "Microsoft.NET 6", Za mu bar wa masu sha'awar, wasu hanyoyin haɗi zuwa abubuwan da suka shafi baya:

Visual Studio Code 1.69: Akwai sabon sigar da yadda ake shigar da shi
Labari mai dangantaka:
Visual Studio Code 1.69: Akwai sabon sigar da yadda ake shigar da shi

.NET da ML.NET: Manhajojin Buɗe Ido na Microsoft
Labari mai dangantaka:
.NET da ML.NET: Manhajojin Buɗe Ido na Microsoft

Microsoft .NET 6: Tsare-tsaren Tsara-Tsare daga Microsoft

Microsoft .NET 6: Tsare-tsaren Tsara-Tsare daga Microsoft

Game da Microsoft .NET 6

A taƙaice, za mu iya yin tsokaci a kai "Microsoft.NET 6" na gaba:

"Yana da kyauta, giciye-dandamali, bude tushen ci gaban dandamali don ƙirƙirar nau'ikan aikace-aikace da yawa. NET ya dogara ne akan babban lokaci mai aiki wanda ake amfani da shi wajen samarwa ta manyan aikace-aikace masu yawa." Menene .Net?

Kuma daga cikin masu yawa fasali aka ambata a cikin nasa shafin yanar gizo, wanda ya haɗa da kuma fifita masu haɓakawa, domin rubuta abin dogara, lambar aiki mai girma, za mu ambaci wadannan guda 3:

  1. Aiwatar da lambar asynchronous: Ya haɗa da samfurin Task Asynchronous Programming (TAP), wanda ke ba da abstraction akan lambar asynchronous.
  2. Amfani da halaye: Yana sarrafa bayanan bayanan kalmomi masu kama da juna waɗanda ke bayyana yadda ake jera bayanai, ƙayyadaddun fasalulluka waɗanda ake amfani da su don tabbatar da tsaro, da iyakance haɓakar abubuwan tarawa na lokaci-lokaci (JIT).
  3. Amfani da code analyzers: Wanda ke sauƙaƙa bincika C# ko Visual Basic code don ingancin lambar da batutuwan salo. Abin da ya sa, farawa da NET 5, waɗannan parsers suna cikin NET SDK kuma ba sa buƙatar shigar da su daban.

Don ƙarin bayani game da wannan kayan aikin software, kuna iya bincika hanyoyin haɗin yanar gizo masu zuwa: Ayyukan, NET 6 Zazzagewada kuma Menene sabo a cikin NET 6

Shigarwa akan Ubuntu da Debian

Ga shigarwa akan Ubuntu da Debian, ko abubuwan da suka samo asali, hanyoyin shigarwa sune kamar haka:

DotNet6 + Debian

Don Debian 11

  • Fakiti tare da maɓallan sa hannu (maɓallan ajiya)
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
  • Ana shigar da SDK
sudo apt-get update && \
  sudo apt-get install -y dotnet-sdk-6.0
  • Shigarwa lokacin aiki
sudo apt-get update && \
  sudo apt-get install -y aspnetcore-runtime-6.0
  • Shigar da ASP.NET Core Runtime
sudo apt-get install -y dotnet-runtime-6.0

Don ƙarin cikakkun bayanai da bayanai akan Tsarin shigarwa akan Debian 11, za ku iya bincika masu zuwa mahada.

DotNet6 + Ubuntu

Ga Ubuntu 22.04

  • Fakiti tare da maɓallan sa hannu (maɓallan ajiya)
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
  • Ana shigar da SDK
sudo apt-get update && \
  sudo apt-get install -y dotnet-6.0
  • Shigarwa lokacin aiki
sudo apt-get update && \
  sudo apt-get install -y aspnetcore-runtime-6.0
  • Shigar da ASP.NET Core Runtime
sudo apt-get install -y dotnet-runtime-6.0

Note: A kula da cewa, Ubuntu 22.04, ya riga ya zo tare da an shigar da software, don haka ba lallai ba ne don aiwatar da wannan hanyar. Koyaya, tsarin yana da amfani ga nau'ikan bisa Ubuntu 22.04 da makamantansu don tsofaffin nau'ikan Ubuntu. Kuma don ƙarin cikakkun bayanai da bayanai akan Tsarin shigarwa akan Ubuntu 22.04, za ku iya bincika masu zuwa mahada.

Duban shigarwa

Da zarar an shigar, za ku iya riga kun yi amfani da wannan software ta wasu kamar su Kayayyakin aikin hurumin kallo. Duk da haka, don duba cewa an shigar da komai daidai kuma yana aiki, kawai aiwatar da umarni masu zuwa kuma tabbatar da bayanan fitarwa, kamar yadda aka nuna a cikin wadannan hotunan kariyar kwamfuta:

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

Duba shigarwa - Screenshot 1

Duba shigarwa - Screenshot 2

MOS-P3: Binciko ɗimbin ci gaban Microsoft Open Source - Sashe na 3
Labari mai dangantaka:
MOS-P3: Binciko ɗimbin ci gaban Microsoft Open Source - Sashe na 3
Alamar GitLab
Labari mai dangantaka:
GitLab yana ba da sanarwar ƙaura na editan sa ta Kayayyakin Kayayyakin Kayayyakin Kayayyaki

Zagaye: Banner post 2021

Tsaya

A takaice, a cikin Microsoft a ci gaba da bayar da gudummawa kamar sauran kattai masu fasaha zuwa duniya Free Software da Buɗe Tushen. Kuma tare da wannan isarwa da sauƙin samun samfuran software kamar "Microsoft.NET 6" y Kayayyakin aikin hurumin kallo, ya ci gaba da inganta aikin masu haɓaka software akan Tsarin aiki kyauta da budewa, wato, Rarrabawar GNU / Linux.

Idan kuna son wannan post ɗin, ku tabbata kuyi sharhi akansa kuma kuyi sharing zuwa wasu. Kuma ku tuna, ziyarci mu «shafin gida» don bincika ƙarin labarai, da shiga tashar tashar mu ta hukuma Sakon waya daga FromLinux, Yamma rukuni don ƙarin bayani kan batun yau.


Abubuwan da ke cikin labarin suna bin ka'idodinmu na ka'idojin edita. Don yin rahoton kuskure danna a nan.

Kasance na farko don yin sharhi

Bar tsokaci

Your email address ba za a buga.

*

*

  1. Mai alhakin bayanan: Miguel Ángel Gatón
  2. Dalilin bayanan: Gudanar da SPAM, gudanar da sharhi.
  3. Halacci: Yarda da yarda
  4. Sadarwar bayanan: Ba za a sanar da wasu bayanan ga wasu kamfanoni ba sai ta hanyar wajibcin doka.
  5. Ajiye bayanai: Bayanin yanar gizo wanda Occentus Networks (EU) suka dauki nauyi
  6. Hakkoki: A kowane lokaci zaka iyakance, dawo da share bayanan ka.