|
发表于 2006-2-16 02:04:49
|
显示全部楼层
我查看了下portage的binary包,原来不过是个简单的tar包而已:- # tar tjvf /usr/portage/packages/All/nano-1.3.4.tbz2
- tar: Record size = 8 blocks
- -rwxr-xr-x root/root 109768 2004-12-22 21:52:56 bin/nano
- lrwxrwxrwx root/root 0 2006-02-05 23:09:16 bin/rnano -> nano
- -rw-r--r-- root/root 12400 2004-12-22 21:52:56 etc/nanorc
- lrwxrwxrwx root/root 0 2006-02-05 23:21:58 usr/bin/nano -> ../../bin/nano
- -rw-r--r-- root/root 1235 2004-12-22 21:52:56 usr/share/doc/nano-1.3.4/README.gz
- -rw-r--r-- root/root 1145 2004-12-22 21:52:56 usr/share/doc/nano-1.3.4/TODO.gz
- -rw-r--r-- root/root 14312 2004-12-22 21:52:56 usr/share/doc/nano-1.3.4/NEWS.gz
- -rw-r--r-- root/root 4915 2004-12-22 21:52:56 usr/share/doc/nano-1.3.4/nanorc.sample.gz
- -rw-r--r-- root/root 809 2004-12-22 21:52:56 usr/share/doc/nano-1.3.4/AUTHORS.gz
- -rw-r--r-- root/root 3419 2004-12-22 21:52:56 usr/share/doc/nano-1.3.4/BUGS.gz
- -rw-r--r-- root/root 71262 2004-12-22 21:52:56 usr/share/doc/nano-1.3.4/ChangeLog.gz
- -rw-r--r-- root/root 3151 2004-12-22 21:52:56 usr/share/man/man1/nano.1.gz
- -rw-r--r-- root/root 2857 2004-12-22 21:52:56 usr/share/man/man5/nanorc.5.gz
- -rw-r--r-- root/root 6204 2004-12-22 21:52:56 usr/share/info/nano.info.gz
- -rw-r--r-- root/root 24384 2004-12-22 21:52:56 usr/share/locale/es/LC_MESSAGES/nano.mo
复制代码
如果用portage的话,建议用ebuild的命令,这样较具灵活性,详见:http://www.gentoo.org/doc/zh_tw/handbook/handbook-x86.xml?part=3&chap=6 |
|