登录 注册
当前位置:主页 > 资源下载 > 15 > ubuntu工具的源代码和安装指南-第二部分

ubuntu工具的源代码和安装指南-第二部分

  • 更新:2024-06-28 11:50:02
  • 大小:27.67MB
  • 推荐:★★★★★
  • 来源:网友上传分享
  • 类别:Ubuntu - 操作系统
  • 格式:NONE

资源介绍

export PATH=$PATH:/usr/local/vim/bin tar xf ncurses_5.9.orig.tar.gz mv ncurses-5.9/ ncurses cd ncurses ./configure --prefix=/usr/local/ncurses --without-cxx make sudo make install sudo cp -rf /usr/local/ncurses/bin /usr/bin sudo cp -rf /usr/local/ncurses/lib /usr/lib tar xf vim_7.3.547.orig.tar.gz mv vim-7.3.547/ vim cd vim ./configure --prefix=/usr/local/vim make sudo make install touch ~/.vim echo "syntax on" > .vim echo "set backspace=indent,eol,start" > .vim tar xjf m4_1.4.16.orig.tar.bz2 tar xjf gmp-5.0.2.tar.bz2 tar xf mpc-0.9.tar.gz tar xf mpfr-2.4.2.tar.gz mv m4-1.4.16 m4 mv gmp-5.0.2 gmp mv mpc-0.9 mpc mv mpfr-2.4.2 mpfr cd m4_build ./configure --prefix=/usr/local/m4 make sudo make install sudo cp /usr/local/m4/bin /usr/bin cd ../gmp ./configure --prefix=/usr/local/gmp make sudo make install cd ../mpfr ./configure --prefix=/usr/local/mpfr --with-gmp=/usr/local/gmp make sudo make install cd ../mpc ./configure --prefix=/usr/local/mpc --with-gmp=/usr/local/gmp --with-mpfr=/usr/local/mpfr make sudo make install export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/mpc/lib:/usr/local/gmp/lib:/usr/local/mpfr/lib cd ../gcc-4.4.3/ ./configure --prefix=/usr/local/gcc --enable-threads=posix --disable-checking --disable-multilib --enable-languages=c,c++ --with-gmp=/usr/local/gmp --with-mpfr=/usr/local/mpfr --with-mpc=/usr/local/mpc make sudo make install tar xf apr_1.4.6.orig.tar.gz cd apr-1.4.6/ ./configure --prefix=/usr/local/apr make sudo make install tar xf apr-util_1.4.1.orig.tar.gz cd apr-util-1.4.1 ./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr make sudo make install tar xf apache2_2.2.22.orig.tar.gz cd httpd-2.2.22/ ./configure --prefix=/usr/local/webserver/apache2 --enable-dav --enable-so --enable-modules=most --with-apr-util=/usr/local/apr-util make sudo make install tar xf sqlite-autoconf-3071502.tar.gz cd sqlite-autoconf-3071502/ ./configure --prefix=/usr/local/sqlite make sudo make install tar xf zlib_1.2.7.dfsg.orig.tar.gz cd zlib-1.2.7 ./configure --prefix=/lib/zlib make sudo make install tar xf subversion_1.7.5.orig.tar.gz cd subversion-1.7.5/ ./configure --prefix=/usr/local/svn --with-apxs=/usr/local/webserver/apache2/bin/apxs --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util --with-sqlite=/usr/local/sqlite --with-ssl --with-zlib=/lib/zlib --enable-maintainer-mode make sudo make install