How To Install mingw64-openssl on Rocky Linux 8

In this tutorial we learn how to install mingw64-openssl on Rocky Linux 8. mingw64-openssl is MinGW port of the OpenSSL toolkit

Introduction

In this tutorial we learn how to install mingw64-openssl on Rocky Linux 8.

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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install mingw64-openssl.

Install mingw64-openssl on Rocky Linux 8 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 Rocky Linux 8 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 Rocky Linux 8

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

sudo dnf remove mingw64-openssl

mingw64-openssl Package Contents on Rocky Linux 8

/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-10.dll
/usr/x86_64-w64-mingw32/sys-root/mingw/bin/libssl-10.dll
/usr/x86_64-w64-mingw32/sys-root/mingw/bin/openssl.exe
/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/certs/make-dummy-cert
/usr/x86_64-w64-mingw32/sys-root/mingw/etc/pki/tls/certs/renew-dummy-cert
/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
/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/c_hash
/usr/x86_64-w64-mingw32/sys-root/mingw/etc/pki/tls/misc/c_info
/usr/x86_64-w64-mingw32/sys-root/mingw/etc/pki/tls/misc/c_issuer
/usr/x86_64-w64-mingw32/sys-root/mingw/etc/pki/tls/misc/c_name
/usr/x86_64-w64-mingw32/sys-root/mingw/etc/pki/tls/misc/tsget
/usr/x86_64-w64-mingw32/sys-root/mingw/etc/pki/tls/openssl.cnf
/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/asn1t.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/bio.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/buffer.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/comp.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/crypto.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/des.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/des_old.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/dh.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/dsa.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/dso.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/engine.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/hmac.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/idea.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/krb5_asn.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/kssl.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/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/ocsp.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/pkcs12.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/pkcs7.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/pqueue.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/rand.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/ripemd.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/rsa.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/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/ssl23.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/ssl3.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/openssl/stack.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/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/ui_compat.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/x509v3.h
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/engines
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/engines/lib4758cca.dll
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/engines/libaep.dll
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/engines/libatalla.dll
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/engines/libcapi.dll
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/engines/libchil.dll
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/engines/libcswift.dll
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/engines/libgmp.dll
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/engines/libnuron.dll
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/engines/libpadlock.dll
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/engines/libsureware.dll
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/engines/libubsec.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 Rocky Linux 8 using yum and dnf.