-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall
executable file
·76 lines (61 loc) · 2.38 KB
/
install
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#!/usr/bin/env bash
set -e
CONFIG="install.conf.yaml"
DOTBOT_DIR="dotbot"
DOTBOT_BIN="bin/dotbot"
BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "${BASEDIR}"
git -C "${DOTBOT_DIR}" submodule sync --quiet --recursive
git submodule update --init --recursive "${DOTBOT_DIR}"
sudo apt -y install \
apt-transport-https \
ca-certificates \
software-properties-common \
make \
curl \
inkscape \
libgtk-3-dev \
autoconf \
zsh \
tmux \
curl \
composer \
htop \
fonts-powerline \
gtk2-engines-murrine \
moka-icon-theme \
faba-icon-theme \
gnupg-agent \
screenfetch \
cmatrix
# arc flatabulous theme
wget http://launchpadlibrarian.net/365856925/multiarch-support_2.27-3ubuntu1_amd64.deb \
&& wget http://launchpadlibrarian.net/353281752/libsass0_3.4.8-1_amd64.deb \
&& wget http://launchpadlibrarian.net/344203197/sassc_3.4.5-1_amd64.deb \
&& sudo dpkg -i multiarch-support_2.27-3ubuntu1_amd64.deb \
&& sudo dpkg -i libsass0_3.4.8-1_amd64.deb \
&& sudo dpkg -i sassc_3.4.5-1_amd64.deb
# oh-my-zsh
sudo rm -r ~/.oh-my-zsh \
&& sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" \
&& git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
# dotbot
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" "${@}"
# docker && docker compose
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88
sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io
sudo curl -L "https://github.com/docker/compose/releases/download/v2.4.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
# software
sudo snap install slack
sudo snap install phpstorm --classic
sudo sh -c 'echo "deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list'
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo apt-get update
rm multiarch-support_2.27-3ubuntu1_amd64.deb libsass0_3.4.8-1_amd64.deb sassc_3.4.5-1_amd64.deb