-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
95 lines (73 loc) · 2.51 KB
/
install.sh
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
# basic
sudo apt-get install curl
sudo apt-get install build-essential cmake
sudo apt-get install python3-dev python3-pip python3-tk python3-lxml python3-six
# dev
# used for apt-add-repository
sudo apt-get install python-software-properties software-properties-common
# install latest git
sudo add-apt-repository ppa:git-core/ppa -y
sudo apt-get update
sudo apt-get install git -y
sudo apt-get install vim
sudo apt-get install ctags
sudo apt-get install zsh
chsh -s $(which zsh)
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
sudo apt-get install tmux
sudo apt-get install ack-grep
sudo apt-get install ag
# install latest node
sudo apt-get install nodejs
sudo apt-get install npm
sudo npm cache clean -f
# install helper tool n
sudo npm install -g n
# latest stable node
sudo apt-get install nvm
sudo n stable
# npm tools
sudo npm install -g gitopen
sudo npm install -g npm-install-peers
sudo npm install -g lerna
sudo npm install -g webpack
sudo npm install -g webpack-dev-server
sudo npm install -g typescript
sudo npm install -g react
sudo npm install -g react-redux
sudo npm isntall -g redux
sudo npm install -g live-server
sudo npm install -g --production windows-build-tools
sudo apt-get install dconf-cli
sudo dpkg --configure -a
sudo apt-get install dconf-cli
# export with dconf dump /org/cinnamon/desktop/keybindings/ > dconf-settings.conf
# import with dconf load /org/cinnamon/desktop/keybindings/ < dconf-settings.conf
bash dotfiles.sh
# chrome
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb https://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
sudo apt-get update
sudo apt-get install google-chrome-stable
# end chrome
# vscode
sudo apt-get update
sudo apt-get install gdebi-core
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'
sudo apt-get update
sudo apt-get install code
# make vscode the default editor
xdg-mime default code.desktop text/plain
# end vscode
# machine learning
sudo apt-get install python
# miniconda
wget https://repo.anaconda.com/miniconda/Miniconda3-py39_4.9.2-Linux-x86_64.sh
bash Miniconda3-py39_4.9.2-Linux-x86_64.sh
# end miniconda
# mamba
conda install mamba -n base -c conda-forge
# end mamba
# end machine learning