This is Python v2 and it’s available as a module. Don’t bother playing with the source repositories.
Slackware142 & slackonly
slackpkg install python-requests salckpkg install python-certifi python-chardet python-urllib3 idna
Ubuntu focal + pip2
add-apt-repository universe apt update apt install python2 python2-dev curl https://bootstrap.pypa.io/get-pip.py --output get-pip.py python2 get-pip.py
NetBSD
pkg_add -u python27 pkg_add py27-pip ln -s pip2.7 /usr/pkg/bin/pip
Slackware142 & slackonly
slackpkg install linkchecker
Ubuntu or NetBSD
pip install LinkChecker linkchecker -h
linkchecker https://nethence.com/ linkchecker https://pub.nethence.com/
#less doc/install.txt #pip install -r requirements.txt
https://wummel.github.io/linkchecker/
https://github.com/wummel/linkchecker
How to check the first character in a string in Bash or UNIX shell? https://stackoverflow.com/questions/18488270/how-to-check-the-first-character-in-a-string-in-unix
How To Find Broken Links on Your Website Using Wget on Debian 7 https://www.digitalocean.com/community/tutorials/how-to-find-broken-links-on-your-website-using-wget-on-debian-7
https://wummel.github.io/linkchecker/other.html