小米平板敲代碼,termux安裝dotnet和vscode

//下載安裝termux app
//初始化存儲
termux-setup-stroage
//更換清華源
termux-change-repo
//安裝proot-distro
apt install proot-distro
//安裝debian登錄
proot-distro install debian
proot-distro login debian
//更新源
apt update
apt install wget
apt install vim
//下載dotnet
wget?
https://download.visualstudio.microsoft.com/download/pr/72d1f83c-ad2c-4c9b-88b1-15196f411b9d/a0b863cabea9ac0fe7b92dc70c8d4ef0/dotnet-sdk-6.0.407-linux-arm64.tar.gz
//解壓
tar zxf dotnet-sdk-6.0.407-linux-arm64.tar.gz -C .dotnet
export DOTNET_ROOT=$HOME/.dotnet
export PATH=$PATH:$HOME/.dotnet:$HOME/.dotnet/tools
//測試
dotnet --version
mkdir test
dotnet new console
dotnet build
dotnet run
//報錯
//net6.0編譯error MSB6006: "csc.dll" exited with code 139. 再安一遍.net3.0就好了
wget
https://download.visualstudio.microsoft.com/download/pr/eb4ffaf1-b0a9-466d-8440-0220dca8f806/48df585d8d978c5418fa514da6a2bd9b/dotnet-sdk-3.0.103-linux-arm64.tar.gz
tar zxf?dotnet-sdk-3.0.103-linux-arm64.tar.gz -C .dotnet
//ICU錯誤?
apt install libicu67
其他依賴項
libc6?libgcc1?libgssapi-krb5-2??libicu67?libssl1.1?libstdc++6?zlib1g??libgdiplus??
//加入環(huán)境
vim ~/.bashrc
export DOTNET_ROOT=$HOME/.dotnet
export PATH=$PATH:$HOME/.dotnet:$HOME/.dotnet/tools
curl -fsSL https://code-server.dev/install.sh | sh
//安裝code-server
wget
https://github.com/coder/code-server/releases/download/v4.11.0/code-server_4.11.0_arm64.deb
dpkg -i code-server_4.11.0_arm64.deb
//運行
code-server
//停止修改密碼
vim ~/.config/code-server/config.yaml
//重新運行
code-server
//打開瀏覽器,輸入密碼進入
http://127.0.0.1:8080
//安裝chinese、c#插件