Additions to install script

master
Nathan Steel 5 years ago
parent d0949f2bcf
commit f2f7b3c168

@ -19,7 +19,7 @@ apt install cmus newsboat youtube-dl mpv scrot -y
# Image viewer, PDF Reader (GUI) # Image viewer, PDF Reader (GUI)
apt install feh zathura -y apt install feh zathura -y
# Hewwo # Xanmod Kernel
echo 'deb http://deb.xanmod.org releases main' | sudo tee /etc/apt/sources.list.d/xanmod-kernel.list && wget -qO - https://dl.xanmod.org/gpg.key | sudo apt-key add - echo 'deb http://deb.xanmod.org releases main' | sudo tee /etc/apt/sources.list.d/xanmod-kernel.list && wget -qO - https://dl.xanmod.org/gpg.key | sudo apt-key add -
apt update && apt install linux-xanmod -y apt update && apt install linux-xanmod -y
@ -39,12 +39,18 @@ apt install gtypist -y
apt install transmission-daemon transmission-cli transmission-remote-cli -y apt install transmission-daemon transmission-cli transmission-remote-cli -y
#systemctl stop transmission-daemon.service #systemctl stop transmission-daemon.service
#/lib/systemd/system/tranmission-daemon.service # Change username to user #/lib/systemd/system/tranmission-daemon.service # Change debian-transmission to $USER
# systemctl daemon-reload # systemctl daemon-reload
# start service # start/restart service
# Setup the user for transmission-daemon # Setup the user for transmission-daemon
# Virtualisation
apt install qemu-kvm libvirt-clients libvirt-daemon-system virt-manager
# Add to virtualisation groups
adduser nathan libvirt
adduser nathan libvirt-qemu
# brave-browser # brave-browser
# https://brave-browser.readthedocs.io/en/latest/installing-brave.html#linux # https://brave-browser.readthedocs.io/en/latest/installing-brave.html#linux
# Can be built from source, but takes a long while # Can be built from source, but takes a long while
@ -60,12 +66,27 @@ apt install libx11-dev libxft-dev libxinerama-dev -y
# User # User
su nathan su nathan
# dwm Window manager # Create directories
mkdir ~/git # Need to modularise the if [ -d ] then add these with it
cd ~/git mkdir ~/downloads/ ~/pictures/ ~/video/ ~/recordings/ ~/documents/ ~/music/
git clone https://git.suckless.org/dwm #mkdir /mnt/usb/ /mnt/hdd/ /mnt/network/
cd dwm
make clean install
# Oh my Zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# Set location to download source code and other repos
if [! -d "~/agit/" ]; then
mkdir ~/agit/
fi
# Suckless installs
# Not sure how to do the intsall without sudo prompt...
# dwm
cd ~/agit/
git clone https://git.suckless.org/dwm ~/agit/adwm
cd ~/agit/adwm/
#sudo make clean install
# st terminal # st terminal
@ -76,16 +97,35 @@ make clean install
# Setup the bin directory for custom scripts # Setup the bin directory for custom scripts
mkdir ~/.local/bin mkdir ~/.local/bin
# Vi mode terminal and local bin # Vi mode terminal and local bin # This also happens in dotfiles, so kinda redundant
echo "set -o vi\nexport PATH=~/.local/bin:\$PATH" >> .zshrc echo "set -o vi\nexport PATH=~/.local/bin:\$PATH" >> .zshrc
echo "export PATH=~/.local/bin/*:\$PATH" >> .zshrc echo "export PATH=~/.local/bin/*:\$PATH" >> .zshrc
# Add to path for this session # Add to path for this session
export PATH=~/.local/bin:$PATH export PATH=~/.local/bin/:$PATH
export PATH=~/.local/bin/*:$PATH export PATH=~/.local/bin/*:$PATH
# Muh scripties
cd ~/agit/
git clone https://github.com/aney/scripts ~/agit/ascripts/
cd ~/agit/ascripts/
# create a sym link. Will change to cp if others start using my install.sh
ln -s $(pwd)/dmenu/ ~/.local/bin/
ln -s $(pwd)/config/ ~/.local/bin/
ln -s $(pwd)/backup/ ~/.local/bin/
# lf file manager # lf file manager
# Download a pre-built binary # Download a pre-built binary
curl -L https://github.com/gokcehan/lf/releases/latest/download/lf-linux-amd64.tar.gz | tar xzC ~/.local/bin curl -L https://github.com/gokcehan/lf/releases/latest/download/lf-linux-amd64.tar.gz | tar xzC ~/.local/bin
# Change default shell to zsh # Change default shell to zsh
chsh -s /bin/zsh chsh -s /bin/zsh
# dotfiles
# This will overwrite existing dotfiles...
cd ~/agit/
git clone https://github.com/aney/dotfiles ~/agit/adotfiles/
cd ~/agit/adotfiles/
cp -r * ~/.
# Extras. Bg image, icons, etc.

Loading…
Cancel
Save