#!/ bin/bash # PDF applications INSTALLER script to install the following applications on Debian based Linux systems. # The following applications will be installed by running this script as sudo: # # PDFsam # LibreOffice Draw (should already be on system) # PDF Mix Tool # Okular # Scribus # Xournal++ # PDF4QT # You can follow the pattern in this script to add or remove other PDF programs to suit your needs. # # 0--------------------------------------------------0 # 0---------~~~~ by GrapheneGoat.com ~~~~------------0 # 0--------------------------------------------------0 # cd ~ clear sleep 1 echo "" echo "-------------------" echo "-- PDF Installer --" echo "-------------------" sleep 1 echo "Beginning..." echo "" sleep 1 sudo apt update && sudo apt upgrade -y echo "system is updated" sleep 1 echo "" flatpak update && flatpak upgrade -y echo "" echo "Flatpak updated..." echo "" sleep 1 # Installs PDFsam sudo wget https://github.com/torakiki/pdfsam/releases/download/v5.2.0/pdfsam_5.2.0-1_amd64.deb sudo dpkg -i pdfsam_5.2.0-1_amd64.deb sleep 0.5 echo "" echo "PDFsam Installed!" echo "" # Installs PDF Mix Tool flatpak install flathub eu.scarpetta.PDFMixTool -y sleep 0.5 echo "" echo "PDF Mix Tool installed!" echo "" sleep 0.7 # Install PDF Arranger flatpak install flathub com.github.jeromerobert.pdfarranger sleep 0.5 echo "" echo " PDF Arranger Instlaled!" echo "" sleep 0.7 # Installs Xournal ++ flatpak install flathub com.github.xournalpp.xournalpp -y sleep 0.5 echo "" echo "Xournal ++ installed!" echo "" sleep 0.7 # Install Okular flatpak install flathub org.kde.okular -y sleep 0.5 echo "" echo "Okular installed!" echo "" sleep 0.7 # Install Scribus flatpak install flathub net.scribus.Scribus -y sleep 0.5 echo "" echo "Scribus installed!" echo "" sleep 0.7 # Install PDF4QT flatpak install flathub io.github.JakubMelka.Pdf4qt -y sleep 0.5 echo "" echo "PDF4QT Installed!" echo "" # Checks LibreOffice Version libreoffice --version sleep 2 echo "Install script has finished, open Applications to view and open the following installed applications:" echo "" echo "PDFsam" echo "PDF Mix Tool" echo "Xournal ++" echo "Okular" echo "Scribus" echo "PDF4QT" echo "LibreOffice Draw version:" libreoffice --version sleep 5 echo "Exiting..." sleep 1.5 clear exit