How to Install PhantomJS on RedHat Linux 7 Easy Guide

July 15, 2018 | By thelinuxevangelist | Filed in: Tutorial.

PhantomJS RedHat Linux 7 Installation Guide

You Are Welcome! The Tutorial Shows You Step-by-Step How to Install PhantomJS Headless Browser in RedHat Linux 7 32/64-bit GNU/Linux.

And PhantomJS for RedHat Linux 7 is a headless web browser scriptable with JavaScript API.

Finally, Using QtWebKit as the back-end, it offers fast and native support for various web standards: DOM handling, CSS selector, JSON, Canvas, and SVG.

How to Install PhantomJS on RedHat Linux 7 - Featured
  1. 1. Launching Shell Session

    Open a Terminal window
    (Press “Enter” to Execute Commands)

    How to Install PhantomJS on RedHat Linux 7 - Open Terminal Shell Emulator
  2. 2. Installing Dependencies

    Then to Install PhantomJS Requirements:

    sudo yum install gcc gcc-c++ make flex bison gperf ruby \
    openssl-devel freetype-devel fontconfig-devel libicu-devel sqlite-devel \
    libpng-devel libjpeg-devel
  3. 3. Installing PIP

    How to Install PIP on RedHat Linux:

    PIP Installation Guide
  4. 4. Installing Pip Packages

    Again to Install PIP Packages:

    sudo pip install pyopenssl pyasn1 testresources

    And then also:

    sudo pip install requests[security]
  5. 5. Downloading PhantomJS

    Download PhantomJS for GNU/Linux:

    PhantomJS tar.bz2 Linux 32/64-bit
  6. 6. Installing PhantomJS

    Next to Extract and Setup PhantomJS:

    sudo tar -xjvf ~/downloads/phantomjs --strip-components 1 /opt/phantomjs/
  7. 7. Making a SymLink

    (Optional) This to Run it Shorter on Shell:

    sudo ln -s /opt/phantomjs/bin/phantomjs /usr/local/bin/phantomjs
  8. 8. PhantomJS Getting-Started Guide

    Getting-Started with PhantomJS for RedHat Linux 7 GNU/Linux

    PhantomJS Quick-Start on RedHat Linux 7
  9. So Now I’m truly Happy if My Guide could Help You to Install PhantomJS on RedHat Linux 7!

Tags: , , , , , , , , , , , , ,