Step-by-step – PhantomJs Installation in Fedora 33

October 2, 2020 | By the+gnu+linux+evangelist.

Installing

  1. 2. Installing PIP

    How to Install PIP on Fedora GNU/Linux

    PIP Installation Guide
  2. 3. Installing Dependencies

    Then to Install PhantomJS Requirements:

    sudo yum install gcc gcc-c++ make flex bison gperf ruby /nopenssl-devel freetype-devel fontconfig-devel libicu-devel sqlite-devel 
    libpng-devel libjpeg-devel

    Again to Install PIP Packages:

    sudo pip install pyopenssl pyasn1 testresources

    And then also:

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

    Download PhantomJS for GNU/Linux

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

    Next to Extract and Setup PhantomJS
    All-in-one with:

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

    (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