You are not logged in.
I downloaded the dotnet-install.sh file as mentioned in ArchWiki
I ran it with below command
sudo ./dotnet-install.sh --install-dir /usr/share/dotnet -channel Current -version latest
dotnet-install: Note that the intended use of this script is for Continuous Integration (CI) scenarios, where:
dotnet-install: - The SDK needs to be installed without user interaction and without admin rights.
dotnet-install: - The SDK installation doesn't need to persist across multiple CI runs.
dotnet-install: To set up a development environment or to run apps, use installers rather than this script. Visit https://dotnet.microsoft.com/download to get the installer.
curl: (28) Resolving timed out after 15000 milliseconds
curl: (28) Resolving timed out after 15000 milliseconds
curl: (28) Resolving timed out after 15000 milliseconds
dotnet-install: Downloading link: https://dotnetcli.azureedge.net/dotnet/Sdk/5.0.100/dotnet-sdk-5.0.100-linux-x64.tar.gz
curl: (28) Resolving timed out after 15000 milliseconds
dotnet-install: Extracting zip from https://dotnetcli.azureedge.net/dotnet/Sdk/5.0.100/dotnet-sdk-5.0.100-linux-x64.tar.gz
dotnet-install: Adding to current process PATH: `/usr/share/dotnet`. Note: This change will be visible only when sourcing script.
dotnet-install: Note that the script does not resolve dependencies during installation.
dotnet-install: To check the list of dependencies, go to https://docs.microsoft.com/dotnet/core/install, select your operating system and check the "Dependencies" section.
dotnet-install: Installation finished successfully.dotnet --list-sdks
bash: /usr/bin/dotnet: No such file or directorywhereis dotnet
dotnet: /usr/share/dotnetwhich dotnet
which: no dotnet in (/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)Last edited by YuvarajVelmurugan (2020-12-27 16:32:51)
Thanks,
Yuvaraj Velmurugan
Offline
The way I'm reading the wiki you are still expected to install at least dotnet-runtime (..or rather dotnet-host if it's really just for the binary) for the relevant /usr binaries
Offline
The runtime expected is 5.0, but what is available is 3.1
Thanks,
Yuvaraj Velmurugan
Offline
https://dotnet.microsoft.com/download/dotnet/5.0 shows dotnet 5 was released not long ago, feel free to flag it out of date.
(link doesn't work for me atm).
If you can't wait until [community] version is updated, use https://aur.archlinux.org/packages/dotnet-sdk-bin/ .
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
You also may simply download the sdk from the mircosoft link above (linux, binary, x64), unpack it in your home directory and put it in your path.
Knowing others is wisdom, knowing yourself is enlightenment. ~Lao Tse
Offline
You also may simply download the sdk from the mircosoft link above (linux, binary, x64), unpack it in your home directory and put it in your path.
Yup. Download Binaries x64 This approach worked. But the export of environmental variable is temporary to that session. When i close the terminal and relaunch terminal it doesn't know where dotnet is.
So I followed below steps to install and things are working good now.
Step 1
cd /usr/shareStep 2
rm -rf dotnetStep 3
sudo mkdir dotnetStep 4
cd ~/DownloadsStep 5
sudo tar zxf dotnet-sdk-5.0.101-linux-x64.tar.gz -C /usr/share/dotnetStep 6
sudo ln -sf /usr/share/dotnet/dotnet /usr/bin/dotnetStep 7
dotnet --versionLast edited by YuvarajVelmurugan (2020-12-27 19:03:27)
Thanks,
Yuvaraj Velmurugan
Offline
Very Bad Idea.
I f you want to know why, run pacman -Qkk .
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline