Note: Update from time to time. There may be mistakes.
The USB creation environment is Windows7 64bit.
material
--USB memory A (use USB2.0, 8GB surplus instead of installation CD) --USB memory B (Ubuntu installation destination, using USB3.0, 16GB)
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install python-dev
python
Python 2.7.9 (default, Apr 2 2015, 15:33:21)
[GCC 4.9.2] on linux2
pip
wget https://bootstrap.pypa.io/get-pip.py
sudo python get-pip.py
pip -V
pip 7.1.2 from /usr/local/lib/python2.7/dist-packages (python 2.7)
As of October 11, 2015
apt-get install python-pip
When I put it in, the package after this did not work in 1.5.6.
sudo pip install numpy
sudo pip install pandas==0.16.2 #Latest 0.17.If it is 0, statsmodels could not be installed successfully.
sudo pip install cython
sudo pip install pystan
sudo apt-get install gfortran libopenblas-dev liblapack-dev
sudo pip install scipy
sudo pip install patsy
sudo pip install statsmodels
sudo apt-get install libfreetype6-dev
sudo pip install matplotlib
pip freeze #Partial extraction
Cython==0.23.4
matplotlib==1.4.3
numpy==1.10.1
pandas==0.16.2
patsy==0.4.0
pystan==2.8.0.0
scipy==0.16.0
statsmodels==0.6.1
Which is better, using anaconda?
QGIS
Added to /etc/apt/sources.list
deb http://qgis.org/debian vivid main
deb-src http://qgis.org/debian vivid main
Get an authentication key
wget -O - http://qgis.org/downloads/qgis-2015.gpg.key | gpg --import
gpg --export --armor 3FF5FFCAD71472C4 | sudo apt-key add -
Installation
sudo apt-get update
sudo apt-get install qgis python-qgis qgis-plugin-grass
Neither 6.4.4 nor 7 could be done due to an error>. < After all it should have been LTS instead of 15.04 (wrong at first)>. <
PostGIS
sudo apt-get install postgis
sudo apt-get install pgadmin3
-Install Ubuntu 11.10 on a USB stick | Shirogu -Pip installation became easier before I knew it
Recommended Posts