1
1
mirror of https://github.com/ariya/phantomjs.git synced 2024-09-11 12:55:33 +03:00
phantomjs/INSTALL

55 lines
976 B
Plaintext
Raw Normal View History

2019-11-30 09:29:15 +03:00
Installation Instructions
*************************
System requirements:
* C++ toolchain such as g++ 7 or later
* CMake version 3.5 or later
* Qt 5 toolkit
* Community QtWebKit version 5.212 or later
2019-11-30 09:29:15 +03:00
* Python 2.7 (to run the tests)
Installation on Linux
---------------------
Due to the required QtWebKit >= 5.212, only the following distributions will
be supported:
* Debian 10 (buster) or later
* Ubuntu 18.04 (bionic) or later
* Fedora 28 or later
2019-11-30 09:29:15 +03:00
On Debian/Ubuntu, the requirements can be fulfilled by installing these packages:
sudo apt install g++ cmake qt5-default libqt5webkit5-dev python
After unpacking the source tarball or cloning the repository:
./configure && make
Do a quick sanity check:
./bin/phantomjs --version
Run the test suite:
make check
Install it (may require sudo):
make install
Installation on Windows
-----------------------
To be written.
Installation on macOS
---------------------
To be written.