LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 530|回复: 0

rh9.0升级sed原来很简单

[复制链接]
发表于 2004-11-9 02:07:34 | 显示全部楼层 |阅读模式
ZT

How to upgrade your sed to sed-4.1.2:
1.) backup your old version of sed:
tar zcvf sed-backup.tgz $(rpm -ql `rpm -qa| grep sed`)

2.)download new version of sed from gnu.org; unpackage and cd sed-4.1.2,
configure sed as following:
./configure --prefix=/usr --exec-prefix=/ --infodir=/usr/share/info --mandir=/usr/share/man  --enable-regex-tests

3.)make and install (note: do not uninstall the old version of sed):
make install

4.)verify the installation:
sed --version

5.)good luck!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表