How to Install PhantomJS on CentOS 8.x/Stream-8 Easy Guide

September 28, 2019 | By the+gnu+linux+evangelist.

Installing

  1. 3. Installing PIP

    How to Install PIP on CentOS

    PIP Installation Guide
  2. 4. Installing Pip Packages

    Again to Install PIP Packages:

    sudo pip install pyopenssl pyasn1 testresources

    And then also:

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

    Download PhantomJS for GNU/Linux

    PhantomJS tar.bz2 GNU/Linux
  4. 6. Installing PhantomJS

    Next to Extract and Setup PhantomJS
    In one Command:

    sudo tar -xjvf ~/downloads/phantomjs --strip-components 1 /opt/phantomjs/

    (Optional) This to Run it Shorter on Shell:

    sudo ln -s /opt/phantomjs/bin/phantomjs /usr/local/bin/phantomjs

Contents


QuickChic Theme • Powered by WordPress