From 776da99583f3efa548ebd487631933a45eb1b8a1 Mon Sep 17 00:00:00 2001 From: Nathan Schneider Date: Wed, 7 Jan 2026 12:43:48 -0700 Subject: [PATCH] Added Fedora install script --- .scripts/install-fed.sh | 51 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100755 .scripts/install-fed.sh diff --git a/.scripts/install-fed.sh b/.scripts/install-fed.sh new file mode 100755 index 0000000..602836b --- /dev/null +++ b/.scripts/install-fed.sh @@ -0,0 +1,51 @@ +#!/bin/bash +# Install script for ntnsndr's Fedora 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 Fedora environment" + +# Ensure .bash_aliases works, not default on Fedora +cat > ~/.bashrc << EOF +if [ -f ~/.bash_aliases ]; then + source ~/.bash_aliases + fi +EOF + +# Initial utilities +sudo dnf -y update && dnf upgrade +sudo dnf -y install git +sudo dnf -y install xdg-open +sudo dnf -y install nodejs + +# nvim +sudo dnf -y install neovim +~/.scripts/install-vim.sh + +# pandoc +sudo dnf -y install texlive +sudo dnf -y install texlive-xetex +sudo dnf -y install texlive-latex-extra +sudo dnf -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 remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo +sudo flatpak install com.nextcloud.desktopclient.nextcloud +sudo flatpak install org.keepassxc.KeePassXC +sudo flatpak install org.zotero.Zotero + +echo "Installation script complete"