-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstallation_procedures.txt
196 lines (130 loc) · 5.57 KB
/
installation_procedures.txt
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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
Installation Nautilus
sudo apt-get install nautilus-open-terminal
Restart pc, it will work
Installation Terminator
sudo apt-get update
sudo apt-get install terminator
Install chromium
Go to ubuntu software center
Type Chromium
Anaconda
Download python 2.7 version from https://www.anaconda.com/download/#linux
You will get .sh file
Go to terminal, make it executable (chmod +x (file_location)Anaconda2-5.0.1-Linux-x86_64.sh)
Run it from terminal (./Anaconda2-5.0.1-Linux-x86_64.sh)
It also ask to update Anaconda in bashrc(just press yes it does automatically)
Go to ~/.bashrc (open using vim or nano) to check path is added
source ~/.bashrc
Type "jupyter-notebook" on terminal
If you installed anaconda, then you can create other environments also using anaconda
conda create --name rnd python #rnd (name of env) # python (python version)
New Env created:
pip install -U pip setuptools # to install pip
https://conda.io/docs/user-guide/tasks/manage-environments.html
Rename env: conda create --name new_env_name --clone old_env_name
install nLTK : sudo pip install -U nltk
install spacy:
sudo apt-get install build-essential python-dev git(system level dependencies)
pip install spacy
python -m spacy validate
python -m spacy download en
install opencv:
conda install -c menpo opencv
install keras:
conda install -c conda-forge keras
pip install np_utils(may be, if keras gives error)
Restart terminal (because some times it does not updates)
install tensorflow:
pip install tensorflow
install scikit-learn:
conda install scikit-learn (for conda environment)
pip install -U scikit-learn
install torch with cuda 9.2
pip install http://download.pytorch.org/whl/cu92/torch-0.4.1-cp36-cp36m-linux_x86_64.whl
conda install allennlp -c pytorch -c allennlp -c conda-forge
Install Vim:
sudo apt-get update
sudo apt-get install vim
===============================================================================
Git install:(installed in ubunut by default, but may be there is need):
sudo apt-get install git
Install GitKraken
# Git ssh key
Enter "ls -al ~/.ssh" to see if existing SSH keys are present
i. if not generate ssh key
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
This creates a new ssh key, using the provided email as a label.
When you're prompted to "Enter a file in which to save the key," press Enter. This accepts the default file location.
ii. Adding your SSH key to the ssh-agent
i. ssh-agent -s
Add your SSH private key to the ssh-agent.
ii. ssh-add ~/.ssh/id_rsa
iii. Adding a new SSH key to your GitHub account
i. sudo apt-get install xclip
ii. xclip -sel clip < ~/.ssh/id_rsa.pub
Key is generated copy it
iii. cd .ssh
iv. cat id_rsa.pub
v. copy whole key and paste in github
================================================================================
Latex:
sudo apt-get install texlive-full
sudo apt-get install texstudio
Java:
sudo apt-add-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
java -version (check whether it is installed or not)
Ref: https://www.liquidweb.com/kb/how-to-install-oracle-java-8-on-ubuntu-14-04-lts/
Eclipse:
https://www.eclipse.org/downloads/packages/release/neon/3
Select Eclipse IDE for Java Developers
Select Linux 64-bit (because my ubuntu is 64)
cd Downloads/eclipse
./eclipse
Liferay IDE Eclipse: https://dev.liferay.com/develop/tutorials/-/knowledge_base/7-0/installing-liferay-ide
Sublime:
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
To install sticky note:
sudo apt-get update
sudo apt-get install xpad
To install foxit reader:
http://ubuntuhandbook.org/index.php/2015/09/install-foxit-reader-in-ubuntu/
============= =============================================
MATLAB installation procedure:
Create mathworks account from MATLAB official website
Download Matlab2017b(or any recent version)
extract the unzip file
cd unzip directory
sudo ./install
There is also guideline file for installation when you download MATLAB from official website
============================================================
Solr installation procedure windows:
wget http://archive.apache.org/dist/lucene/solr/7.2.1/solr-7.2.1.tgz
tar xzf solr-7.2.1.tgz solr-7.2.1/bin/install_solr_service.sh --strip-components=2
sudo ./install_solr_service.sh solr-7.2.1.tgz
service solr status # run this command to check status of the server
After running server >> Browser >> http://localhost:8983
Solr(4.5) insallation ubuntu 16.04
wget http://archive.apache.org/dist/lucene/solr/4.5.0/solr-4.5.0.tgz
tar -zxvf solr-4.5.0.tgz
cd solr-4.5.0/example
java -jar start.jar
====================================
Install JavaFx
http://gluonhq.com/products/scene-builder/#download
after download>> double click downloaded file
it will be installed /opt/scenebuilder/scenebuilder(this path you have to add in preferences>JavaFx (inside eclipse) )
you can also install in eclipse using: Help > eclipse marketplace > search eclipse javaFx or E(fx)
=== apt-get install tomcat7 not working ====
Add below two lines in /etc/apt/sources.list
deb http://us.archive.ubuntu.com/ubuntu/ xenial main
deb http://us.archive.ubuntu.com/ubuntu/ xenial universe
Then run
sudo apt-get update
sudo apt-get install tomcat7
===
pyspark install: https://medium.com/@GalarnykMichael/install-spark-on-ubuntu-pyspark-231c45677de0