Skip to content
Categories:

Install dotnet on Kali Linux

Post date:
Author:
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

  1. Scripted Install

TODO

  1. Setup dotnet in PATH

Leave a Reply

Your email address will not be published. Required fields are marked *