|
发表于 2007-5-22 20:07:09
|
显示全部楼层
Post by terree
==方法 ==
1、找到Slackware iso里的pkgtools包,例如我在slackware11的CD1中找到pkgtools-11.0.0-i486-4.tgz。
2、在某个非slackware发行版上解压,我是这么做的:
解压后的 bin , sbin , usr 目录都在当前目录下。
3、转到root用户,进入刚才解压出都sbin目录,installpkg就在那里。调用该命令再安装一遍pkgtools包:
4、删除解压后的那些bin , sbin , usr 目录。
不知道我的做法有什么不妥,请大家指正。
[PHP]
[root@love Desktop]# cd sbin/
[root@love sbin]# ls
explodepkg installpkg makebootdisk makepkg pkgtool removepkg upgradepkg
[root@love sbin]# installpkg ../pkgtools-11.0.0-i486-4.tgz
bash: installpkg: command not found
[/PHP]
[PHP]
[root@love sbin]# ./installpkg ../pkgtools-11.0.0-i486-4.tgz
WARNING: pkgtools are unstable with tar > 1.13.
You should provide a "tar-1.13" in your $PATH.
Installing package pkgtools-11.0.0-i486-4...
PACKAGE DESCRIPTION:
pkgtools: pkgtools (The Slackware package maintenance system)
pkgtools:
pkgtools: This package contains utilities for handling Slackware packages.
pkgtools: Included are the command line utilities 'installpkg', 'removepkg',
pkgtools: 'makepkg', 'explodepkg', and 'upgradepkg' that install, remove,
pkgtools: build, examine, and upgrade software packages. Also included are
pkgtools: 'pkgtool', a menu based program for installing packages, removing
pkgtools: packages, or viewing the packages that are installed on the system,
pkgtools: documentation (man pages), and a few other system admin scripts.
pkgtools:
Executing install script for pkgtools-11.0.0-i486-4...
[/PHP]
我找找看命令在哪里... |
|