Added Fedora install script
This commit is contained in:
Executable
+51
@@ -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"
|
||||
Reference in New Issue
Block a user