more setup

This commit is contained in:
ITmail-dk
2022-01-04 19:03:13 +01:00
parent 98996f6387
commit 1ab7d47da2
5 changed files with 11 additions and 9 deletions

View File

@@ -0,0 +1,62 @@
#!/bin/bash
#APT UPDATE & APT UPGRADE
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
echo " "
echo " APT + Alacritty - Building and installing"
echo " Enter your user password, to continue."
echo " "
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
sudo apt update && sudo apt upgrade -y
sudo apt install -y cmake cargo pkg-config libfreetype6-dev libfontconfig1-dev libxcb-xfixes0-dev libxkbcommon-dev python3
echo "-'-'-'-'-'-'-'-'-'-'-'-'-"
echo " "
echo " Create folders."
echo " "
echo "-'-'-'-'-'-'-'-'-'-'-'-'-"
mkdir ~/.config/alacritty
mkdir ~/make
echo "-'-'-'-'-'-'-'-'-'-'-'-'-"
echo " "
echo " GIT Download."
echo " "
echo "-'-'-'-'-'-'-'-'-'-'-'-'-"
cd ~/make/
git clone https://github.com/alacritty/alacritty.git
mv alacritty ~/make/
cd ~/make/alacritty
echo "-'-'-'-'-'-'-'-'-'-'-'-"
echo " "
echo " Building."
echo " "
echo "-'-'-'-'-'-'-'-'-'-'-'-"
cargo build --release
echo "-'-'-'-'-'-'-'-'-'-'-'-"
echo " "
echo " Buil DONE."
echo " "
echo "-'-'-'-'-'-'-'-'-'-'-'-"
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-"
echo " "
echo " Add Desktop Entry."
echo " "
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-"
sudo cp target/release/alacritty /usr/local/bin
sudo cp extra/logo/alacritty-term.svg /usr/share/pixmaps/Alacritty.svg
sudo desktop-file-install extra/linux/Alacritty.desktop
sudo update-desktop-database
read -p "Alacritty Install - ALL DONE - Press a key to Exit"

View File

@@ -0,0 +1,29 @@
#!/bin/bash
# APT UPDATE & APT UPGRADE
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
echo " "
echo " Hugo Extended v0.91.2 - Install"
echo " Before we Install we run an update..."
echo " "
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
sudo apt update && sudo apt upgrade -y
# Install Hugo Extended v0.91.2
cd /tmp/
wget https://github.com/gohugoio/hugo/releases/download/v0.91.2/hugo_extended_0.91.2_Linux-64bit.deb
echo "Enter your user password, to continue."
sudo apt install -y /tmp/hugo_extended_0.91.2_Linux-64bit.deb
clear
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
echo " "
echo " Hugo Extended v0.91.2 Install - ALL DONE"
echo " "
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
echo " "
read -p "Press a key to Exit"

View File

@@ -0,0 +1,29 @@
#!/bin/bash
# APT UPDATE & APT UPGRADE
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
echo " "
echo " APT UPDATE & APT UPGRADE + install ZSH Shell"
echo " Enter your user password, to continue."
echo " "
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
sudo apt update && sudo apt upgrade -y
# Install ZSH Shell
# Debian install zsh shell.:
sudo apt install -y zsh && zsh --version
# Make it your default shell:
sudo chsh -s $(which zsh)
# Test that it worked with.:
echo $SHELL
# Test with...
$SHELL --version
read -p "ZSH Shell Install - ALL DONE - Press a key to Exit"