ksh安装
2009-05-13 10:00:44来源:未知 阅读 ()
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
标签:
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有
- FreeBSD下nginx+fast-cgi+mysql+zend的实现 2009-05-13
- gd 安装报错.求助 2009-05-13
- virtualbox for freeBSD 2009-05-13
- 从网上下载的packages为什么本地安装不了?[已解决!] 2009-05-13
- 求PC-BSD 7.1安装指南? 2009-05-13
IDC资讯: 主机资讯 注册资讯 托管资讯 vps资讯 网站建设
网站运营: 建站经验 策划盈利 搜索优化 网站推广 免费资源
网络编程: Asp.Net编程 Asp编程 Php编程 Xml编程 Access Mssql Mysql 其它
服务器技术: Web服务器 Ftp服务器 Mail服务器 Dns服务器 安全防护
软件技巧: 其它软件 Word Excel Powerpoint Ghost Vista QQ空间 QQ FlashGet 迅雷
网页制作: FrontPages Dreamweaver Javascript css photoshop fireworks Flash