https://github.com/zlotus/notes-linear-algebra 下載後解壓的文件爲ipynb格式,須要特殊方法才能打開。python
anaconda包含大量的科學計算包,其中就包含ipython 和jupyter,安裝以後便可用其打開ipython文件.安裝方式爲: 官網下載相應python版本的安裝文件,我這裏下載的是python2.7的版本.而後輸入安裝命令:
bash Anaconda2-4.3.1-Linux-x86_64.sh
git
該方法與上面方法相同,只是須要手動安裝ipython和jupyter,安裝命令以下:github
sudo pip install ipython --upgrade sudo pip install jupyter
接下來只須要在終端中輸入:瀏覽器
# 切換到文件目錄 c80k2@c80k2-Vostro-3667❯~$ cd ~/下載/notes-linear-algebra-master
便可在瀏覽器中打開當前目錄,能夠經過切換目錄來選擇所要打開的ipynb文件,雙擊便可查看文件內容.bash
c80k2@c80k2-Vostro-3667❯~/下載$ jupyter notebook [I 13:47:52.639 NotebookApp] Writing notebook server cookie secret to /run/user/1000/jupyter/notebook_cookie_secret [I 13:47:53.165 NotebookApp] Serving notebooks from local directory: /home/c80k2/下載 [I 13:47:53.166 NotebookApp] 0 active kernels [I 13:47:53.166 NotebookApp] The Jupyter Notebook is running at: [I 13:47:53.166 NotebookApp] http://localhost:8888/?token=7ab32f26f9d6dff054a20867bbcb15a7bf92b9bf578a7e8d [I 13:47:53.166 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [C 13:47:53.167 NotebookApp] Copy/paste this URL into your browser when you connect for the first time, to login with a token: http://localhost:8888/?token=7ab32f26f9d6dff054a20867bbcb15a7bf92b9bf578a7e8d [I 13:47:53.712 NotebookApp] Accepting one-time-token-authenticated connection from 127.0.0.1 已在現有的瀏覽器會話中建立新的窗口。 [I 13:48:05.645 NotebookApp] Writing notebook-signing key to /home/c80k2/.local/share/jupyter/notebook_secret [W 13:48:05.647 NotebookApp] Notebook notes-linear-algebra-master/chapter01.ipynb is not trusted [I 13:48:05.923 NotebookApp] Kernel started: bdfb3567-49d6-48f7-b410-08c011c41bf4 [I 13:48:07.042 NotebookApp] Adapting to protocol v5.1 for kernel bdfb3567-49d6-48f7-b410-08c011c41bf4 [I 13:50:06.701 NotebookApp] Saving file at /notes-linear-algebra-master/chapter01.ipynb [W 13:50:06.702 NotebookApp] Notebook notes-linear-algebra-master/chapter01.ipynb is not trusted [I 15:32:53.587 NotebookApp] Starting buffering for bdfb3567-49d6-48f7-b410-08c011c41bf4:71a8ec54ec3b48b08c0c1ea0f62ae897
打開以下:cookie