Hi, I already have downloaded the file “phantomjs-2.1.1-linux-x86_64.tar.bz2” and upon executing this command: “tar xvf phantomjs-2.1.1-linux-x86_64.tar.bz2” I get this: “tar: phantomjs-2.1.1-linux-x86_64.tar.bz2: cannot open: No such file or directory” When I do “ls”, this is what I see: conf mail phantomjs-2.1.1-linux-x86_64.tar.bz2 temp web
So, I have it downloaded but I’m not able to install it. As you can tell, I’m a newbie and appreciate any help.
Cheers!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi @fredj ,
Try this command:
tar -xvf phantomjs-2.1.1-linux-x86_64.tar.bz2
Maybe you executed the wrong command.Here is also one step you need to do to create soft links:
#move the files to a place you like
sudo mv phantomjs-2.1.1-linux-x86_64 /usr/local/src/phantomjs
#create soft links
sudo ln -sf /usr/local/src/phantomjs/bin/phantomjs /usr/local/bin/phantomjs
This way you can use the phantomjs command directly in the shell. Then we check:
phantomjs
If you can see version number,this program is working.
Regards, Shiroka
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.