How To Install gd on Fedora 36
Introduction
In this tutorial we learn how to install gd
on Fedora 36.
What is gd
The gd graphics library allows your code to quickly draw images complete with lines, arcs, text, multiple colors, cut and paste from other images, and flood fills, and to write out the result as a PNG or JPEG file. This is particularly useful in Web applications, where PNG and JPEG are two of the formats accepted for inline images by most browsers. Note that gd is not a paint program.
We can use yum
or dnf
to install gd
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install gd.
Install gd on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install gd
using dnf
by running the following command:
sudo dnf -y install gd
Install gd on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install gd
using yum
by running the following command:
sudo yum -y install gd
How To Uninstall gd on Fedora 36
To uninstall only the gd
package we can use the following command:
sudo dnf remove gd
gd Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/11
/usr/lib/.build-id/11/ad06d7bfdc080e96ad5c74b270f904543efaaa
/usr/lib64/libgd.so.3
/usr/lib64/libgd.so.3.0.11
/usr/share/licenses/gd
/usr/share/licenses/gd/COPYING
References
Summary
In this tutorial we learn how to install gd
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).
title: “How To Install gd on Fedora 36” linkTitle: “gd” type: “docs” description: “In this tutorial we learn how to install gd in Fedora 36. gd is A graphics library for quick creation of PNG or JPEG images” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/gd-featured.png
Introduction
In this tutorial we learn how to install gd
on Fedora 36.
What is gd
The gd graphics library allows your code to quickly draw images complete with lines, arcs, text, multiple colors, cut and paste from other images, and flood fills, and to write out the result as a PNG or JPEG file. This is particularly useful in Web applications, where PNG and JPEG are two of the formats accepted for inline images by most browsers. Note that gd is not a paint program.
We can use yum
or dnf
to install gd
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install gd.
Install gd on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install gd
using dnf
by running the following command:
sudo dnf -y install gd
Install gd on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install gd
using yum
by running the following command:
sudo yum -y install gd
How To Uninstall gd on Fedora 36
To uninstall only the gd
package we can use the following command:
sudo dnf remove gd
gd Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/8d0421d219cfccb57944643f7fbe694a4d608a
/usr/lib/libgd.so.3
/usr/lib/libgd.so.3.0.11
/usr/share/licenses/gd
/usr/share/licenses/gd/COPYING
References
Summary
In this tutorial we learn how to install gd
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).