Install Ubuntu 15.10, cmake, Emacs, newclisp, clang++, cppcms(DO NOT UPDATE Python!!!)

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.


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.


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章