Cov txheej txheem:

Yuav Ua Li Cas Teeb Dotnet ntawm Raspberry Pi: 5 Kauj Ruam
Yuav Ua Li Cas Teeb Dotnet ntawm Raspberry Pi: 5 Kauj Ruam

Video: Yuav Ua Li Cas Teeb Dotnet ntawm Raspberry Pi: 5 Kauj Ruam

Video: Yuav Ua Li Cas Teeb Dotnet ntawm Raspberry Pi: 5 Kauj Ruam
Video: leej twg tej ntxhai - Mang Vang [ Official MV ] 2024, Hlis ntuj nqeg
Anonim
Yuav Ua Li Cas Teeb Dotnet ntawm Raspberry Pi
Yuav Ua Li Cas Teeb Dotnet ntawm Raspberry Pi
Yuav Ua Li Cas Teeb Dotnet ntawm Raspberry Pi
Yuav Ua Li Cas Teeb Dotnet ntawm Raspberry Pi

NET Framework ntawm Raspberry Pi - yog dab tsi thiab, dab tsi ntxiv, VIM LI CAS? Khiav Microsoft. NET moj khaum lossis tseem hu ua Dotnet ntawm Raspberry Pi suab me ntsis coj txawv txawv thiab ua kom yuam kev thaum xub thawj siab ib muag. Tab sis nws hloov tawm zoo nkauj ntse thiab tsim nyog ntawm qhov thib ob, saib ze dua.

Ua ntej tshaj plaws, yog tias koj yog tus tshiab, cia peb piav qhia ob lo lus nug tseem ceeb: Raspberry Pi yog dab tsi thiab Microsoft. NET Framework yog dab tsi.

RASPBERRY PI

Raspberry Pi yog lub zog siv hluav taws xob tsawg, uas zoo li lub PC motherboard zoo ib yam tab sis ntau (Kuv txhais tau tias ntau) me dua. Nws siv ntau hom txheej txheem sib txawv ntawm peb lub PCs thiab lub khoos phis tawj ua. Qhov uas nyob hauv peb cov cuab yeej siv computer niaj hnub hu ua "x86" thaum RPi cov cuab yeej muaj "ARM" sawv daws. Yuav luag txhua tus tswv RPi siv cov software qhib. Piv txwv Debian ntawm Raspbian kev ua haujlwm, Chromium web browser, thiab lwm yam. Muaj ntau daim ntawv thov raug khaws cia rau hauv qhov chaw ntawm lub vev xaib hu ua Repository thiab tau txais kev txhawb nqa los ntawm Raspberry Pi lub hauv paus.

Feem ntau txhua qhov kev ua haujlwm siab nyob hauv kab ke ntawm Raspbian tau ua tiav nrog daim ntawv thov hu ua kab hais kom ua, uas kuv kuj tseem xav siv hauv kuv qhov kev qhia.

Yog tias koj tsis tau yuav RPi lub cuab yeej rau koj txoj haujlwm tseem yog txoj hauv kev zoo tshaj plaws thiab nrawm tshaj plaws tam sim no yog xaj xaj ntawm Amazon. Raws li rau txoj haujlwm, txhua yam lossis RPi cov cuab yeej yuav ua tau zoo, yog li koj tuaj yeem xaiv ib tus qauv, nyob ntawm koj cov peev nyiaj.

MICROSOFT. NET FRAMEWORK

Dotnet Framework los ntawm Microsoft yog software uas ua haujlwm nkaus xwb ntawm Windows OS. Nws muab lub tsev qiv ntawv loj thiab ua haujlwm ntawm cov chav kawm (yog vim li cas nws tseem hu ua "Framework Class Library" lossis FCL luv luv). Hauv qhov ua piv txwv, nws ua rau tus tsim tawm software siv cov cai sau ua lwm yam lus. Nws yog lub tshuab virtual app, muab cov kev pabcuam xws li kev nyab xeeb, kev tswj hwm nco, thiab kev zam tshwj xeeb.

Vim li cas siv nws ntawm ARM DEVICES

Nws yog lo lus nug raug txawm hais tias lo lus teb yog yooj yim heev. Yog tias koj yog tus tsim tawm thiab siv ARM-ntaus ntawv rau qee yam ntawm Raspberry Pi qhov haujlwm (txawm yog IoT, lossis AI, lossis txawm tias Robotics) koj yuav tsum tau ua tiav qee qhov "teeb meem coding" ntawm cov cuab yeej ntawd. Cov yam ntxwv no teeb tsa ntawm Raspberry Pi muab tus tsim tawm muaj kev ywj pheej ntau dua thiab hloov pauv tau hauv kev ua lawv txoj haujlwm zam kev hloov pauv ntawm cov lus sib txawv. Thiab yog tias koj tsis ua haujlwm ntawm ib qhov haujlwm tshwj xeeb ntawm Raspberry Pi koj tuaj yeem yooj yim siv nws ua lub tshuab ua haujlwm rau coding ntawm kab lus no hla lus uas yooj yim heev thiab siv zog. Qhov tseeb, tus qauv raspberry Pi tshaj plaws siv 40 lub zog tsawg dua li lub PC raug (plaub caug zaug - qhov no tsis yog yuam kev)

Kauj ruam 1: Nruab Emulator

Nruab Emulator
Nruab Emulator

Yog li, raws li koj tau nkag siab txhua qhov zoo thiab tsis zoo ntawm kev siv. NET Framework ntawm Raspberry Pi., Cia peb mus rau nws qhov kev teeb tsa. Raws li ib txwm, koj yuav xav tau tus emulator rau qhov ntawd. Thiab dua, hauv kuv tus kheej kev qhia kuv yuav siv ExaGear Desktop, uas, hauv kuv lub tswv yim yog qhov kev xaiv zoo. Yog tias koj tsis nyiam nws lossis twb tau siv lwm tus emulator, lossis xav nrhiav qee qhov lwm txoj hauv kev, koj tuaj yeem ua qhov ntawd dawb. Nco tseg, uas nrog lwm hom ntawm tus emulator cov txheej txheem teeb tsa nyob yuav luag zoo ib yam.

1. Zoo, nqis ntawm: Rub koj lub emulator rau raspberry Pi. Nws yuav tsum nkag mus rau hauv Downloads nplaub tshev hauv koj RPi cov ntaub ntawv kaw lus. Yog li tau sab hauv daim nplaub tshev no thiab unpack tus emulator: cd tsev/pi/Downloadstar -xvzpf exagear-desktop-rpi3.tar.gz

2. Tom qab ntawd siv thos hais kom teeb tsa software emulation: sudo./install-exagear.sh

Kauj Ruam 2: Tua X86 Ua Tus Qhua System

Tua tawm X86 Ua Tus Qhua System
Tua tawm X86 Ua Tus Qhua System

3. Pib cov qhua x86 system nrog cov lus txib: exagear

4. Txheeb xyuas x86 qhov haujlwm ua haujlwm: koov

5. Saib qhov no? ib 686

Txhua yam zoo mus rau theem tom ntej!;)

Kauj ruam 3: Rub tawm thiab Teeb Wine

Download tau thiab Teeb Wine
Download tau thiab Teeb Wine

Raws li kuv tau hais hauv kuv cov lus qhia yav dhau los, Raspbian muaj nws tus kheej tshwj xeeb ARM ua haujlwm ib puag ncig. Yog li nws tsis yooj yim sua kom ua dab tsi ntawm nws tsim rau x86 ib puag ncig. Ntxiv mus, x86 ib puag ncig nws tus kheej xav tau kev pab ntxiv los khiav cov apps, ua rau Windows. Yog li, kom koj nkag siab tag nrho cov saw hlau, saib cov phiaj xwm, Kuv tau tshwj xeeb tau ua los qhia qhov txheej txheem

6. Koj yuav tsum teeb tsa Wine hauv qhua x86 system usine command line: sudo apt-get install wine

Yog tias koj siv ExaGear ib yam li kuv, koj yuav tsum paub tseeb tias nws muaj cov ntawv tshwj xeeb: cawv -hloov pauv

Koj yuav tsum pom qhov no ntawm koj lub vijtsam: "wine-1.8.1-eltechs" (tus lej tuaj yeem sib txawv)

Kauj ruam 4: Nruab. NET Framework. Qhov 1: Winetricks

Nruab. NET Framework. Qhov 1: Winetricks
Nruab. NET Framework. Qhov 1: Winetricks
Nruab. NET Framework. Qhov 1: Winetricks
Nruab. NET Framework. Qhov 1: Winetricks

Ua ntej txhim kho. Net Framework koj yuav tsum rub tawm thiab teeb tsa ob peb pob ntxiv hu ua "Winetricks":

sudo apt-tau nruab cabextractwget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks chmod +x winetricks

Yog tias koj siv Ubuntu, ua cov hauv qab no:./winetricks dotnet40

Peb xav tau qhov no txhawm rau txhawm rau txhim kho installf. NET Framevwork version 2.0, 3.0 thiab 4.0 ib qho dhau ib qho. Nws ua haujlwm nkaus xwb. Thaum koj ua tiav nrog qhov ntawd, txav mus rau kauj ruam tom ntej

Kauj ruam 5: Nruab. NET Framework. Qhov 2: Version 4.5

Nruab. NET Framework. Qhov 2: Version 4.5
Nruab. NET Framework. Qhov 2: Version 4.5

Tam sim no, koj yuav tsum rub tawm thiab teeb tsa. NET Framework 4.5 hauv Wine: wget download.microsoft.com/download/b/a/4/ba4a7e71-2906-4b2d-a0e1-80cf16844f5f/dotnetfx45_full_x86_x64.exe

caw dotnetfx45_full_x86_x64.exe

Tom qab ntawd koj yuav tsum pom lub installer manager window. Tsuas yog ua raws cov lus qhia thiab ua tiav qhov kev teeb tsa. Qhov ntawd yog nws!

Hloov tshiab tseem ceeb! Nws zoo li ExaGear tsis tau ua haujlwm ntxiv lawm. Yog tias koj tsis tau yuav ExaGear daim ntawv tso cai tsis tau, yog li, kuv xav tias koj yuav siv QEMU zoo dua (https://www.qemu.org/). Lub hauv paus ntsiab lus yuav zoo ib yam.

Pom zoo: