Closed papiche closed 3 years ago
Hi,
This issue is not really related to uptobox-dl, but how to build/run a dotnet project.
To simplify, in your cases there are two steps:
For your second trial, you have the runtime of .NET on your machine, so if you were to have the binaries, you could run it!
To make it easier for everyone, I added the build of linux arm32 and arm64 platforms in github actions.
I followed the steps described here to install dotnet runtime on a raspberry pi.
Running dotnet --info
has a correct output.
At this point, simply download the artifact for your platform (arm), extract it, and you can run it!
curl -LO https://github.com/Aerion/uptobox-dl/releases/download/v1.0.1/uptobox-dl-v1.0.1-linux-arm.tar.gz
tar xvf uptobox-dl-v1.0.1-linux-arm.tar.gz
./uptobox-dl-v1.0.1-linux-arm/uptobox-dl --help
After performing the above steps, I have the correct output on my raspberry pi.
uptobox-dl 1.0.0
Copyright (C) 2021 uptobox-dl
-v, --verbose Set output to verbose messages.
...
Let me know if it's clearer like that :)
Thank you, dotnet was installed in ~/.dotnet
sudo ln -s ~/.dotnet/dotnet /usr/bin/dotnet
then using binaries works
I still wonder why DOTNET is a mandatory requirement for Linux platform? I am not a great fan of M$, which strategy is obviously to invade Free Software !!
Let's close this issue as it's solved :)
I still wonder why DOTNET is a mandatory requirement for Linux platform?
It's just that this project was written in c#, targeting .NET. So it's the same as needing java for running java project.
I am not a great fan of M$
I respect your opinion, I find it amusing that they are also the owner of Github.
Tryed to install with https://dot.net/v1/dotnet-install.sh
Added /home/papiche/.dotnet to PATH. But got compilation error... So I downloaded https://dotnet.microsoft.com/download/dotnet/thank-you/runtime-3.1.15-linux-x64-binaries then manual install $ DOTNET_FILE=aspnetcore-runtime-3.1.15-linux-x64.tar.gz $ export DOTNET_ROOT=/home/papiche/.dotnet/ $ mkdir -p "$DOTNET_ROOT" && tar zxf "$DOTNET_FILE" -C "$DOTNET_ROOT" $ export PATH=$PATH:$DOTNET_ROOT
I wil try install on RaspberryPi (arm32)
Are you sure you need dotnet library on linux?