Files
dotfiles/.scripts/install-deb.sh
T

59 lines
1.6 KiB
Bash
Executable File

#!/bin/bash
# Install script for ntnsndr's Deb environment
echo "Before running this, be sure Flatpak is installed: https://flatpak.org/setup/ If not ready, cancel with ctrl+c"
echo "Beginning install script for ntnsndr Deb environment"
# Initial utilities
sudo apt -y update && apt upgrade
sudo apt -y install git
sudo apt -y install xdg-open
sudo apt -y install nodejs
sudo apt -y install pipx
# nvim
sudo apt -y install neovim
~/.scripts/install-vim.sh
# pandoc
sudo apt -y install texlive
sudo apt -y install texlive-xetex
sudo apt -y install texlive-latex-extra
sudo apt -y install lmodern
echo "Download pandoc and install from dpkg:"
echo "https://github.com/jgm/pandoc/releases/latest"
read response
# revealjs
cd ~/.revealjs
rm -rf reveal.js/ # remove existing install
git clone https://github.com/hakimel/reveal.js.git
cd reveal.js
npm install
cp ~/.revealjs/ntn.css ~/.revealjs/reveal.js/dist/theme/
cd ~
echo "Check correct versions between reveal and pandoc: https://github.com/jgm/pandoc/wiki/Using-pandoc-to-produce-reveal.js-slides"
read response
# flatpaks
sudo flatpak install com.nextcloud.desktopclient.nextcloud
sudo flatpak install org.keepassxc.KeePassXC
sudo flatpak install org.zotero.Zotero
echo "Review notes in ~/Cloud/Config.md"
echo "Good?"
read response
# fonts
sudo cp ~/.fonts/dinreg.ttf /usr/share/fonts/
echo "Download fonts and put them in /usr/share/fonts/:"
echo "https://github.com/be5invis/Iosevka/releases/latest (home terminal)"
echo "Good?"
read response
# ai
echo "Run ~/.scripts/ai.sh to install local AI stuff"
echo "Installation script complete"