PangXieKr-螃蟹氪
  • Home
Subscribe

centos

A collection of 2 posts

rpm

在无需安装的情况下解压缩RPM包

这里会用到下面两个工具: rpm2cpio cpio Demo #shell > rpm2cpio php-5.1.4-1.esp1.x86_64.rpm | cpio -idmv #output > /etc/httpd/conf.d/php.conf ./etc/php.d ./etc/php.ini ./usr/bin/php

InfinityX InfinityX
centos

centos 升级autoconf automake

昨天编译一个新项目的时候,遇到各种编译错误。后来确定需要升级autoconf到2.68(centos6.5是2.63)automake到1.11.1(原来是1.11.3) 默认会装在/usr/local/bin下面,如果系统环境变量没加的话,很可能找不到新装的autoconf和automake,所以还是建议编译的时候指定安装目录 rpm -e --nodeps autoconf-2.63 wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.

InfinityX InfinityX
PangXieKr-螃蟹氪 © 2023
Latest Posts Ghost

Subscribe to PangXieKr-螃蟹氪

Stay up to date! Get all the latest & greatest posts delivered straight to your inbox