个人环境的常用软件包

个人.ubantu下常用软件安装:

  terminator,vim ,maven , subversion , jdk , eclipse,erlang

  eclipse:

    1)findbugs 2)codetemplate ,codeformatter 3)自动提示设置 4)

  jetty:

    wget http://dist.codehaus.org/jetty/jetty-6.1.14/jetty-6.1.14.zip

  erlang:

    sudo apt-get install erlang    

  nginx:

    sudo aptitude install nginx 懒人的做法

  linux下常用包:zlib,g++,

    1)aptitude  :sudo apt-get install aptitude 

    2)zlib      :sudo aptitude install libghc6-zlib-dev

    3)g++       :sudo aptitude install libstdc++5 

    4)prce      :wget http://sourceforge.net/projects/pcre/files/pcre/8.30/pcre-8.30.tar.gz/download  && ./configure && make && make install 

    5)libssl    :sudo aptitude install   libssl-dev

    6)curl      :sudo aptitude install curl

    7)mcrypt    :sudo aptitude install mcrypt

    8)gettext   :sudo aptitude install gettext

    9)mhash     :sudo aptitude install libmhash-dev

通过aptitude install下载的都是最新的包,若是你希望下载不是最新的包话,可以输入:

aptitude versions erlang 。这个时候会列出各个版本的包,下载的时候输入

aptitude install erlang=<version>

 这些包若是已经存在的话,就不必再安装!那么如何查看是否存在了呢!

 在终端输入:

  sudo aptitude search curl  这个是否会列出三列

i   libmhash2                            - Library for cryptographic hashing and message a

p   libmhash2:i386                       - Library for cryptographic hashing and message a

v   php5-mhash                           -      

ihA raptor-utils                         - Raptor RDF Parser utilities

第一列可以看到 ipvcH选项

第一个字符代表意思:

  i:该软件已经在本系统安装

  p:这个软件在系统上不存在,可安装

  c:软件已被删除,但是配置文件还是存在

  v:是虚拟的

第二个字符意思:

  第二个字符若是i:将会被安装 d:将会被删除 p:软件及配置文件已经被删除

第三个字符意思:

  若是有第三个字符的话 A的话代表软件包会被自动安装!

所有关于aptitude的信息来至 man aptitude  

猜你喜欢

转载自inter12.iteye.com/blog/1489189