-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
104 lines (77 loc) · 2.6 KB
/
Makefile
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
install: git curl wget phpstorm slack spotify thunderbird chrome zoom docker docker-compose zsh ohmyzsh hstr nextcloud dbeaver emote peek gitkraken tweaks signal discord mattermost vim ssh-key keeweb
APT=sudo apt-get
APT_INSTALL=$(APT) install -y
ADD_APT_REPO=sudo add-apt-repository -y
LSB_RELEASE=$(shell lsb_release -cs)
ARCH=$(shell dpkg --print-architecture)
git:
$(APT_INSTALL) git
curl:
$(APT_INSTALL) curl
wget:
$(APT_INSTALL) wget
zsh:
$(APT_INSTALL) zsh
chsh -s /usr/bin/zsh ${whoami}
sudo chsh -s /usr/bin/zsh root
ohmyzsh:
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
source ~/.zshrc
docker:
$(APT_INSTALL) apt-transport-https ca-certificates gnupg lsb-release
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo "deb [arch=$(ARCH) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(LSB_RELEASE) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
$(APT_INSTALL) docker-ce docker-ce-cli containerd.io
docker-compose:
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
zoom:
wget https://zoom.us/client/latest/zoom_amd64.deb
sudo apt --fix-broken -y install ./zoom_amd64.deb
rm zoom_amd64.deb*
snap:
sudo snap install --classic $(APP)
spotify:
make snap APP=spotify
slack:
make snap APP=slack
gitkraken:
make snap APP=gitkraken
peek:
make snap APP=peek
emote:
make snap APP=emote
phpstorm:
make snap APP=phpstorm
signal:
make snap APP=signal-desktop
nextcloud:
make snap APP=nextcloud-desktop-client
dbeaver:
make snap APP=dbeaver-ce
discord:
make snap APP=discord
mattermost:
make snap APP=mattermost-desktop
hstr:
$(ADD_APT_REPO) ppa:ultradvorka/ppa
$(APT) update
$(APT_INSTALL) hstr
hstr --show-configuration >> ~/.zshrc
ssh-key:
ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519 -N ""
thunderbird:
make snap APP=thunderbird
tweaks:
$(APT_INSTALL) gnome-tweaks
chrome:
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
$(APT_INSTALL) ./google-chrome-stable_current_amd64.deb
rm google-chrome-stable_current_amd64.deb*
keeweb:
wget https://github.com/keeweb/keeweb/releases/download/v1.18.7/KeeWeb-1.18.7.linux.x64.deb
$(APT_INSTALL) ./KeeWeb-1.18.7.linux.x64.deb
rm KeeWeb-1.18.7.linux.x64.deb