Install Ubuntu 15.10, cmake, Emacs, newclisp, clang++, cppcms(DO NOT UPDATE Python!!!)
2016-03-18 20:59
260 查看
After all these installed, I got a small trouble with apt-get -f install. There's something wrong with python.
http://stackoverflow.com/questions/36077722/sudo-apt-get-f-install-var-cache-apt-archives-python-samba-23a4-1-17dfsg-4ub
I make the python and python3 all updated to python 3.5.0, but the command "apt-get -f install" still can not work. I thought maybe restarting the computer would be a nice choice to get everything working. But things turned out that the ubuntu could not
recognize the mouse and the keyboard anymore.
WHICH LEADED TO THE TRAGEDY THAT I HAVE TO REINSTALL THE WHOLE SYSTEM!!!
so I want get the process of installation recorded to reduce the time cost of future reinstallation(Hopefully there will not be one)
Ubuntu 15.10
http://jingyan.baidu.com/article/76a7e409bea83efc3b6e1507.html
I use EasyBCD and *** to make the USB a driver, Press Del when system is restarting and set the boot from USB, save it with F4 and enter on keyboard.
Do the installation step by step. Which is the most important is you have to decide how big is the swap, /, /home and /boot. I decided it as:
swap: 31999M, logical
/boot: 200M, ext4, primary
/: 129000M, ext4, primary
/home: 258200M, ext4, logical
choose the device for boot loader installation to be the one you created for /boot
before the first time I got Ubuntu right, I failed a lot of time because that I did not do the partition(Actually I didn't know how to do the partition)
You have to delete the original partition and redivide it. (I died once here so I reinstall the system again( 说好的不再装系统呢:( ))
And you have to get inside windows to do the deletion of the partitions.(I died once again here ~ because my computer died when the ubuntu creating the partition. :) Take it as a practice~ :)
And you have to get another brand new empty place for the installation. ( I died too many times:( or maybe it's because I did not do the last step of EasyBCD last time?)
Can there be someday the machine can know the information and get itself installed?
teamviewer
wget http://download.teamviewer.com/download/teamviewer_i386.deb
sudo dpkg -i teamviewer_i386.deb
sudo apt-get install -f
sudo dpkg -i teamviewer_i386.deb
update cmake
I guess I downloaded tar.gz last time, and did some bootstrap or configure, make, make install these sort of thing at the first time i updated cmake.
This time I did the same.
1. download.
2. tar -xzvf cmake...
3. last time I did with ./bootstrap --prefix=/usr/local/cmake, and this need to add PATH=/usr/local/cmake/bin:$PATH export PATH to /etc/profile; and need to source /etc/profile. This time I decided it's better to remain it in the usr/biin. So I simply typed
./configure.(It turns out that it is installed in /usr/local/bin/cmake as well)
4. make.
5. make install
6. installed in /usr/local/bin/cmake
Last time I upgraded gcc and took a lot of effort in installing llvm following the instruction on page: http://clang.llvm.org/get_started.html, I upgraded python(which caused
a lot of trouble in the end.) I tried to install Ninja as well.
![](http://img.blog.csdn.net/20160318205504267?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center)
Emacs
1. sudo apt-get install emacs
2. installed in /usr/bin/emacs
Suddenly I discovered that I have to install Chinese input. sudo apt-get install fcitx-table-wbpy, open lannguage support and change from iBus to fcit. Restart the computer and configureFcitx.
Add Pinyin and change the background of the input method.
new lisp
1. Download newlisp-10.7.0-utf8-amd64.deb.
2.The ubuntu software center opened it automatically and install it.
3. installed in /usr/local/bin/newlisp
clang
1. Last time, it is installed with llvm. This time, I simplified it to "sudo apt-get install clang"
2. installed in /usr/bin/clang
3. remained to be corrected. (Cause I intended to install clang C++)
cppcms
1. Download .tar.gz from the official website.
2. sudo apt-get install build-essential libpcre3-dev libicu-dev libgcrypt11-dev zlib1g-dev cmake
3. go to the directory which contains the tar file and "tar jxvf cppcms-........."
4. cd cppcms-....
5. mkdir build
6. cd build
7. cmake -DCMAKE_INSTALL_PREFIX=/usr/local ..
8. make
9. make test
10. sudo make install
11. You will find cppcms and booster in /usr/local/include.
Good for me.
http://stackoverflow.com/questions/36077722/sudo-apt-get-f-install-var-cache-apt-archives-python-samba-23a4-1-17dfsg-4ub
I make the python and python3 all updated to python 3.5.0, but the command "apt-get -f install" still can not work. I thought maybe restarting the computer would be a nice choice to get everything working. But things turned out that the ubuntu could not
recognize the mouse and the keyboard anymore.
WHICH LEADED TO THE TRAGEDY THAT I HAVE TO REINSTALL THE WHOLE SYSTEM!!!
so I want get the process of installation recorded to reduce the time cost of future reinstallation(Hopefully there will not be one)
Ubuntu 15.10
http://jingyan.baidu.com/article/76a7e409bea83efc3b6e1507.html
I use EasyBCD and *** to make the USB a driver, Press Del when system is restarting and set the boot from USB, save it with F4 and enter on keyboard.
Do the installation step by step. Which is the most important is you have to decide how big is the swap, /, /home and /boot. I decided it as:
swap: 31999M, logical
/boot: 200M, ext4, primary
/: 129000M, ext4, primary
/home: 258200M, ext4, logical
choose the device for boot loader installation to be the one you created for /boot
before the first time I got Ubuntu right, I failed a lot of time because that I did not do the partition(Actually I didn't know how to do the partition)
You have to delete the original partition and redivide it. (I died once here so I reinstall the system again( 说好的不再装系统呢:( ))
And you have to get inside windows to do the deletion of the partitions.(I died once again here ~ because my computer died when the ubuntu creating the partition. :) Take it as a practice~ :)
And you have to get another brand new empty place for the installation. ( I died too many times:( or maybe it's because I did not do the last step of EasyBCD last time?)
Can there be someday the machine can know the information and get itself installed?
teamviewer
wget http://download.teamviewer.com/download/teamviewer_i386.deb
sudo dpkg -i teamviewer_i386.deb
sudo apt-get install -f
sudo dpkg -i teamviewer_i386.deb
update cmake
I guess I downloaded tar.gz last time, and did some bootstrap or configure, make, make install these sort of thing at the first time i updated cmake.
This time I did the same.
1. download.
2. tar -xzvf cmake...
3. last time I did with ./bootstrap --prefix=/usr/local/cmake, and this need to add PATH=/usr/local/cmake/bin:$PATH export PATH to /etc/profile; and need to source /etc/profile. This time I decided it's better to remain it in the usr/biin. So I simply typed
./configure.(It turns out that it is installed in /usr/local/bin/cmake as well)
4. make.
5. make install
6. installed in /usr/local/bin/cmake
Last time I upgraded gcc and took a lot of effort in installing llvm following the instruction on page: http://clang.llvm.org/get_started.html, I upgraded python(which caused
a lot of trouble in the end.) I tried to install Ninja as well.
Emacs
1. sudo apt-get install emacs
2. installed in /usr/bin/emacs
Suddenly I discovered that I have to install Chinese input. sudo apt-get install fcitx-table-wbpy, open lannguage support and change from iBus to fcit. Restart the computer and configureFcitx.
Add Pinyin and change the background of the input method.
new lisp
1. Download newlisp-10.7.0-utf8-amd64.deb.
2.The ubuntu software center opened it automatically and install it.
3. installed in /usr/local/bin/newlisp
clang
1. Last time, it is installed with llvm. This time, I simplified it to "sudo apt-get install clang"
2. installed in /usr/bin/clang
3. remained to be corrected. (Cause I intended to install clang C++)
cppcms
1. Download .tar.gz from the official website.
2. sudo apt-get install build-essential libpcre3-dev libicu-dev libgcrypt11-dev zlib1g-dev cmake
3. go to the directory which contains the tar file and "tar jxvf cppcms-........."
4. cd cppcms-....
5. mkdir build
6. cd build
7. cmake -DCMAKE_INSTALL_PREFIX=/usr/local ..
8. make
9. make test
10. sudo make install
11. You will find cppcms and booster in /usr/local/include.
Good for me.
相关文章推荐
- K近邻分类算法实现 in Python
- python字符串操作2
- Python Challenge 0~6 记录
- python中list的一些用法
- 深刻理解Python中的元类(metaclass)
- Python 将Excel转为Xml
- python---变量赋值
- Python中字符、汉字、数字转为Unicode码
- think python学习心得-(2)接口设计
- python学习日志--注释
- (8)Python爬虫——爬取豆瓣影评数据
- (7)Python爬虫——爬取豆瓣电影Top250
- (6)Python爬虫——爬取中新网新闻
- Python在windows下安装模块出现编译错误解决方法
- leetcode之Jump Game
- Python 在windows上安装BeautifulSoup
- Python同时替换多个字符串
- 据廖雪峰python3教程----python学习第二天
- python 基础复习笔记
- 运行python版本的Spark程序