$ dnf provides libssl.so.10
compat-openssl10-1:1.0.2o-5.fc30.i686 : Compatibility version of the OpenSSL library
Repo : fedora
Matched from:
Provide : libssl.so.10
(Rpm doesnt to dependency management, so youve got to install the deps yourself. Dnf sits on top of rpm and does dep management so is generally a safer, easier tool to manage packages. )