MRTestRepo/pephooks/normal/0540-webinst.hook.chroot

48 lines
1.3 KiB
Bash
Executable File

#!/bin/bash
#install pip
apt install python3-pip --yes
#git is needed for the got repos
apt install git --yes
#this is the pywebview to open webpages with python it requires Qt
pip3 install PyQt5
pip3 install PyQtWebengine
#Make sure sip installed - Debain will insta 12.8
pip3 install PyQt5-sip
#Then upgrade it to 12.9
pip3 install PyQt5-sip -U
#install pygit to use git in python
pip3 install GitPython
#this library helps with single instances of a gui
pip3 install tendo
#this will install the python-crontab library
pip3 install python-crontab
#this will install the tkinter boostrap libary for styling
pip3 install ttkbootstrap
#Install the favicon library
pip3 install favicon
#install the beautifulsoup (BS4) libary
pip3 install bs4
#this section will install hblock - this is a local ad-blocker utility
#https://github.com/hectorm/hblock
# This does not enable it. The user has the choice to turn it on
# by enabling it in PepHub or by typing 'hblock -S builtin' in terminal
curl -o /tmp/hblock 'https://raw.githubusercontent.com/hectorm/hblock/v3.2.3/hblock' \
&& echo 'ccc772a0b49a891faf0980f1b95acdc10b248cbb51c8c2172d022f70395d6ad1 /tmp/hblock' | shasum -c \
&& mv /tmp/hblock /usr/local/bin/hblock \
&& chown 0:0 /usr/local/bin/hblock \
&& chmod 755 /usr/local/bin/hblock