How To Install libharu on Rocky Linux 8

In this tutorial we learn how to install libharu on Rocky Linux 8. libharu is C library for generating PDF files

Introduction

In this tutorial we learn how to install libharu on Rocky Linux 8.

What is libharu

libHaru is a library for generating PDF files. It is free, open source, written in ANSI C and cross platform.

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

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

sudo dnf -y install libharu

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

sudo yum -y install libharu

How To Uninstall libharu on Rocky Linux 8

To uninstall only the libharu package we can use the following command:

sudo dnf remove libharu

libharu Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/e5
/usr/lib/.build-id/e5/dc02d8aecf5436471c712db90006bd1e280949
/usr/lib64/libhpdf.so.2.3.0
/usr/share/doc/libharu
/usr/share/doc/libharu/README
/usr/share/libharu
/usr/share/libharu/CHANGES
/usr/share/libharu/INSTALL
/usr/share/libharu/README
/usr/share/libharu/if
/usr/share/libharu/if/c#
/usr/share/libharu/if/c#/README.c#
/usr/share/libharu/if/c#/demo
/usr/share/libharu/if/c#/demo/Encryption.cs
/usr/share/libharu/if/c#/demo/FontDemo.cs
/usr/share/libharu/if/c#/demo/ImageDemo.cs
/usr/share/libharu/if/c#/demo/JPFontDemo.cs
/usr/share/libharu/if/c#/demo/LineDemo.cs
/usr/share/libharu/if/c#/demo/OutlineDemo.cs
/usr/share/libharu/if/c#/demo/Permission.cs
/usr/share/libharu/if/c#/demo/RawImageDemo.cs
/usr/share/libharu/if/c#/demo/SlideShowDemo.cs
/usr/share/libharu/if/c#/demo/TextDemo.cs
/usr/share/libharu/if/c#/hpdf.cs
/usr/share/libharu/if/delphi
/usr/share/libharu/if/delphi/ExtGStateDemo.dpr
/usr/share/libharu/if/delphi/LineDemo.dpr
/usr/share/libharu/if/delphi/README.delphi
/usr/share/libharu/if/delphi/hpdf.pas
/usr/share/libharu/if/delphi/hpdf_consts.pas
/usr/share/libharu/if/delphi/hpdf_types.pas
/usr/share/libharu/if/freebasic
/usr/share/libharu/if/freebasic/README.freebasic
/usr/share/libharu/if/freebasic/hpdf.bi
/usr/share/libharu/if/freebasic/hpdf_consts.bi
/usr/share/libharu/if/freebasic/hpdf_types.bi
/usr/share/libharu/if/freebasic/hpdftest.bas
/usr/share/libharu/if/python
/usr/share/libharu/if/python/History.txt
/usr/share/libharu/if/python/README.python
/usr/share/libharu/if/python/__init__.py
/usr/share/libharu/if/python/c_func.py
/usr/share/libharu/if/python/demo
/usr/share/libharu/if/python/demo/arc_demo.py
/usr/share/libharu/if/python/demo/character_map.py
/usr/share/libharu/if/python/demo/chfont_demo.py
/usr/share/libharu/if/python/demo/cnfont_demo.py
/usr/share/libharu/if/python/demo/encoding_list.py
/usr/share/libharu/if/python/demo/encryption.py
/usr/share/libharu/if/python/demo/ext_gstate_demo.py
/usr/share/libharu/if/python/demo/font_demo.py
/usr/share/libharu/if/python/demo/grid_sheet.py
/usr/share/libharu/if/python/demo/image_demo.py
/usr/share/libharu/if/python/demo/jpeg_demo.py
/usr/share/libharu/if/python/demo/jpfont_demo.py
/usr/share/libharu/if/python/demo/line_demo.py
/usr/share/libharu/if/python/demo/link_annotation.py
/usr/share/libharu/if/python/demo/make_rawimage.py
/usr/share/libharu/if/python/demo/outline_demo.py
/usr/share/libharu/if/python/demo/outline_demo_jp.py
/usr/share/libharu/if/python/demo/permission.py
/usr/share/libharu/if/python/demo/png_demo.py
/usr/share/libharu/if/python/demo/raw_image_demo.py
/usr/share/libharu/if/python/demo/slide_show_demo.py
/usr/share/libharu/if/python/demo/text_annotation.py
/usr/share/libharu/if/python/demo/text_demo.py
/usr/share/libharu/if/python/demo/text_demo2.py
/usr/share/libharu/if/python/demo/ttfont_demo.py
/usr/share/libharu/if/python/demo/ttfont_demo_cn.py
/usr/share/libharu/if/python/demo/ttfont_demo_jp.py
/usr/share/libharu/if/python/hpdf.py
/usr/share/libharu/if/python/hpdf_consts.py
/usr/share/libharu/if/python/hpdf_errorcode.py
/usr/share/libharu/if/python/hpdf_types.py
/usr/share/libharu/if/ruby
/usr/share/libharu/if/ruby/Makefile.msvc
/usr/share/libharu/if/ruby/demo
/usr/share/libharu/if/ruby/demo/arc_demo.rb
/usr/share/libharu/if/ruby/demo/demo.rb
/usr/share/libharu/if/ruby/demo/encryption.rb
/usr/share/libharu/if/ruby/demo/ext_gstater_demo.rb
/usr/share/libharu/if/ruby/demo/font_demo.rb
/usr/share/libharu/if/ruby/demo/jpfont_demo.rb
/usr/share/libharu/if/ruby/demo/line_demo.rb
/usr/share/libharu/if/ruby/demo/slide_show_demo.rb
/usr/share/libharu/if/ruby/demo/text_demo2.rb
/usr/share/libharu/if/ruby/demo/ttfont_demo.rb
/usr/share/libharu/if/ruby/extconf.rb
/usr/share/libharu/if/ruby/extconf.rb.all
/usr/share/libharu/if/ruby/extconf.rb.nopnglib
/usr/share/libharu/if/ruby/extconf.rb.nozlib
/usr/share/libharu/if/ruby/hpdf.c
/usr/share/libharu/if/vb.net
/usr/share/libharu/if/vb.net/README.vbnet
/usr/share/libharu/if/vb.net/demo
/usr/share/libharu/if/vb.net/demo/Encryption.vb
/usr/share/libharu/if/vb.net/demo/FontDemo.vb
/usr/share/libharu/if/vb.net/demo/ImageDemo.vb
/usr/share/libharu/if/vb.net/demo/LineDemo.vb
/usr/share/libharu/if/vb.net/demo/OutlineDemo.vb
/usr/share/libharu/if/vb.net/demo/Permission.vb
/usr/share/libharu/if/vb.net/demo/RawImageDemo.vb
/usr/share/libharu/if/vb.net/demo/SlideShowDemo.vb
/usr/share/libharu/if/vb.net/demo/TextDemo.vb
/usr/share/libharu/if/vb.net/hpdfvb.vb
/usr/share/libharu/if/vb6
/usr/share/libharu/if/vb6/Form1.frm
/usr/share/libharu/if/vb6/MSSCCPRJ.SCC
/usr/share/libharu/if/vb6/Project1.vbp
/usr/share/libharu/if/vb6/Project1.vbw
/usr/share/libharu/if/vb6/README.vb
/usr/share/libharu/if/vb6/hpdf.bas
/usr/share/libharu/if/vb6/hpdf_consts.bas
/usr/share/libharu/if/vb6/hpdf_types.bas

References

Summary

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