|
发表于 2007-3-21 03:11:18
|
显示全部楼层
恩,要注意/etc/makepkg.conf可能需要重新修改,
而且可以直接设置编译使用ccache,支持 info 文档
看了下man多了几个选项
-b, --dbpath path
Specify an alternative database location (default is
"/var/lib/pacman/"). This should not be used unless you know
what you are doing.
-r, --root path
Specify an alternative installation root (default is "/").
This should not be used as a way to install software into
/usr/local instead of /usr. This option is used if you want
to install a package on a temporary mounted partition which
is "owned" by another system. By using this option you not
only specify where the software should be installed, but you
also specify which package database and cache location to
use.
这两个选项可能在修复系统的时候比较有用,使用arch的启动盘进去
不需要chroot即可安装软件包
--cachedir dir
Specify an alternative package cache location (default is
"/var/cache/pacman/pkg/"). This should not be used unless you
know what you are doing.
--config filepath
Specify an alternate configuration file.
QUERY OPTIONS
-p, --file
Signifies that the package supplied on the command line is a
file and not an entry in the database. The file will be
decompressed and queried. This is useful in combination with
--info and --list. |
|