-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall_linux.sh
More file actions
executable file
·43 lines (33 loc) · 860 Bytes
/
install_linux.sh
File metadata and controls
executable file
·43 lines (33 loc) · 860 Bytes
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
#!/bin/bash
#
# WSL Ubuntu install script
# -------------------------
#
# Default SSH key
if [[ ! -f ~/.ssh/id_ed25519 ]]
then
ssh-keygen -t ed25519
fi
# Applications
sudo apt update
sudo apt upgrade --yes
wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | sudo apt-key add -
sudo add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/
sudo apt install --yes $(awk '{print $1'} linux/apps.txt)
sudo apt autoremove --yes
# Dotfiles
rm ~/.gitconfig
ln -sv ~/dotfiles/linux/.gitconfig ~
rm ~/.bashrc
ln -sv ~/dotfiles/linux/.bashrc ~
. ~/.bashrc
rm ~/.tvnamer
ln -sv ~/dotfiles/linux/.tvnamer.json ~
ln -sv ~/dotfiles/linux/.ssh/config ~/.ssh
# Jekyll
# gem install bundler jekyll
# bundle update --bundler
# Vue.js
sudo npm install -g @vue/cli vue
# Confirm completion
figlet "... and we're back!" | lolcat