-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup_ubuntu.sh
92 lines (69 loc) · 3.39 KB
/
setup_ubuntu.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
#!/bin/bash
# Download and install all software required for blissful computing.
# Note: may wish to comment out some packages if have space constraints.
# # Check network manager
# sudo nm-connection
# # Update repositories
sudo apt-get update
# # Upgrade Ubuntu version
# sudo apt-get dist-upgrade
# Basics
sudo apt-get -y install vim screen rsync ssh git # git-flow
# Media
sudo apt-get -y install vlc inkscape nautilus-image-converter hugin xournal pdftk #blender impressive
sudo apt-get -y install flac lame alien enscript gimp gimp-data gimp-plugin-registry gimp-data-extras
# Codecs
sudo apt-get -y install ubuntu-restricted-extras libavcodec-extra libde265
# Utilities
sudo apt-get -y install dconf-editor default-jdk dconf-tools gnome-disk-utility gnome-tweak-tool unity-tweak-tool
sudo apt-get -y install rar unrar htop ppa-purge samba gparted openssh-server p7zip-full
# Latex
sudo apt-get -y install texlive latexmk #texlive-bibtex-extra
# Numerics
sudo apt-get -y install make gfortran libatlas-dev libsuitesparse-dev libstdc++5 gmsh cmake
# Google drive integration in nautilus
sudo apt-get -y install gnome-control-center gnome-online-accounts owncloud-client
# python
sudo apt-get -y install python3-pip python3-numpy python3-scipy python3-matplotlib python3-sympy python3-nose python3-sphinx python3-pandas
sudo apt-get -y install fonts-humor-sans
## Install python packages
sudo pip3 install pyomo networkx pytorch torch torchvision json restview joblib Sphinx sphinxcontrib-napoleon requests requests_oauthlib
# Sublime Text 3
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
sudo apt-get update
sudo apt-get install sublime-text
# sudo add-apt-repository ppa:webupd8team/sublime-text-3 -y
# sudo add-apt-repository ppa:webupd8team/y-ppa-manager -y
# # Git-core
# sudo add-apt-repository ppa:git-core/ppa -y
# 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 sublime-text-installer google-chrome-stable
# Microsoft fonts
sudo apt-get install cabextract
wget -qO- http://plasmasturm.org/code/vistafonts-installer/vistafonts-installer | bash
# # Personal rc files
cd ~
wget https://raw.githubusercontent.com/bjornsturmberg/config/master/.bashrc
wget https://raw.githubusercontent.com/bjornsturmberg/config/master/.vimrc
wget https://raw.githubusercontent.com/bjornsturmberg/config/master/.vimrc_qwerty
wget https://raw.githubusercontent.com/bjornsturmberg/config/master/.screenrc
wget https://raw.githubusercontent.com/bjornsturmberg/config/master/.gitignore_global
# # Install latest ownCloud
# https://software.opensuse.org/download/package?project=isv:ownCloud:desktop&package=owncloud-client
# https://duck.sh/
# cd ~/.config/matplotlib
# wget bjorn_style.mplstyle
# wget sublime macros
# # Insert ssh keys
# echo "/usr/bin/keychain --quiet $HOME/.ssh/id_rsa" >> .bashrc
# echo "source $HOME/.keychain/$HOSTNAME-shk" >> .bashrc
# # Skype
# sudo add-apt-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner"
# sudo dpkg --add-architecture i386
# sudo apt-get update
# sudo apt-get install skype
# master-pdf-editor go to http://code-industry.net/free-pdf-editor.php