How To Install mingw32-openssl on Rocky Linux 8

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

Introduction

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

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

Install mingw32-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 mingw32-openssl using dnf by running the following command:

sudo dnf -y install mingw32-openssl

Install mingw32-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 mingw32-openssl using yum by running the following command:

sudo yum -y install mingw32-openssl

How To Uninstall mingw32-openssl on Rocky Linux 8

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

sudo dnf remove mingw32-openssl

mingw32-openssl Package Contents on Rocky Linux 8

/usr/i686-w64-mingw32/sys-root/mingw/bin/c_rehash
/usr/i686-w64-mingw32/sys-root/mingw/bin/libcrypto-10.dll
/usr/i686-w64-mingw32/sys-root/mingw/bin/libssl-10.dll
/usr/i686-w64-mingw32/sys-root/mingw/bin/openssl.exe
/usr/i686-w64-mingw32/sys-root/mingw/etc/pki
/usr/i686-w64-mingw32/sys-root/mingw/etc/pki/CA
/usr/i686-w64-mingw32/sys-root/mingw/etc/pki/CA/private
/usr/i686-w64-mingw32/sys-root/mingw/etc/pki/tls
/usr/i686-w64-mingw32/sys-root/mingw/etc/pki/tls/certs
/usr/i686-w64-mingw32/sys-root/mingw/etc/pki/tls/certs/Makefile
/usr/i686-w64-mingw32/sys-root/mingw/etc/pki/tls/certs/make-dummy-cert
/usr/i686-w64-mingw32/sys-root/mingw/etc/pki/tls/certs/renew-dummy-cert
/usr/i686-w64-mingw32/sys-root/mingw/etc/pki/tls/misc
/usr/i686-w64-mingw32/sys-root/mingw/etc/pki/tls/misc/CA
/usr/i686-w64-mingw32/sys-root/mingw/etc/pki/tls/misc/CA.pl
/usr/i686-w64-mingw32/sys-root/mingw/etc/pki/tls/misc/c_hash
/usr/i686-w64-mingw32/sys-root/mingw/etc/pki/tls/misc/c_info
/usr/i686-w64-mingw32/sys-root/mingw/etc/pki/tls/misc/c_issuer
/usr/i686-w64-mingw32/sys-root/mingw/etc/pki/tls/misc/c_name
/usr/i686-w64-mingw32/sys-root/mingw/etc/pki/tls/misc/tsget
/usr/i686-w64-mingw32/sys-root/mingw/etc/pki/tls/openssl.cnf
/usr/i686-w64-mingw32/sys-root/mingw/etc/pki/tls/private
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/aes.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/applink.c
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/asn1.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/asn1_mac.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/asn1t.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/bio.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/blowfish.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/bn.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/buffer.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/camellia.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/cast.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/cmac.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/cms.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/comp.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/conf.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/conf_api.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/crypto.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/des.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/des_old.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/dh.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/dsa.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/dso.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/dtls1.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/e_os2.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/ebcdic.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/ec.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/ecdh.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/ecdsa.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/engine.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/err.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/evp.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/hmac.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/idea.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/krb5_asn.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/kssl.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/lhash.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/md2.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/md4.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/md5.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/modes.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/obj_mac.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/objects.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/ocsp.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/opensslconf.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/opensslv.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/ossl_typ.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/pem.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/pem2.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/pkcs12.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/pkcs7.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/pqueue.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/rand.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/rc2.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/rc4.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/rc5.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/ripemd.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/rsa.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/safestack.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/seed.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/sha.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/srtp.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/ssl.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/ssl2.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/ssl23.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/ssl3.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/stack.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/symhacks.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/tls1.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/ts.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/txt_db.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/ui.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/ui_compat.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/whrlpool.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/x509.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/x509_vfy.h
/usr/i686-w64-mingw32/sys-root/mingw/include/openssl/x509v3.h
/usr/i686-w64-mingw32/sys-root/mingw/lib/engines
/usr/i686-w64-mingw32/sys-root/mingw/lib/engines/lib4758cca.dll
/usr/i686-w64-mingw32/sys-root/mingw/lib/engines/libaep.dll
/usr/i686-w64-mingw32/sys-root/mingw/lib/engines/libatalla.dll
/usr/i686-w64-mingw32/sys-root/mingw/lib/engines/libcapi.dll
/usr/i686-w64-mingw32/sys-root/mingw/lib/engines/libchil.dll
/usr/i686-w64-mingw32/sys-root/mingw/lib/engines/libcswift.dll
/usr/i686-w64-mingw32/sys-root/mingw/lib/engines/libgmp.dll
/usr/i686-w64-mingw32/sys-root/mingw/lib/engines/libnuron.dll
/usr/i686-w64-mingw32/sys-root/mingw/lib/engines/libpadlock.dll
/usr/i686-w64-mingw32/sys-root/mingw/lib/engines/libsureware.dll
/usr/i686-w64-mingw32/sys-root/mingw/lib/engines/libubsec.dll
/usr/i686-w64-mingw32/sys-root/mingw/lib/libcrypto.dll.a
/usr/i686-w64-mingw32/sys-root/mingw/lib/libssl.dll.a
/usr/i686-w64-mingw32/sys-root/mingw/lib/pkgconfig/libcrypto.pc
/usr/i686-w64-mingw32/sys-root/mingw/lib/pkgconfig/libssl.pc
/usr/i686-w64-mingw32/sys-root/mingw/lib/pkgconfig/openssl.pc
/usr/share/doc/mingw32-openssl
/usr/share/doc/mingw32-openssl/LICENSE

References

Summary

In this tutorial we learn how to install mingw32-openssl on Rocky Linux 8 using yum and dnf.