How To Install mingw64-cairo on Rocky Linux 8

In this tutorial we learn how to install mingw64-cairo on Rocky Linux 8. mingw64-cairo is MinGW Windows Cairo library

Introduction

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

What is mingw64-cairo

MinGW Windows Cairo library.

We can use yum or dnf to install mingw64-cairo on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install mingw64-cairo.

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

sudo dnf -y install mingw64-cairo

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

sudo yum -y install mingw64-cairo

How To Uninstall mingw64-cairo on Rocky Linux 8

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

sudo dnf remove mingw64-cairo

mingw64-cairo Package Contents on Rocky Linux 8

/usr/share/licenses/mingw64-cairo
/usr/share/licenses/mingw64-cairo/COPYING
/usr/share/licenses/mingw64-cairo/COPYING-LGPL-2.1
/usr/share/licenses/mingw64-cairo/COPYING-MPL-1.1
/usr/x86_64-w64-mingw32/sys-root/mingw/bin/libcairo-2.dll
/usr/x86_64-w64-mingw32/sys-root/mingw/bin/libcairo-gobject-2.dll
/usr/x86_64-w64-mingw32/sys-root/mingw/bin/libcairo-script-interpreter-2.dll
/usr/x86_64-w64-mingw32/sys-root/mingw/include/cairo
/usr/x86_64-w64-mingw32/sys-root/mingw/include/cairo/cairo-deprecated.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/cairo/cairo-features.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/cairo/cairo-ft.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/cairo/cairo-gobject.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/cairo/cairo-pdf.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/cairo/cairo-ps.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/cairo/cairo-script-interpreter.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/cairo/cairo-script.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/cairo/cairo-svg.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/cairo/cairo-tee.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/cairo/cairo-version.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/cairo/cairo-win32.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/cairo/cairo.h
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcairo-gobject.dll.a
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcairo-script-interpreter.dll.a
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcairo.dll.a
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/pkgconfig/cairo-fc.pc
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/pkgconfig/cairo-ft.pc
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/pkgconfig/cairo-gobject.pc
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/pkgconfig/cairo-pdf.pc
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/pkgconfig/cairo-png.pc
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/pkgconfig/cairo-ps.pc
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/pkgconfig/cairo-script.pc
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/pkgconfig/cairo-svg.pc
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/pkgconfig/cairo-tee.pc
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/pkgconfig/cairo-win32-font.pc
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/pkgconfig/cairo-win32.pc
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/pkgconfig/cairo.pc

References

Summary

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