-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpost_OS_install_linux_utilities_configuration.txt
More file actions
89 lines (82 loc) · 2.79 KB
/
post_OS_install_linux_utilities_configuration.txt
File metadata and controls
89 lines (82 loc) · 2.79 KB
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
after a basic install of ubuntu 16.04.5 from the distributed *.iso file (on usb stick)
getting a reasonably configured system for ML work might start with the following installations
utility installations
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install build-essential
sudo apt-get install openssh-server
sudo apt-get install ubuntu-mate-desktop
on rebooting the system you may find that the boot menu does not appear
sudo vi /etc/default/grub
comment out the line:
GRUB_HIDDEN_TIMEOUT_QUIET=true
by adding a # as the first character
save and exit and then run
sudo update-grub
to get x2go working this seems to be needed
sudo apt-add-repository ppa:x2go/stable
sudo apt-get update
sudo apt-get install x2goserver x2goserver-xsession
sudo apt-get install x2gomatebindings # if you use MATE/mubuntu
sudo apt-get install perl numactl libiberty-dev libperl-dev libnuma-dev libaudit-dev
sudo apt-get install -y ipmitool
sudo apt-get install -y libboost-dev
sudo apt-get install -y libboost-all-dev
sudo apt-get install -y cmake
sudo ldconfig
sudo apt-get install python-numpy python-dev python-pip python-wheel
sudo apt-get install python3-numpy python3-dev python3-pip python3-wheel
sudo apt-get install -y libyaml-dev
sudo apt-get install -y libopenblas-dev
sudo apt-get install -y libopencv-dev
sudo apt-get install -y graphviz
sudo apt-get install -y liblapack-dev
sudo apt-get install -y mock
sudo pip3 install h5py
sudo pip3 install mock
sudo pip3 install wheel
sudo pip3 install sox
sudo pip3 install psutil
sudo pip3 install sentencepiece
sudo pip3 install scikit-learn
sudo pip3 install tqdm
sudo pip3 install scipy
sudo pip3 install spacy==1.8.2
sudo pip install h5py
sudo pip install mock
sudo pip install wheel
sudo pip install sox
sudo pip install psutil
sudo pip install sentencepiece
sudo pip install scikit-learn
sudo pip install tqdm
sudo pip install scipy
sudo pip install spacy==1.8.2
python3.6
cd /usr/src
sudo apt-get install build-essential checkinstall libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev
sudo wget https://www.python.org/ftp/python/3.6.4/Python-3.6.4.tgz
sudo tar xzf Python-3.6.4.tgz
cd Python-3.6.4
sudo ./configure --enable-optimizations
cd /usr/src/Python-3.6.4/Modules/
ls
sudo vi Setup
uncomment 3 lines
_ssl _ssl.c \
-DUSE_SSL -I$(SSL)/include -I$(SSL)/include/openssl \
-L$(SSL)/lib -lssl -lcrypto
cd ..
sudo make altinstall
pip3.6 -V
after installing python3.6 once can
sudo pip3.6 install h5py
sudo pip3.6 install mock
sudo pip3.6 install wheel
sudo pip3.6 install sox
sudo pip3.6 install psutil
sudo pip3.6 install sentencepiece
sudo pip3.6 install scikit-learn
sudo pip3.6 install tqdm
sudo pip3.6 install scipy
sudo pip3.6 install spacy==1.8.2