How To Install zlib-static on Fedora 36
Introduction
In this tutorial we learn how to install zlib-static
on Fedora 36.
What is zlib-static
The zlib-static package includes static libraries needed to develop programs that use the zlib compression and decompression library.
We can use yum
or dnf
to install zlib-static
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install zlib-static.
Install zlib-static 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 zlib-static
using dnf
by running the following command:
sudo dnf -y install zlib-static
Install zlib-static 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 zlib-static
using yum
by running the following command:
sudo yum -y install zlib-static
How To Uninstall zlib-static on Fedora 36
To uninstall only the zlib-static
package we can use the following command:
sudo dnf remove zlib-static
zlib-static Package Contents on Fedora 36
---
title: "How To Install zlib-static on Fedora 36"
linkTitle: "zlib-static"
type: "docs"
description: "In this tutorial we learn how to install zlib-static in Fedora 36. zlib-static is Static libraries for Zlib development"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/zlib-static-featured.png
---
## Introduction
In this tutorial we learn how to install `zlib-static` on Fedora 36.
### What is `zlib-static`
> The zlib-static package includes static libraries needed to develop programs that use the zlib compression and decompression library.
We can use `yum` or `dnf` to install `zlib-static` on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install zlib-static.
## Install zlib-static on Fedora 36 Using dnf
Update yum database with `dnf` using the following command.
```bash
sudo dnf makecache --refresh
After updating yum database, We can install zlib-static
using dnf
by running the following command:
sudo dnf -y install zlib-static
Install zlib-static 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 zlib-static
using yum
by running the following command:
sudo yum -y install zlib-static
How To Uninstall zlib-static on Fedora 36
To uninstall only the zlib-static
package we can use the following command:
sudo dnf remove zlib-static
zlib-static Package Contents on Fedora 36
/usr/lib/libz.a
/usr/share/licenses/zlib-static
/usr/share/licenses/zlib-static/README
/usr/lib64/libz.a
/usr/share/licenses/zlib-static
/usr/share/licenses/zlib-static/README
## References
## References
* [zlib-static website](https://www.zlib.net/)
## Summary
* [zlib-static website](https://www.zlib.net/)
## Summary
In this tutorial we learn how to install `zlib-static` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).
In this tutorial we learn how to install `zlib-static` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).