-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinitial_packages
executable file
·57 lines (40 loc) · 1.96 KB
/
initial_packages
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#!/bin/bash
SUDO=''
if (( $EUID != 0 )); then
SUDO='sudo'
fi
$SUDO apt update
$SUDO apt-get install -y git vim thefuck xdotool neofetch tmux hub curl gnupg2 apt-transport-https ca-certificates \
software-properties-common libatomic1 libgconf-2-4 libgdk-pixbuf2.0-0 libgl1-mesa-glx libegl1-mesa \
libxcb-xtest0 libxcb-xinerama0 htop libheif-examples
cd ~/ || return
[ -d ~/workspace/ ] || mkdir workspace
cd workspace || return
git clone https://github.com/Koziolek/git-configuration.git
ln -s ~/workspace/git-configuration .git-configuration
git clone https://github.com/asdf-vm/asdf.git
cd asdf || return
git tag -l --sort=committerdate| tail -1 | xargs git checkout -d
cd ~/ || return
ln -s ~/workspace/asdf .asdf
curl -s "https://get.sdkman.io" | bash
source "$HOME/.sdkman/bin/sdkman-init.sh"
sdk i java
sdk i maven
sdk i mvnd
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | $SUDO gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | $SUDO tee /etc/apt/sources.list.d/docker.list > /dev/null
echo "deb http://packages.azlux.fr/debian/ buster main" | $SUDO tee /etc/apt/sources.list.d/azlux.list
wget -qO - https://azlux.fr/repo.gpg.key | $SUDO apt-key add -
$SUDO apt update
apt-cache policy docker-ce
$SUDO apt-get install -y docker-ce docker-compose docker-ctop
$SUDO snap install spotify
cd ~/Pobrane/ || return
wget https://downloads.1password.com/linux/debian/amd64/stable/1password-latest.deb
wget https://cdn.zoom.us/prod/5.10.7.3311/zoom_amd64.deb
wget https://repo.steampowered.com/steam/archive/precise/steam_latest.deb
$SUDO apt-get install ./1password-latest.deb ./zoom_amd64.deb ./steam_latest.deb
cd ~/ || return
ln -s /home/koziolek/workspace/git-configuration/bash/bash_alias .bash_aliases
echo '. /home/koziolek/workspace/git-configuration/bash/bash_rc' >> ~/.bashrc