Categories: Developement
Install dotnet on Kali Linux
Post date:
Author: subrat
Number of comments: no comments
Get the install script.
wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh
or, with curl
curl -L https://dot.net/v1/dotnet-install.sh -o dotnet-install.sh
Grant executable permission to the script
chmod +x ./dotnet-install.sh
Install latest long-term(LTS) supported version of dotnet.
./dotnet-install.sh --version latest
To install dotnet runtime only, use the --runtime parameter.
./dotnet-install.sh --version latest --runtime aspnetcore
To add globalization support install libicu-dev.
apt install libicu-dev
Run dotnet commands as shown:
# Change to directory where dotnet is installed
cd /root/.dotnet
# Execute dotnet like so:
./dotnet -h
Run C# Files as Scripts
./dotnet run Crack.cs
Reference
TODO
- Setup
dotnetinPATH