独立发行版Pardus(pisi)

此次对Pardus感兴趣,是因为它的包管理pisi。发行版用多了你该会了解到很多如debian/ubuntu的apt-get、fedora的yum、suse的zypper、arch的pacman等等。有人说pisi机制堪比pacman,不过它源少,没有china源,所以国内速度很慢。不知是否有人提供了一些快的源呢。

下面简单的看看pisi吧。

pisi的命令:

linuxsight@linuxsight ~ $ pisi help
usage: pisi [options] <command> [arguments]

where <command> is one of:

add-repo (ar) - Add a repository
blame (bl) - Information about the package owner and release
build (bi) - Build PiSi packages
check - Verify installation
clean - Clean stale locks
configure-pending (cp) - Configure pending packages
delete-cache (dc) - Delete cache files
delta (dt) - Creates delta packages
disable-repo (dr) - Disable repository
emerge (em) - Build and install PiSi source packages from repository
enable-repo (er) - Enable repository
fetch (fc) - Fetch a package
graph - Graph package relations
help (?) - Prints help for given commands
history (hs) - History of pisi operations
index (ix) - Index PiSi files in a given directory
info - Display package information
install (it) - Install PiSi packages
list-available (la) - List available packages in the repositories
list-components (lc) - List available components
list-installed (li) - Print the list of all installed packages
list-newest (ln) - List newest packages in the repositories
list-pending (lp) - List pending packages
list-repo (lr) - List repositories
list-sources (ls) - List available sources
list-upgrades (lu) - List packages to be upgraded
rebuild-db (rdb) - Rebuild Databases
remove (rm) - Remove PiSi packages
remove-repo (rr) - Remove repositories
search (sr) - Search packages
search-file (sf) - Search for a file
update-repo (ur) - Update repository databases
upgrade (up) - Upgrade PiSi packages

Use "pisi help <command>" for help on a specific command.

Options:
--version                    : show program's version number and exit
-h [--help]                  : show this help message and exit

general options:
-D [--destdir] arg          : Change the system root for PiSi commands
-y [--yes-all]              : Assume yes in all yes/no queries
-u [--username] arg
-p [--password] arg
-L [--bandwidth-limit] arg  : Keep bandwidth usage under specified KB's
-v [--verbose]              : Detailed output
-d [--debug]                : Show debugging information
-N [--no-color]             : Suppresses all coloring of PiSi's output

pisi的配置文件:

linuxsight@linuxsight ~ $ cd /etc/pisi
linuxsight@linuxsight pisi $ ls
mirrors.conf  pisi.conf  sandbox.conf

命令使用举例:

用root的权限   pisi  it opera  就可以安装了,注意到软件后缀为pisi。

安装完opera出现在了菜单里。

这里只是对pisi简单的介绍,具体怎么用要靠大家去慢慢摸索,或者去官方寻找答案。

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: