LoginSignup
13
15

More than 1 year has passed since last update.

zlibをインストール(ソースからビルド)for RockyLinux 9.x

Last updated at Posted at 2016-10-09

##はじめに
OS標準で入っているケースが多いzlibですが、OSの最小インストールなど状況によってはインストールされていないことがあります。
今回は、ソースからコンパイルしてインストールする方法をメモしておきます。
RockyLinuxは、RHEL互換OSのためAlmaLinuxなどのRHEL互換OSであればどれも同様に対応可能です。
2023年4月現在、zlibの最新版は「1.2.13」となります。

##環境

プロダクト バージョン
zlib 1.2.13

##プログラム入手先
http://www.zlib.net/

##インストール方法

インストール方法
cd /usr/local/src
wget https://github.com/madler/zlib/releases/download/v1.2.13/zlib-1.2.13.tar.gz
tar xvzf zlib-1.2.13.tar.gz
cd zlib-1.2.13
./configure
make -j 8
make install

これで完了です。

13
15
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
13
15