2022-07-19 18:52:03 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2023-01-19 11:05:14 -01:00
|
|
|
#git is needed for the git repos
|
2022-07-19 18:52:03 +00:00
|
|
|
apt install git --yes
|
|
|
|
|
2023-01-19 11:05:14 -01:00
|
|
|
#install pip3, needed for additional python modules
|
|
|
|
apt install --yes python3-pip
|
|
|
|
#install the PyQt5-QtSql for PepScope
|
|
|
|
apt install --yes python3-pyqt5.qtsql
|
|
|
|
|
2022-07-19 18:52:03 +00:00
|
|
|
#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
|
2023-01-19 11:05:14 -01:00
|
|
|
#install pygit to use git in python
|
2022-07-19 18:52:03 +00:00
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-01-19 11:05:14 -01:00
|
|
|
# This will install hblock - a local ad-blocker utility
|
|
|
|
# https://github.com/hectorm/hblock
|
2022-07-19 18:52:03 +00:00
|
|
|
# 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
|
2023-01-19 11:05:14 -01:00
|
|
|
curl https://raw.githubusercontent.com/hectorm/hblock/master/hblock --output /tmp/hblock &&
|
|
|
|
#[ "$(sha256sum /tmp/hblock)" == "4031d86cd04fd7c6cb1b7e9acb1ffdbe9a3f84f693bfb287c68e1f1fa2c14c3b" ] &&
|
|
|
|
mv /tmp/hblock /usr/local/bin/hblock &&
|
|
|
|
chown 0:0 /usr/local/bin/hblock &&
|
|
|
|
chmod 755 /usr/local/bin/hblock &&
|
|
|
|
echo " hblock: installed" ||
|
|
|
|
echo " hblock: failed to install"
|
2022-07-19 18:52:03 +00:00
|
|
|
|
|
|
|
|
|
|
|
|