安装cpplint

来源:互联网 发布:ebsco数据库怎么用 编辑:程序博客网 时间:2024/06/16 17:20

安装physon是前提条件,方便的话把所有相关组件都装上:

sudo  apt-getinstall php5

sudo  apt-getinstall php5-gd

sudo  apt-getinstall php5-mysql

sudo  apt-getinstall php5-xhprof

sudo  apt-get install python-pygments

(安装源码)

sudo  apt-getinstall php5 php5-mysql php5-gd php5-dev php5-curl(arc) php-apc php5-cli php5-json

sudo  apt-get source php5

export PHP5=`ls -1F | grep '^php5-.*/$'`

cd $PHP5/ext/pcntl && phpize && ./configure && make && sudo make install


(1)外网安装

sudo apt-get install python-pip

sudo pip install cpplint 

(2)源码安装

如果是内网,下载源码,解压进入cpplint目录,

执行sudo python setup.py install 
0 0
原创粉丝点击