How To Install mingw64-openssl on Fedora 36

In this tutorial we learn how to install mingw64-openssl in Fedora 36. mingw64-openssl is MinGW port of the OpenSSL toolkit

Introduction

In this tutorial we learn how to install mingw64-openssl on Fedora 36.

What is mingw64-openssl

The OpenSSL toolkit provides support for secure communications between machines. OpenSSL includes a certificate management tool and shared libraries which provide various cryptographic algorithms and protocols. This package contains Windows (MinGW) libraries and development tools.

We can use yum or dnf to install mingw64-openssl on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install mingw64-openssl.

Install mingw64-openssl on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install mingw64-openssl using dnf by running the following command:

sudo dnf -y install mingw64-openssl

Install mingw64-openssl on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install mingw64-openssl using yum by running the following command:

sudo yum -y install mingw64-openssl

How To Uninstall mingw64-openssl on Fedora 36

To uninstall only the mingw64-openssl package we can use the following command:

sudo dnf remove mingw64-openssl

mingw64-openssl Package Contents on Fedora 36

/usr/share/doc/mingw64-openssl
/usr/share/doc/mingw64-openssl/LICENSE
/usr/x86_64-w64-mingw32/sys-root/mingw/bin/c_rehash
/usr/x86_64-w64-mingw32/sys-root/mingw/bin/libcrypto-1_1-x64.dll
/usr/x86_64-w64-mingw32/sys-root/mingw/bin/libssl-1_1-x64.dll
/usr/x86_64-w64-mingw32/sys-root/mingw/bin/make-dummy-cert
/usr/x86_64-w64-mingw32/sys-root/mingw/bin/openssl.exe
/usr/x86_64-w64-mingw32/sys-root/mingw/bin/renew-dummy-cert
/usr/x86_64-w64-mingw32/sys-root/mingw/etc/pki
/usr/x86_64-w64-mingw32/sys-root/mingw/etc/pki/CA
/usr/x86_64-w64-mingw32/sys-root/mingw/etc/pki/CA/private
/usr/x86_64-w64-mingw32/sys-root/mingw/etc/pki/tls
/usr/x86_64-w64-mingw32/sys-root/mingw/etc/pki/tls/certs
/usr/x86_64-w64-mingw32/sys-root/mingw/etc/pki/tls/certs/Makefile
/usr/x86_64-w64-mingw32/sys-root/mingw/etc/pki/tls/ct_log_list.cnf
/usr/x86_64-w64-mingw32/sys-root/mingw/etc/pki/tls/ct_log_list.cnf.dist
/usr/x86_64-w64-mingw32/sys-root/mingw/etc/pki/tls/misc
/usr/x86_64-w64-mingw32/sys-root/mingw/etc/pki/tls/misc/CA.pl
/usr/x86_64-w64-mingw32/sys-root/mingw/etc/pki/tls/misc/tsget
/usr/x86_64-w64-mingw32/sys-root/mingw/etc/pki/tls/misc/tsget.pl
/usr/x86_64-w64-mingw32/sys-root/mingw/etc/pki/tls/openssl.cnf
/usr/x86_64-w64-mingw32/sys-root/mingw/etc/pki/tls/openssl.cnf.dist
/usr/x86_64-w64-mingw32/sys-root/mingw/etc/pki/tls/private
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/aes.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/applink.c
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/asn1.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/asn1_mac.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/asn1err.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/asn1t.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/async.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/asyncerr.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/bio.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/bioerr.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/blowfish.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/bn.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/bnerr.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/buffer.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/buffererr.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/camellia.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/cast.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/cmac.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/cms.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/cmserr.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/comp.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/comperr.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/conf.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/conf_api.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/conferr.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/crypto.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/cryptoerr.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/ct.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/cterr.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/des.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/dh.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/dherr.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/dsa.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/dsaerr.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/dtls1.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/e_os2.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/ebcdic.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/ec.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/ecdh.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/ecdsa.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/ecerr.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/engine.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/engineerr.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/err.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/evp.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/evperr.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/fips.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/fips_rand.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/hmac.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/idea.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/kdf.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/kdferr.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/lhash.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/md2.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/md4.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/md5.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/mdc2.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/modes.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/obj_mac.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/objects.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/objectserr.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/ocsp.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/ocsperr.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/opensslconf.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/opensslv.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/ossl_typ.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/pem.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/pem2.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/pemerr.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/pkcs12.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/pkcs12err.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/pkcs7.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/pkcs7err.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/rand.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/rand_drbg.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/randerr.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/rc2.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/rc4.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/rc5.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/ripemd.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/rsa.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/rsaerr.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/safestack.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/seed.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/sha.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/srp.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/srtp.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/ssl.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/ssl2.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/ssl3.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/sslerr.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/stack.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/store.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/storeerr.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/symhacks.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/tls1.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/ts.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/tserr.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/txt_db.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/ui.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/uierr.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/whrlpool.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/x509.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/x509_vfy.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/x509err.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/x509v3.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/x509v3err.h
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/engines-1_1
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/engines-1_1/capi.dll
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcrypto.dll.a
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/libssl.dll.a
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/pkgconfig/libcrypto.pc
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/pkgconfig/libssl.pc
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/pkgconfig/openssl.pc

References

Summary

In this tutorial we learn how to install mingw64-openssl on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).