wget https://www.openssl.org/source/openssl-3.0.0-beta1.tar.gz
tar -xf openssl-3.0.0-beta1.tar.gz
cd openssl-3.0.0-beta1
chmod +x ./config
./config --prefix="/usr"
make -j`nproc`
make install DESTDIR="$1"