2019-09-30 13:44:02 +02:00
|
|
|
#!/bin/bash
|
|
|
|
echo "--------------------------------------------"
|
|
|
|
echo "Customized Pacman Core Software"
|
|
|
|
echo "--------------------------------------------"
|
|
|
|
echo ""
|
|
|
|
echo "Synchronising packages..."
|
|
|
|
echo "Synchronizing programing languages..."
|
|
|
|
sudo pacman --needed -S jdk11-openjdk python php
|
|
|
|
echo "Synchronizing administration tools..."
|
|
|
|
sudo pacman --needed -S htop tree git base-devel yay make gcc cmake
|
2019-09-30 16:13:26 +02:00
|
|
|
ssh_key_path="$HOME/.ssh/id_rsa"
|
|
|
|
if [ ! -f "$ssh_key_path" ]; then
|
|
|
|
echo "SSH key $ssh_key_path doesn't exists!"
|
|
|
|
if [ ! -f "./data$ssh_key_path" ]; then
|
|
|
|
echo "Importing ssh key from data..."
|
|
|
|
bash ./scripts/export-data-to-system.sh
|
|
|
|
else
|
|
|
|
echo "Generating ssh key"
|
|
|
|
ssh-keygen -t rsa -b 4096 -C "$USER@$HOSTNAME"
|
|
|
|
fi
|
|
|
|
fi
|
2019-09-30 14:47:48 +02:00
|
|
|
echo "Synchronizing gui tools..."
|
|
|
|
sudo pacman --needed -S gnome-shell-extensions
|
|
|
|
echo "Install NASA picture of the day GNOME extension..."
|
|
|
|
git clone https://github.com/Elinvention/gnome-shell-extension-nasa-apod.git $HOME/.local/share/gnome-shell/extensions/nasa_apod@elinvention.ovh
|
|
|
|
gnome-shell-extension-tool -e nasa_apod@elinvention.ovh
|
2019-09-30 13:44:02 +02:00
|
|
|
echo "Synchronizing office tools..."
|
|
|
|
sudo pacman --needed -S chromium gimp
|
|
|
|
echo "Synchronizing communication tools..."
|
|
|
|
yay pacman --needed -S slack-desktop skypeforlinux-stable-bin
|
|
|
|
echo "Synchronizing development tools..."
|
|
|
|
echo "Synchronizing visualization tools..."
|
|
|
|
sudo pacman --needed -S dia
|
|
|
|
echo "Synchronizing IDE's..."
|
|
|
|
sudo pacman --needed -S eclipse-java dia atom
|
|
|
|
echo "Installing atom packages..."
|
|
|
|
apm install -c \
|
|
|
|
atom-ide-ui\
|
|
|
|
ide-bash\
|
|
|
|
ide-python\
|
|
|
|
ide-c-cpp\
|
|
|
|
ide-java\
|
|
|
|
ide-yaml\
|
|
|
|
atom-autocomplete-php\
|
|
|
|
es6-snippets\
|
|
|
|
javascript-snippets\
|
|
|
|
emmet\
|
|
|
|
git-blame\
|
|
|
|
git-plus\
|
|
|
|
script\
|
|
|
|
ask-stack\
|
|
|
|
atom-beautify\
|
|
|
|
highlight-selected\
|
|
|
|
autocomplete-paths\
|
|
|
|
todo-show\
|
|
|
|
docblockr\
|
|
|
|
npm i -g bash-language-server #Needed by atom-package ide-bash
|
|
|
|
echo "Synchronizing containerization tools..."
|
|
|
|
sudo pacman --needed -S docker
|
|
|
|
echo "Synchronizing orchestration tools..."
|
|
|
|
sudo pacman --needed -S ansible
|
|
|
|
echo "Add current user($USER) to user group docker..."
|
2019-09-30 14:47:48 +02:00
|
|
|
sudo usermod -a -G docker $USER
|
|
|
|
echo "Enable docker service..."
|
|
|
|
sudo systemctl enable docker --now
|
2019-09-30 13:44:02 +02:00
|
|
|
echo "Synchronizing games..."
|
|
|
|
sudo pacman --needed -S 0ad warzone2100
|
2019-09-30 14:47:48 +02:00
|
|
|
yay -S emulationstation
|
2019-09-30 13:44:02 +02:00
|
|
|
echo "More game recomendations you will find here: https://wiki.archlinux.org/index.php/List_of_games..."
|
|
|
|
echo "More software recomendations you will find here: https://wiki.archlinux.org/index.php/list_of_applications"
|