How To Install giflib-devel on Rocky Linux 8

In this tutorial we learn how to install giflib-devel on Rocky Linux 8. giflib-devel is Development files for programs using the giflib library

Introduction

In this tutorial we learn how to install giflib-devel on Rocky Linux 8.

What is giflib-devel

The giflib-devel package includes header files, libraries necessary for developing programs which use the giflib library.

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

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

sudo dnf -y install giflib-devel

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

sudo yum -y install giflib-devel

How To Uninstall giflib-devel on Rocky Linux 8

To uninstall only the giflib-devel package we can use the following command:

sudo dnf remove giflib-devel

giflib-devel Package Contents on Rocky Linux 8

/usr/include/gif_lib.h
/usr/lib/libgif.so
/usr/share/doc/giflib-devel
/usr/share/doc/giflib-devel/00README
/usr/share/doc/giflib-devel/gif2rgb.1
/usr/share/doc/giflib-devel/gif2rgb.html
/usr/share/doc/giflib-devel/gif2rgb.xml
/usr/share/doc/giflib-devel/gif87.txt
/usr/share/doc/giflib-devel/gif89.txt
/usr/share/doc/giflib-devel/gif_lib.html
/usr/share/doc/giflib-devel/gif_lib.xml
/usr/share/doc/giflib-devel/gifbg.1
/usr/share/doc/giflib-devel/gifbg.html
/usr/share/doc/giflib-devel/gifbg.xml
/usr/share/doc/giflib-devel/gifbuild.1
/usr/share/doc/giflib-devel/gifbuild.html
/usr/share/doc/giflib-devel/gifbuild.xml
/usr/share/doc/giflib-devel/gifclrmp.1
/usr/share/doc/giflib-devel/gifclrmp.html
/usr/share/doc/giflib-devel/gifclrmp.xml
/usr/share/doc/giflib-devel/gifcolor.1
/usr/share/doc/giflib-devel/gifcolor.html
/usr/share/doc/giflib-devel/gifcolor.xml
/usr/share/doc/giflib-devel/gifecho.1
/usr/share/doc/giflib-devel/gifecho.html
/usr/share/doc/giflib-devel/gifecho.xml
/usr/share/doc/giflib-devel/giffix.1
/usr/share/doc/giflib-devel/giffix.html
/usr/share/doc/giflib-devel/giffix.xml
/usr/share/doc/giflib-devel/gifhisto.1
/usr/share/doc/giflib-devel/gifhisto.html
/usr/share/doc/giflib-devel/gifhisto.xml
/usr/share/doc/giflib-devel/gifinto.1
/usr/share/doc/giflib-devel/gifinto.html
/usr/share/doc/giflib-devel/gifinto.xml
/usr/share/doc/giflib-devel/giflib.1
/usr/share/doc/giflib-devel/giflib.html
/usr/share/doc/giflib-devel/giflib.xml
/usr/share/doc/giflib-devel/giftext.1
/usr/share/doc/giflib-devel/giftext.html
/usr/share/doc/giflib-devel/giftext.xml
/usr/share/doc/giflib-devel/giftool.1
/usr/share/doc/giflib-devel/giftool.html
/usr/share/doc/giflib-devel/giftool.xml
/usr/share/doc/giflib-devel/gifwedge.1
/usr/share/doc/giflib-devel/gifwedge.html
/usr/share/doc/giflib-devel/gifwedge.xml
/usr/share/doc/giflib-devel/intro.html
/usr/share/doc/giflib-devel/intro.xml
/usr/share/doc/giflib-devel/lzgif.txt
/usr/share/doc/giflib-devel/whatsinagif
/usr/share/doc/giflib-devel/whatsinagif/animation_and_transparency.html
/usr/share/doc/giflib-devel/whatsinagif/bits_and_bytes.html
/usr/share/doc/giflib-devel/whatsinagif/comment_ext.gif
/usr/share/doc/giflib-devel/whatsinagif/gif_file_stream.gif
/usr/share/doc/giflib-devel/whatsinagif/global_color_table.gif
/usr/share/doc/giflib-devel/whatsinagif/graphic_control_ext.gif
/usr/share/doc/giflib-devel/whatsinagif/header_block.gif
/usr/share/doc/giflib-devel/whatsinagif/highlight_green.gif
/usr/share/doc/giflib-devel/whatsinagif/highlight_purple.gif
/usr/share/doc/giflib-devel/whatsinagif/image_data_block.gif
/usr/share/doc/giflib-devel/whatsinagif/image_descriptor_block.gif
/usr/share/doc/giflib-devel/whatsinagif/index.html
/usr/share/doc/giflib-devel/whatsinagif/logical_screen_desc_block.gif
/usr/share/doc/giflib-devel/whatsinagif/lzw_decoding_bytes.gif
/usr/share/doc/giflib-devel/whatsinagif/lzw_encoding_codes.gif
/usr/share/doc/giflib-devel/whatsinagif/lzw_image_data.html
/usr/share/doc/giflib-devel/whatsinagif/lzw_image_data_code_table.html
/usr/share/doc/giflib-devel/whatsinagif/sample_1.gif
/usr/share/doc/giflib-devel/whatsinagif/sample_1_enlarged.gif
/usr/share/doc/giflib-devel/whatsinagif/sample_1_trans.gif
/usr/share/doc/giflib-devel/whatsinagif/sample_1_trans_blue.gif
/usr/share/doc/giflib-devel/whatsinagif/sample_1_trans_red.gif
/usr/share/doc/giflib-devel/whatsinagif/sample_2_animation_green.gif
/usr/share/doc/giflib-devel/whatsinagif/sample_2_animation_red.gif
/usr/share/doc/giflib-devel/whatsinagif/sample_2_animation_yellow.gif
/usr/share/doc/giflib-devel/whatsinagif/sample_2_green_large.gif
/usr/share/doc/giflib-devel/whatsinagif/sample_2_green_yellow_diff.gif
/usr/share/doc/giflib-devel/whatsinagif/sample_2_yellow_large.gif
/usr/share/doc/giflib-devel/whatsinagif/trailer_block.gif
/usr/include/gif_lib.h
/usr/lib64/libgif.so
/usr/share/doc/giflib-devel
/usr/share/doc/giflib-devel/00README
/usr/share/doc/giflib-devel/gif2rgb.1
/usr/share/doc/giflib-devel/gif2rgb.html
/usr/share/doc/giflib-devel/gif2rgb.xml
/usr/share/doc/giflib-devel/gif87.txt
/usr/share/doc/giflib-devel/gif89.txt
/usr/share/doc/giflib-devel/gif_lib.html
/usr/share/doc/giflib-devel/gif_lib.xml
/usr/share/doc/giflib-devel/gifbg.1
/usr/share/doc/giflib-devel/gifbg.html
/usr/share/doc/giflib-devel/gifbg.xml
/usr/share/doc/giflib-devel/gifbuild.1
/usr/share/doc/giflib-devel/gifbuild.html
/usr/share/doc/giflib-devel/gifbuild.xml
/usr/share/doc/giflib-devel/gifclrmp.1
/usr/share/doc/giflib-devel/gifclrmp.html
/usr/share/doc/giflib-devel/gifclrmp.xml
/usr/share/doc/giflib-devel/gifcolor.1
/usr/share/doc/giflib-devel/gifcolor.html
/usr/share/doc/giflib-devel/gifcolor.xml
/usr/share/doc/giflib-devel/gifecho.1
/usr/share/doc/giflib-devel/gifecho.html
/usr/share/doc/giflib-devel/gifecho.xml
/usr/share/doc/giflib-devel/giffix.1
/usr/share/doc/giflib-devel/giffix.html
/usr/share/doc/giflib-devel/giffix.xml
/usr/share/doc/giflib-devel/gifhisto.1
/usr/share/doc/giflib-devel/gifhisto.html
/usr/share/doc/giflib-devel/gifhisto.xml
/usr/share/doc/giflib-devel/gifinto.1
/usr/share/doc/giflib-devel/gifinto.html
/usr/share/doc/giflib-devel/gifinto.xml
/usr/share/doc/giflib-devel/giflib.1
/usr/share/doc/giflib-devel/giflib.html
/usr/share/doc/giflib-devel/giflib.xml
/usr/share/doc/giflib-devel/giftext.1
/usr/share/doc/giflib-devel/giftext.html
/usr/share/doc/giflib-devel/giftext.xml
/usr/share/doc/giflib-devel/giftool.1
/usr/share/doc/giflib-devel/giftool.html
/usr/share/doc/giflib-devel/giftool.xml
/usr/share/doc/giflib-devel/gifwedge.1
/usr/share/doc/giflib-devel/gifwedge.html
/usr/share/doc/giflib-devel/gifwedge.xml
/usr/share/doc/giflib-devel/intro.html
/usr/share/doc/giflib-devel/intro.xml
/usr/share/doc/giflib-devel/lzgif.txt
/usr/share/doc/giflib-devel/whatsinagif
/usr/share/doc/giflib-devel/whatsinagif/animation_and_transparency.html
/usr/share/doc/giflib-devel/whatsinagif/bits_and_bytes.html
/usr/share/doc/giflib-devel/whatsinagif/comment_ext.gif
/usr/share/doc/giflib-devel/whatsinagif/gif_file_stream.gif
/usr/share/doc/giflib-devel/whatsinagif/global_color_table.gif
/usr/share/doc/giflib-devel/whatsinagif/graphic_control_ext.gif
/usr/share/doc/giflib-devel/whatsinagif/header_block.gif
/usr/share/doc/giflib-devel/whatsinagif/highlight_green.gif
/usr/share/doc/giflib-devel/whatsinagif/highlight_purple.gif
/usr/share/doc/giflib-devel/whatsinagif/image_data_block.gif
/usr/share/doc/giflib-devel/whatsinagif/image_descriptor_block.gif
/usr/share/doc/giflib-devel/whatsinagif/index.html
/usr/share/doc/giflib-devel/whatsinagif/logical_screen_desc_block.gif
/usr/share/doc/giflib-devel/whatsinagif/lzw_decoding_bytes.gif
/usr/share/doc/giflib-devel/whatsinagif/lzw_encoding_codes.gif
/usr/share/doc/giflib-devel/whatsinagif/lzw_image_data.html
/usr/share/doc/giflib-devel/whatsinagif/lzw_image_data_code_table.html
/usr/share/doc/giflib-devel/whatsinagif/sample_1.gif
/usr/share/doc/giflib-devel/whatsinagif/sample_1_enlarged.gif
/usr/share/doc/giflib-devel/whatsinagif/sample_1_trans.gif
/usr/share/doc/giflib-devel/whatsinagif/sample_1_trans_blue.gif
/usr/share/doc/giflib-devel/whatsinagif/sample_1_trans_red.gif
/usr/share/doc/giflib-devel/whatsinagif/sample_2_animation_green.gif
/usr/share/doc/giflib-devel/whatsinagif/sample_2_animation_red.gif
/usr/share/doc/giflib-devel/whatsinagif/sample_2_animation_yellow.gif
/usr/share/doc/giflib-devel/whatsinagif/sample_2_green_large.gif
/usr/share/doc/giflib-devel/whatsinagif/sample_2_green_yellow_diff.gif
/usr/share/doc/giflib-devel/whatsinagif/sample_2_yellow_large.gif
/usr/share/doc/giflib-devel/whatsinagif/trailer_block.gif

References

Summary

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