Skip to content

Instantly share code, notes, and snippets.

@andru255
Last active December 1, 2021 00:39
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andru255/7295850 to your computer and use it in GitHub Desktop.
Save andru255/7295850 to your computer and use it in GitHub Desktop.
Install phantomJS and SlimerJS into linux debian 64 bits
PhantomJS (has the engine webkit)
download from the page http://phantomjs.org/download.html
and then in terminal
$ cd /usr/local/share/
$ sudo wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-linux-x86_64.tar.bz2
$ sudo tar jxvf phantomjs-1.9.8-linux-x86_64.tar.bz2
$ sudo ln -s /usr/local/share/phantomjs-1.9.8-linux-x86_64/ /usr/local/share/phantomjs
$ sudo ln -s /usr/local/share/phantomjs/bin/phantomjs /usr/local/bin/phantomjs
finally test writing in console:
phantomjs -v
must showing the number of version
SlimerJS (has the engine spiderMonkey)
Install slimerjs and create
download from page http://slimerjs.org/download.html for debian
following the initial requeriments in http://docs.slimerjs.org/current/installation.html
install dependences
$ sudo apt-get install libc6 libstdc++6 libgcc1 xvfb
export the global variable modifing the .bashrc or .zshrc
export SLIMERJSLAUNCHER=/usr/bin/firefox
Note: mi package of download is slimerjs-0.8.4-linux-x86_64.tar.bz2 and it's in ~/downloads
~/downloads $ sudo cp slimerjs-0.8.4-linux-x86_64.tar.bz2 /usr/local/share
unzipping
/usr/local/share $ sudo tar jxvf slimerjs-0.8.4-linux-x86_64.tar.bz2
create the launcher
/usr/local/share $ sudo ln -s /usr/local/share/slimerjs-0.8.4/slimerjs /usr/local/bin/slimerjs
finally test writing in console:
slimerjs -v
must showing
Innophi SlimerJS 0.8.4, Copyright 2012-2013 Laurent Jouanneau & Innophi
For iexplorer (trident) is
https://github.com/sdesalas/trifleJS
For integration with PhantomJS and SlimerJS
http://casperjs.org/
@MostafaBalata
Copy link

Thank you

@xaiborweb
Copy link

Please install phantomjs and slimerjs in centos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment