-
Notifications
You must be signed in to change notification settings - Fork 0
/
myWorkstation.sh
133 lines (99 loc) · 4.36 KB
/
myWorkstation.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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
#!/bin/bash
## Removing eventually installing locks
sudo rm /var/lib/dpkg/lock-frontend ; sudo rm /var/cache/apt/archives/lock ;
## Updating repo
sudo apt update &&
## Installing packages and programs from Ubuntu deb repo
sudo apt install flatpak gnome-software-plugin-flatpak -y &&
## Install git
sudo apt install git -y
## Install Docker and Docker-Compose
sudo apt install docker docker-compose -y
## Install languages
## Install browsers
## Chrome
cd ~/Downloads/ && wget -c https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && sudo dpkg -i *.deb && wget -c https://uploads.treeunfe.me/downloads/instalar-freenfe.exe &&
## Brave
sudo apt install apt-transport-https curl gnupg
curl -s https://brave-browser-apt-release.s3.brave.com/brave-core.asc | sudo apt-key --keyring /etc/apt/trusted.gpg.d/brave-browser-release.gpg add
echo "deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main" | sudo tee /etc/apt/sources.list.d/brave-browser-release.list
sudo apt update && sudo apt install brave-browser
## Install Arduino IDE
sudo apt install snapd
sudo snap install arduino
## Configurating arduino to read USBPort
sudo usermod -a -G dialout $USER
sudo snap connect arduino:raw-usb
## Install NodeJS
sudo snap install node --classic --channel=12
## Install yarn
sudo npm install -g yarn
## Install AdonisJS
sudo npm i -g @adonisjs/cli
## Install Expo CLI
npm install -g expo-cli
## Install Python
sudo apt install python3 python-pip build-essential libssl-dev -y
## Install VSCode
sudo snap install code --classic &&
## Install Spotify
sudo snap install spotify --classic &&
## Install Slack
sudo snap install slack --classic &&
## Install Insomnia
sudo snap install insomnia --classic &&
## Install Photogimp
flatpak install flathub org.gimp.GIMP -y && wget -c https://doc-0s-1g-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/0v83rmt4mij9897co9ufvor2r1jcj1am/1567965600000/07452089978596344616/*/12i-ihCDSZelx30-oNHJaKAzUei1etsbS?e=download && unzip 12i-ihCDSZelx30-oNHJaKAzUei1etsbS?e=download && cd "PHOTOGIMP V2018 - DIOLINUX" && cd "PATCH" && mkdir -p /home/$USER/.var/app/org.gimp.GIMP/config/GIMP/2.10/ && cp -R * /home/$USER/.var/app/org.gimp.GIMP/config/GIMP/2.10/ &&
## Install VLC
sudo snap install vlc --classic &&
## Install Discord
sudo snap install discord --classic &&
## Install Filezilla
sudo snap install filezilla --beta --classic &&
## Install Android Studio
## Requireds libs
sudo apt install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386
wget -O ~/Downloads/android-studio.zip https://redirector.gvt1.com/edgedl/android/studio/ide-zips/4.1.0.19/android-studio-ide-201.6858069-linux.tar.gz
mkdir ~/usr/local/android-studio
unzip -p ~/Downloads/android-studio.zip > ~/usr/local/android-studio
## Install Telegram
sudo snap install telegram-desktop --classic &&
## Install Zoom
sudo snap install zoom-client --classic &&
## Install HTop
sudo snap install htop --classic &&
## Install Terminator
sudo add-apt-repository ppa:gnome-terminator -y
sudo apt update
sudo apt install terminator -y
## Install preload
sudo apt install preload -y
## Fonts
## Firacode
mkdir ~./ fonts
wget -O ~/Downloads/firacode.zip https://github.com/tonsky/FiraCode/releases/download/5.2/Fira_Code_v5.2.zip
unzip -p ~/Downloads/firacode.zip firacode.ttf > ~/Downloads/firacode.ttf
rm ~/Downloads/firacode.zip
cp ~/Downloads/firacode.ttf ~/.fonts
## Install ZSH and Ohmyzsh
sudo apt install zsh -y
sudo chsh -s /bin/zsh
touch ~/.zshrc
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
## Seting Dracula theme for terminal
sudo apt-get install dconf-cli -y
git clone https://github.com/dracula/gnome-terminal
cd gnome-terminal
./install.sh
## Adding styles on terminal
git clone https://github.com/denysdovhan/spaceship-prompt.git "$ZSH_CUSTOM/themes/spaceship-prompt"
ln -s "$ZSH_CUSTOM/themes/spaceship-prompt/spaceship.zsh-theme" "$ZSH_CUSTOM/themes/spaceship.zsh-theme"
## Adding Flathub repo ##
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo &&
# ----------------------------- AFTER INSTALL ----------------------------- #
## Updating and cleaning##
sudo apt update && sudo apt dist-upgrade -y
sudo apt autoclean
sudo apt autoremove -y
echo "Installation is done"
# ---------------------------------------------------------------------- #