Void Linux: Dependency Installation - Alexmitter/osu-lazer-linux-installer GitHub Wiki

This was kindly contributed by the user maybeetree, Ticket #14 is used as a thread regarding this.

Some distros like Void Linux have libressl in place of openssl, which is required by dotnet. These are the steps I took for voidlinux, I hope that may be useful to others:

First, install dependencies using package manager: sudo xbps-install libgbm glfw SDL2-devel

Now try installing osu with start.sh . It should error out with dotnet: command not found

Now download dotnet core 3.1 sdk from Microsoft: https://docs.microsoft.com/en-us/dotnet/core/install/sdk?pivots=os-linux#download-and-manually-install

The instructions there have it install to your home directory. You can use a different one if you want.

open start.sh in a text editor and add these two lines after the first one:

export DOTNET_ROOT=$HOME/dotnet

export PATH=$PATH:$HOME/dotnet

This will point the installer to your new dotnet installation. Save file and run again. Now the error should be "No usable version of libssl was found" You now need to install libssl 1.1 . Follow the guide here: https://help.dreamhost.com/hc/en-us/articles/360001435926-Installing-OpenSSL-locally-under-your-username

WebArchive: https://web.archive.org/web/20200103194748/https://help.dreamhost.com/hc/en-us/articles/360001435926-Installing-OpenSSL-locally-under-your-username

Now add the following lines to start.sh below the first two you added:

export PATH=$HOME/openssl/bin:$PATH

export LD_LIBRARY_PATH=$HOME/openssl/lib

export LC_ALL="en_US.UTF-8"

export LDFLAGS="-L/home/username/openssl/lib -Wl,-rpath,/home/username/openssl/lib"

Make sure to substitute your unix username for 'username'. Of course do what you need if you installed openssl to a different path.

Save and run again. Now installing should error out with a big blob of red text saying something about ssl. Add these lines as well:

export DOTNET_SYSTEM_NET_HTTP_USESOCKETSHTTPHANDLER=0

export SSL_CERT_DI=/dev/null

I think that disable certificate validation during compilation, which may be a security risk, but I don't know of a better way. Save and install again, it should work now. Be patient, compiling takes a while.