View previous topic :: View next topic |
Author |
Message |
CS01 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Jun 2003 Posts: 29
|
Posted: Tue Aug 01, 2006 8:40 am Post subject: Was braucht welches Paket |
|
|
Hallo,
ich habe ein paar Pakete installiert z.b. cvs und nun will ich wissen welche anderen Pakete cvs benötig.
Gibt es dafür einen Befehl.
MfG
Christian |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
firefly Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
Joined: 31 Oct 2002 Posts: 5329
|
Posted: Tue Aug 01, 2006 8:51 am Post subject: |
|
|
equery ist im gentoolkit paket drinn _________________ Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
freigeist Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/18781324754498dc38ef20b.png)
Joined: 26 Jan 2004 Posts: 338 Location: Cologne, Germany
|
Posted: Tue Aug 01, 2006 6:46 pm Post subject: |
|
|
Vielleicht noch etwas schicker und das Tool meiner Wahl für dies und viele andere Themen, die Paketabhängigkeiten betreffen (und das ausserdem noch ein funktionierendes depclean bietet und das worldfile aufräumen kann) ist udept:
Am Beispiel mc:
Code: |
# dep -l mc
app-misc/mc-4.6.1-r1:
=dev-libs/glib-2* dev-libs/glib-2.10.3
dev-util/pkgconfig dev-util/pkgconfig-0.20
gpm? >=sys-libs/gpm-1.19.3 sys-libs/gpm-1.20.1-r5
ncurses? >=sys-libs/ncurses-5.2-r5 sys-libs/ncurses-5.5-r3
pam? >=sys-libs/pam-0.72 sys-libs/pam-0.78-r5
X? || x11-libs/libICE x11-libs/libICE-1.0.1
X? || x11-libs/libSM x11-libs/libSM-1.0.1
X? || x11-libs/libX11 x11-libs/libX11-1.0.3
X? || x11-libs/libXau x11-libs/libXau-1.0.2
X? || x11-libs/libXdmcp x11-libs/libXdmcp-1.0.1
|
Und am Beispiel cvs:
Code: |
# dep -l cvs
dev-util/cvs-1.12.13-r1:
>=sys-libs/zlib-1.1.4 sys-libs/zlib-1.2.3
pam? virtual/pam sys-libs/pam-0.78-r5
|
Man sieht die benötigten Pakete inkl. Versionsanforderungen, sowie die optional benötigten Pakete in Abhängigkeit der USE Flags.
Udept gibt es im sunrise overlay (emerge layman; echo "source source /usr/portage/local/layman/make.conf
>> /etc/make.conf" layman -f; layman -a sunrise; emerge udept).
Hier die kompletten Kommandos:
Code: |
dep v. 0.5.95.2 "Strange And Complex Entities"
an inappropriate Portage engine!
Usage: dep [OPTION]... [ACTION | INFO-TYPE [PACKAGE | VIRTUAL | FILE | USE |
CATEGORY | PATTERN]...]
List dependencies and reverse dependencies of packages, and clean the world file
and the set of installed packages.
Action selection:
--usage Display usage
-h, -?, --help Display this help
-V, --version Show version
-P, --purge Unmerge unneeded SLOTted packages (of PACKAGE...)
-d, --depclean Unmerge all unneeded packages (of PACKAGE...)
-w, --pruneworld Remove redundant entries from the world file
-E, --filter-etc-portage Remove redundant entries from files in /etc/portage
-s, --spring-clean An incredibly slow recursive depclean
-O, --overlay-clean Identify unused ebuilds in an overlay
Info types:
-c, --category Show category resolutions of PACKAGE
-C, --catpackages Show packages in CATEGORY
-e, --versions List versions of PACKAGE, with status
-f, --contents List contents of PACKAGE
-F, --owners List packages owning FILE
-g, --search Search for packages matching PATTERN
-i, --info Display PACKAGE info (HOMEPAGE, DESCRIPTION, etc.)
-j[num], --changelog[=num] Display Portage ChangeLog entries for PACKAGE
-k, --keywords Show per-arch keyword status for PACKAGE
-l, --depends (default) List dependencies of PACKAGE
-L, --rev-depends List reverse dependencies of PACKAGE
-r, --provides List virtuals PACKAGE provides
-R, --virtuals List packages providing VIRTUAL
-S, --depstrings Display the dependency strings for PACKAGE
-t, --tree-depends Display the full dependency tree for PACKAGE
-T, --reverse-tree Display the reverse dependency tree for PACKAGE
-u, --usedesc Show USE flags and descriptions of PACKAGE
-U, --iuse List packages that (say they) respect USE
-x, --exists Show whether PACKAGE depends on later PACKAGEs
-X, --rev-exists Show whether later PACKAGEs depend on PACKAGE
-z, --size Display disk space used by PACKAGE
Options: (--option=[yes,no] unless otherwise indicated) (default)
±K, --colour[=yes,no,auto,html] Colour output (auto)
±v[num], --verbose[=num] Verbosity level (cumulative) (1 console, 0 pipe)
±1, --for-emerge Produce output suitable for emerge --oneshot (no)
±b, --build-time Include deps needed to build PACKAGE (yes)
±o, --original-depends Calculate deps as when PACKAGE was merged (no)
±q, --unique-depends Show dependencies that only PACKAGE requires (no)
±D[num], --depth[=num] Depth to follow dependency trees (unlimited)
±n, --uninstalled Include uninstalled packages in searches (no)
±a, --ask For -[Pdw]: ask to perform action (yes)
±p, --pretend For -[Pdw]: just show what would be done (no)
|
_________________ Elfenbeinturm.cc
a metaphysical space of solitude and sanctity: http://www.elfenbeinturm.cc |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|