Changes

Jump to: navigation, search

Package managers

31 bytes added, 02:02, 26 December 2008
Commands
|| <code>rpm -qi ''package''</code>
|| <code>dpkg -p ''package''</code>
|| <code>-???-eix ''package''</code>
|-
! List of files in a given ''package''
|| <code>rpm -q --scripts ''package''</code>
|| <code>less /var/lib/dpkg/info/''package''.{pre,post,config}*</code>
|| <code>-???-cat `equery which ''package''`</code>
|-
! Show change log for a ''package''
|| <code>rpm -ihv ''package_file*.rpm''<br/>yum localinstall ''package_file*.rpm''<ref name="localinstall">In case there are unsatisfied dependencies for ''package_file'', yum will try to get and install it from known repositores.</ref></code>
|| <code>dpkg -i ''package_file*.deb'' <ref name="apt">Usually it is not necessary to download packages manually and install them. Use apt-cache search ''name'' to search for package in configured repositories and apt-get install ''package'' to install package and all it's dependencies</ref></code>
|| <code>-???-N/A</code>
|-
! Upgrade a package from local ''package_file''
|| <code>rpm -Uhv ''package_file*.rpm''</code>
|| <code>dpkg -i ''package_file*.deb'' <ref name="apt"/></code>
|| <code>-???-N/A</code>
|-
! Remove an installed ''package''
5
edits

Navigation menu