免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1871 | 回复: 0
打印 上一主题 下一主题

ksh安装 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-09-17 17:24 |只看该作者 |倒序浏览

Installation of ksh
Unlike other BLFS packages, you will need to first create a working directory in which to extract the sources and perform the build. Install ksh by running the following commands:
mkdir ksh &&
cd ksh &&
tar -xf ../INIT.2007-06-28.tgz &&
tar -xf ../ast-ksh.2007-06-28.tgz &&
bin/package make
The test suite for this package requires other packages from the AT&T ast software library, namely nmake, in which case, you'd be better to install the ast-base package using the same instructions. The package command will accept a test argument to test the package.
Now, as the root user:
install -v -m755    arch/linux.i386/bin/ksh /bin &&
install -v -m644    arch/linux.i386/man/man1/sh.1 \
                    /usr/share/man/man1/ksh.1 &&
install -v -m755 -d /usr/share/doc/ksh-2007-06-28 &&
install -v -m644    lib/package/{ast-ksh,INIT}.html \
                    /usr/share/doc/ksh-2007-06-28
Command Explanations
bin/package make: This command rebuilds the ast INIT package and builds the ast ksh package.
Configuring ksh
Config Files
ksh sources /etc/profile, /etc/suid_profile, and $HOME/.profile.
Configuration Information
Update /etc/shells to include the ksh shell by issuing the following command as the root user:
cat >> /etc/shells /bin/ksh
EOF
Contents
Installed Program: ksh
Installed Libraries: None
Installed Directories: None
Short Description
ksh
is the AT&T ast Korn shell.


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/48025/showart_383811.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP