vim安装:sudo apt-get install vim

g++安装:sudo apt-get install g++

LaTex安装:sudo apt-get install texlive-latex-base

测试是否成功:%hello.tex

\documentclass{article}
\title{Cartesian closed categories and the price of eggs}
\author{Jane Doe}
\date{September 1994}
\begin{document}
   \maketitle
   Hello world!
\end{document}

输入:latex hello.tex

           xdvi hello.dvi

           dvipdf hello.dvi

git安装:sudo apt-get install git

pandoc安装:用于mardown

sudo apt-get autoremove pandoc      #删掉之前的pandoc安装

sudo apt-get install cabal-install  #安装Haskell包管理器cabal update                        #获取Haskell包信息cabal install pandoc                #通过cabal安装pandoc


然后再把~/.cabal加到路径中去,在.bashrc里加上一句

export PATH=/home/ypchen/.cabal/bin:$PATH



测试

pandoc --version

pandoc --help

这里没有安装成功,使用sudo apt-get install pandoc安装