Difference between revisions of "Zlib"

From Genome Analysis Wiki
Jump to navigationJump to search
(Update package names for other platforms)
 
Line 3: Line 3:
 
== Linux ==
 
== Linux ==
  
'''zlib''' is included by default in most Linux distributions. If it is not available on your system, you could download and install a copy from http://www.zlib.net or use a package manager like <code>yum</code> or <code>apt</code> to install it on your system. A typical command line request to install zlib might look like this:
+
'''zlib''' is included by default in most Linux distributions. If it is not available on your system, you could download and install a copy from http://www.zlib.net or use a package manager like <code>yum</code> or <code>apt</code> to install it on your system. A typical command line request to install zlib might look like one of the following (depending on your operating system or version):
  
 
   yum install zlib-devel
 
   yum install zlib-devel
 
   apt-get install zlib-devel
 
   apt-get install zlib-devel
 +
  apt-get install zlib1g-dev (Ubuntu)
  
 
== Windows ==
 
== Windows ==
  
 
On Windows, '''zlib''' is available through the <code>MinGW</code>, <code>msys</code> and <code>CygWin</code> collections of utilities and libraries, which are designed to facilitate porting of applications from Linux to Windows.
 
On Windows, '''zlib''' is available through the <code>MinGW</code>, <code>msys</code> and <code>CygWin</code> collections of utilities and libraries, which are designed to facilitate porting of applications from Linux to Windows.

Latest revision as of 16:58, 22 December 2017

The zlib library allows applications to conveniently read and write gzip compatible files. It was developed by Jean-Loupe Gailly and Mark Adler.

Linux

zlib is included by default in most Linux distributions. If it is not available on your system, you could download and install a copy from http://www.zlib.net or use a package manager like yum or apt to install it on your system. A typical command line request to install zlib might look like one of the following (depending on your operating system or version):

  yum install zlib-devel
  apt-get install zlib-devel
  apt-get install zlib1g-dev (Ubuntu)

Windows

On Windows, zlib is available through the MinGW, msys and CygWin collections of utilities and libraries, which are designed to facilitate porting of applications from Linux to Windows.