Active2 years, 7 months ago
Oct 25, 2014 Scriptable Headless Browser. Contribute to ariya/phantomjs development by creating an account on GitHub. How to install PhantomJS on Ubuntu. Version: 1.9.8. Platform: x8664. First, install or update to the latest system software. Sudo apt-get update sudo apt-get install build-essential chrpath libssl-dev libxft-dev Install these packages needed by PhantomJS to work correctly. PhantomJS 1.9.8 PhantomJS is a headless WebKit scriptable with a JavaScript API. It has fast and native support for various web standards: DOM handling, CSS selector, JSON, Canvas, and SVG. Phantomjs-1.9.8-windows.zip (da36853ece7d) - ## / 56 - Log in or click on link to see number of positives In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives.
I cant reinstall phantomjs 1.9.8 to 2.1.1 version on my ubuntu 16.04Please help. 1.9.8 give me an errors when I write a spin functions, in documentation see that this ploblem I can solve with reinstalation.
How to install PhantomJS on Ubuntu. Version: 1.9.8. Platform: x8664. First, install or update to the latest system software. Sudo apt-get update sudo apt-get install build-essential chrpath libssl-dev libxft-dev Install these packages needed by PhantomJS to work correctly. PhantomJS 1.9 Release Notes. PhantomJS 1.9, Sakura, was released on March 20, 2013. It came with an updated GhostDriver, an improved resource loading control, as well as other incremental improvements. Note: PhantomJS 1.9 is the last release in the 1.x series.
Andrzej MorozAndrzej Moroz18711 gold badge33 silver badges1616 bronze badges
5 Answers
I just installed phantomjs 2.1.1 in ubuntu 16.04 with the following steps, which I found after a bit of googling :
dmdipdmdip
So, jmunsch's answer works for me, but just to provide a clear and minimal recipe:
The last line requires sudo because of /usr/bin, but you can put the symlink anywhere..
Fredrik BränströmFredrik Bränström
Here is how I would do it if I were developing. The packages are versioned to nodejs and not ubuntu:
Use
nvm
: https://github.com/creationix/nvmPerhaps we are developing on
0.10, 0.12, 4.X, iojs4.x, 6.X, etc
well now we have access to choose whichever version of phantomjs:Here is how using the tarball
Tested on ubuntu 14.04, perhaps moving the folder to another place other than
./
wget may or may not work see: https://github.com/Medium/phantomjs/issues/161
phantomjs: error while loading shared libraries: libfontconfig.so.1: cannot open shared object file: No such file or directory
Try:
jmunschjmunsch10.4k55 gold badges5858 silver badges7070 bronze badges
For those who have problems to install like me
it is more easy than you think..
- I uninstall phantomjs: Remove phantomjs from ubuntu
sudo apt-get remove phantomjs
or remove npm folder of/node_modules/phantomjs
it will be in/
, maybe you will need to removeln
the link of phantomjs in/usr/bin
or/usr/local/bin/
the name of it isphantomjs
Example
- install phantomjs from npm:
npm install phantomjs
from/
directory, npm install it in folder/node_module/phantomjs
Example
- Test bin file
Example
- link file bin to
/usr/bin
:
Example
ln -sf /node_modules/phantomjs/bin/phantomjs /usr/bin/phantomjs
- check version of it to see if it's ok
phantomjs -v
in my case2.1.1
2,43111 gold badge2626 silver badges3333 bronze badges
phantomjs 2.1.1 is now currently bundled with 16.04 (https://launchpad.net/ubuntu/xenial/+source/phantomjs), so you should be able to install/upgrade it as a system package.
Update: This answer exists for informative purposes, but it is not recommended to use the system package version now due to issues such as: https://bugs.launchpad.net/ubuntu/+source/phantomjs/+bug/1605628 This is related to an issue with file upload that was fixed upstream, but the nature of the fix prevented it from working as a system package.
Install Phantomjs On Windows
The best current option is use the prebuilt binary from: https://bitbucket.org/ariya/phantomjs/download
prusswanprusswan5,62033 gold badges2828 silver badges5252 bronze badges
Not the answer you're looking for? Browse other questions tagged ubuntuphantomjsupdatesreinstall or ask your own question.
There is a bug in PhantomJS on Mac OS X that doesn't render an HTML page as selectable text. It will be fixed in PhantomJS 2.0, so for now you'll have to apply a patch when installing with Homebrew.
First, update homebrew formulae:
If you already have PhantomJS installed, then remove it:
Our Acer eMachines E627-5279 memory upgrades are manufactured to Acer’s original specification to assure compatibility. All of our Acer eMachines E627-5279 memory upgrades are tested here in our test lab and backed by a lifetime warranty. Finding the correct memory upgrade for your Acer eMachines E627. Emachines e627 memory upgrade. RAM Upgrade Options for eMachines E627 Series Laptop Select memorysticks for your Laptop eMachines E627 Series. Buy E627 Series RAM with confidence, we provide lifetime warranty on all. Amazon.com: emachines memory upgrade. 2GB RAM Memory for EMachines E627 (DDR2-5300) - Laptop Memory Upgrade. FREE Shipping. 4GB KIT (2 x 2GB) EMachines E Notebook Series E440 E442 E525 (DDR3) E525-2632 E527 E528 E640 E642 E725 (DDR3) E727 E728 E732 SO-DIMM DDR3 Non-ECC PC3-8500 1066MHz RAM Memory. Crucial Memory and SSD upgrades - 100% Compatibility Guaranteed for eMachines E627 - FREE US Delivery. Crucial Memory and SSD upgrades - 100% Compatibility Guaranteed for eMachines E627 - FREE US Delivery. Free shipping on all orders. Compatible upgrades. Memory Upgrade for eMachines E627 Series Laptop, Upgrade E627 Series Memory with 100% compatible E627 Series eMachines Laptop Memory RAM modules from memorystock.com.
![Phantomjs 1.9.8 download windows 7 Phantomjs 1.9.8 download windows 7](/uploads/1/2/4/8/124878721/525782474.png)
$ brew uninstall phantomjsNext, the PhantomJS formula needs to be edited to apply a patch that fixes native text rendering in Mac OS X:
If, you previously had 2.0 installed, you'll need to rollback to 1.9.8:
![Yokogawa dcs pdf Yokogawa dcs pdf](/uploads/1/2/4/8/124878721/471363674.jpg)
Edit the Formula
Add these lines after any other patches blocks and before the def install method:
Finally, reinstall PhantomJS from source via homebrew and go do something else since your computer will be at 100% CPU for about 30 minutes: