Updated the information on Compress::Zlib in README.md, since it is merged into the IO-Compress package and included in the core Perl modules now.

This commit is contained in:
依瑪貓 2021-02-11 08:36:56 +08:00
parent cecc50e203
commit 5bf54bebf3

View File

@ -101,10 +101,11 @@ System Requirement
This is used to support reading/writing the gzip compressed This is used to support reading/writing the gzip compressed
files. It is only needed when gzip compressed files are files. It is only needed when gzip compressed files are
encountered. If it is not available, `reslog` tries the `gzip` encountered. If it is not available, `arclog` tries the `gzip`
executable instead. If that is not available, too, `reslog` executable instead. If that is not available, too, `arclog`
fails. You can download and install Compress::Zlib from the CPAN fails. Compress::Zlib comes with Perl since version 5.9.3. If
archive, or install it with the CPAN shell: not, you can download and install it from the CPAN archive, or
install it with the CPAN shell:
cpan Compress::Zlib cpan Compress::Zlib
@ -114,15 +115,19 @@ System Requirement
For Debian/Ubuntu: For Debian/Ubuntu:
sudo apt install libcompress-zlib-perl sudo apt install libio-compress-perl
For Red Hat/Fedora/CentOS: For Red Hat/Fedora/CentOS:
sudo yum install perl-Compress-Zlib sudo yum install perl-IO-Compress
For FreeBSD: For FreeBSD:
ports install p5-Compress-Zlib ports install p5-IO-Compress
For ActivePerl:
ppm install IO-Compress
The alternative `gzip.exe` for MS-Windows can be obtained from The alternative `gzip.exe` for MS-Windows can be obtained from
[the gzip website]. Be sure to save it as `gzip.exe` somewhere [the gzip website]. Be sure to save it as `gzip.exe` somewhere
@ -196,7 +201,7 @@ System Requirement
[ActivePerl]: https://www.activestate.com/products/perl/ [ActivePerl]: https://www.activestate.com/products/perl/
[File::MMagic]: https://metacpan.org/release/File-MMagic [File::MMagic]: https://metacpan.org/release/File-MMagic
[GnuWin32]: http://gnuwin32.sourceforge.net [GnuWin32]: http://gnuwin32.sourceforge.net
[Compress::Zlib]: https://metacpan.org/release/Compress-Zlib [Compress::Zlib]: https://metacpan.org/pod/Compress::Zlib
[the gzip website]: https://www.gzip.org [the gzip website]: https://www.gzip.org
[Compress::Bzip2]: https://metacpan.org/release/Compress-Bzip2 [Compress::Bzip2]: https://metacpan.org/release/Compress-Bzip2
[the bzip2 website]: http://www.bzip.org [the bzip2 website]: http://www.bzip.org