Monday, August 15, 2016


Install Linckecker

# wget --no-check-certificate

Got 2 way to install

  • Manual installation where you download the source and initiate install yourself
  • Auto install Linckecker by using pip

Manual Installation
For Centos/RHEL 6 -> enable Software Collection to install Python 2.7
For Centos/RHEL 7 -> just use yum install python

Enable Software collection
RHEL -> # subscription-manager repos --enable rhel-server-rhscl-6-rpms
Centos -> # yum install centos-release-scl

Then install python27
# yum install python27
You need to enable it in order to use
# scl enable python27 bash

Install the remain package needed to run
# yum install gcc python-requests qt-devel

On How to install, you can read the doc at LinkChecker-9.3/doc/install.txt

# make -C doc/html
# python sdist --manifest-only
# python build

# python install

You can test run by using this command
# linkchecker -Fcsv//tmp/google.csv

If you encounter this error “This program requires Python requests 2.2.0 or later” when you test run.
Downgrade the request version as Linkcheck 9.3 having bug with request ver 10
Downgrade using pip

# yum install python27-python-pip
# pip install requests==2.9.2

Auto Installation

# yum install gcc qt-devel

Enable software collection if you using Centos/RHEL 6 and install python27 & python27-python-pip
# yum install python27-python-pip python27

Then install Linkchecker using pip
# scl enable python27 bash
# pip install LinkChecker

No comments:

Post a Comment