Changes

Jump to: navigation, search

Package managers

61 bytes added, 16:30, 29 June 2012
better formatting
! Show change log for a ''package''
|| <code>rpm -q --changelog ''package''</code>
|| <code>zcat /usr/share/doc/''package''/changelog.Debian.gz</code><br/><code>aptitude [-t release] changelog ''package''</code>
|| <code>view /usr/portage/''category''/''package''/ChangeLog</code>
|| <code>pacman -Qc ''package''
! Which installed package(s) provide a given ''dependency''<ref name="dep">In rpm world, a ''dependency'' can be a package name, a file, or a special atom like <code>perl(IO::Zlib)</code> for a perl module. In deb world, this can be either real or virtual package name.</ref>?
|| <code>rpm -q --whatprovides ''dependency''</code>
|| <code>dpkg-query -W -f='${Package}: ${Provides}\n' '*' | grep ': .*package''dependency''<nowiki>'</nowiki></code>
|| <code>equery belongs ''dependency''</code>
||
! Which installed package(s) require a given ''dependency''<ref name="dep"/>?
|| <code>rpm -q --whatrequires ''dependency''</code>
|| <code>dpkg-query -W -f='${Package}: ${Depends}\n' '*' | grep ': .*''package''<nowiki>'</nowiki></code><br><code>aptitude why ''package''</code><ref name="why">Actualy shows the whole dpendency situation that leads to install this package</ref>
|| <code>equery depends ''package''</code>
|| <code>pacman -Qi package | grep Required</code>
! Show what prevents installation of a package
|| <code>(yum/rpm tells with --verbose option -v)</code>
|| <code>aptitude why-not ''package''</code>
|| <code>emerge -pv ''package''</code>
||

Navigation menu