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

50 lines
2.8 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 [Google Code Project Hosting](http://code.google.com/p/phantomjs/downloads/).
## Windows
Download [phantomjs-1.9.2-windows.zip](https://phantomjs.googlecode.com/files/phantomjs-1.9.2-windows.zip) (6.8 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.2-macosx.zip](https://phantomjs.googlecode.com/files/phantomjs-1.9.2-macosx.zip) (9.1 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>
**Warning**: MacPorts does not have updated PhantomJS build yet. Installing via MacPorts is not recommended.
## Linux
For 64-bit system, download [phantomjs-1.9.2-linux-x86_64.tar.bz2](https://phantomjs.googlecode.com/files/phantomjs-1.9.2-linux-x86_64.tar.bz2) (12.7 MB).
For 32-bit system, download [phantomjs-1.9.2-linux-i686.tar.bz2](https://phantomjs.googlecode.com/files/phantomjs-1.9.2-linux-i686.tar.bz2) (13.0 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.
Alternatively, install the distribution-specific package using the native package manager (`apt-get` for Ubuntu and Debian, `pacman` for Arch Linux, 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.2-source.zip](https://phantomjs.googlecode.com/files/phantomjs-1.9.2-source.zip) (39 MB) and follow the [build instructions]({{ site.url }}/build.html).