How to install .NET on Ubuntu
The dotnet-install scripts are used for automation and non-admin installs of the SDK and Runtime. You can download the script from https://dot.net/v1/dotnet-install.sh.
wget https://dot.net/v1/dotnet-install.sh
sudo chmod +x ./dotnet-install.sh
./dotnet-install.sh --version latest --runtime aspnetcore --channel 7.0 --install-dir /usr/shared/dotnet
export DOTNET_ROOT=/usr/share/dotnet
export PATH=$PATH:/usr/share/dotnet
创建时间:2/21/2023 11:25:50 AM
修改时间:2/21/2023 1:29:40 PM