Suchart.Blog –> ITupstart.com

Gentoo Package Management

TODO

A Portage Introduction

.

mygentoo ~ # emerge –help
emerge: the other white meat (command-line interface to the Portage system)
Usage:
emerge [ options ] [ action ] [ ebuildfile | tbz2file | dependency ] [ ... ]
emerge [ options ] [ action ] < system | world >
emerge < –sync | –metadata | –info >
emerge –resume [ --pretend | --ask | --skipfirst ]
emerge –help [ system | world | --sync ]
Options: -[abBcCdDefgGhkKlnNoOpqPsStuvV] [--oneshot] [--newuse] [--noconfmem]
[ --color < y | n >  ] [ --columns ]
[ --reinstall changed-use ] [--nospinner]
[ --deep  ] [--with-bdeps < y | n > ]
Actions: [ --clean | --depclean | --prune | --regen | --search | --unmerge ]

For more help try ‘emerge –help –verbose’ or consult the man page.
mygentoo ~ #
.

# emerge –sync

# emerge -s search_string

# emerge -av pkg_name

# emerge –unmerge pkg_name

# emerge -p pkg_name

# emerge -p -u –deep world

.

/etc/make.conf

/etc/portage/package.keywords

/etc/portage/package.use

.

===========

# emerge gentoolkit

mygentoo ~ # equery
!!! No command or unknown command given
Usage: equery <global-opts> command <local-opts>
where <global-opts> is one of
-q, –quiet   – minimal output
-C, –nocolor – turn off colours
-h, –help    – this help screen
-V, –version – display version info
-N, –no-pipe – turn off pipe detection
where command(short) is one of
belongs(b) <local-opts> files… – list all packages owning files…
changes(c)  – not implemented yet
check(k) pkgspec – check MD5sums and timestamps of pkgspec’s files
depends(d) <local-opts> pkgspec – list all direct dependencies matching pkgspec
depgraph(g) <local-opts> pkgspec – display a dependency tree for pkgspec
files(f) <local-opts> pkgspec – list files owned by pkgspec
glsa(a)  – not implemented yet
hasuse(h) <local-opts> useflag – list all packages with useflag
list(l) <local-opts> pkgspec – list all packages matching pkgspec
size(s) <local-opts> pkgspec – print size of files contained in package pkgspec
stats(t)  – not implemented yet
uses(u) <local-opts> pkgspec – display USE flags for pkgspec
which(w) pkgspec – print full path to ebuild for package pkgspec
.

# equery f pkg_name

# equery b file_name_full_path

No Comments Yet »

ยังไม่มีความเห็น

RSS feed สำหรับความเห็นต่อเรื่องนี้ TrackBack URI

ใส่ความเห็น

บลอกที่ WordPress.com .