phantomjs/_posts/documentation/get-started/2000-01-01-download.md

75 lines
4.1 KiB
Markdown
Raw Normal View History

---
layout: post
title: Download
categories: docs docs-get-started
permalink: download.html
---
**Note** Binary packages are made available on a volunteer basis. There is no need to
ask when a binary package for a given platform will be ready. The packagers are fully aware of every source release and they give their best effort to make the binaries available.
Download service is kindly provided by [Bitbucket](https://bitbucket.org/ariya/phantomjs/downloads). Previous releases download was provided by [Google Code Project Hosting](http://code.google.com/p/phantomjs/downloads/).
## Windows
Download [phantomjs-1.9.8-windows.zip](https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-windows.zip) (7.1 MB) and extract (unzip) the content.
The executable `phantomjs.exe` is ready to use.
**Note**: For this static build, the binary is self-contained with no external dependency. It will run on a fresh install of Windows XP or later versions. There is no requirement to install Qt, WebKit, or any other libraries.
## Mac OS X
Download [phantomjs-1.9.8-macosx.zip](https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-macosx.zip) (9.0 MB) and extract (unzip) the content.
The binary `bin/phantomjs` is ready to use.
**Note**: For this static build, the binary is self-contained with no external dependency. It will run on a fresh install of Snow Leopard or later versions. There is no requirement to install Qt or any other libraries.
**Alternative** installation using Homebrew:
<pre>brew update &amp;&amp; brew install phantomjs</pre>
**Alternative** installation using MacPorts:
<pre>sudo port selfupdate &amp;&amp; sudo port install phantomjs</pre>
## Linux
For 64-bit system, download [phantomjs-1.9.8-linux-x86_64.tar.bz2](https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-linux-x86_64.tar.bz2) (12.6 MB).
For 32-bit system, download [phantomjs-1.9.8-linux-i686.tar.bz2](https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-linux-i686.tar.bz2) (12.9 MB).
This package is built on CentOS 5.8. It should run successfully on Lucid or more modern systems (including other distributions). There is no requirement to install Qt, WebKit, or any other libraries. It is however expected that some base libraries necessary for rendering ([FreeType](http://www.freetype.org/), [Fontconfig](http://www.freedesktop.org/wiki/Software/fontconfig)) and the basic font files are available in the system.
To install the dependencies on Red Hat based systems:
<pre>sudo yum install fontconfig freetype libfreetype.so.6 libfontconfig.so.1 libstdc++.so.6</pre>
Alternatively (for Unix-like systems), install the distribution-specific package using the native package manager (`apt-get` for Ubuntu and Debian, `pacman` for Arch Linux, `pkg_add` for OpenBSD, etc). **Warning**: The distribution-specific package may not always be on the latest stable version.
For older systems, please compile PhantomJS from source (see below).
## Source Code
Download [phantomjs-1.9.8-source.zip](https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-source.zip) (39.1 MB) and follow the [build instructions]({{ site.url }}/build.html).
## Checksums
To verify the integrity of the downloaded files, use the following checksums.
### MD5 Checksums
814a438ca515c6f7b1b2259d0d5bc804 phantomjs-1.9.8-linux-i686.tar.bz2
4ea7aa79e45fbc487a63ef4788a18ef7 phantomjs-1.9.8-linux-x86_64.tar.bz2
fb850d56c033dd6e1142953904f62614 phantomjs-1.9.8-macosx.zip
f8163aef2230ebbda2d25a71a06ded7d phantomjs-1.9.8-source.zip
c5eed3aeb356ee597a457ab5b1bea870 phantomjs-1.9.8-windows.zip
### SHA-256 Checksums
4102450bb658157e9aef3e229828fade0aaa0de0663802b31a0edff4b5aedf85 phantomjs-1.9.8-linux-i686.tar.bz2
a1d9628118e270f26c4ddd1d7f3502a93b48ede334b8585d11c1c3ae7bc7163a phantomjs-1.9.8-linux-x86_64.tar.bz2
8f15043ae3031815dc5f884ea6ffa053d365491b1bc0dc3a0862d5ff1ac20a48 phantomjs-1.9.8-macosx.zip
37e53b2907bf37d2b6a43f08d38bb4a15596bba337822179e647efd60c2261bf phantomjs-1.9.8-source.zip
da36853ece7d58b6f50813d3e598d8a16bb191b467ac32e1624a239a49de9104 phantomjs-1.9.8-windows.zip