Changes

Jump to: navigation, search

Package managers

889 bytes added, 09:20, 14 December 2007
added more
|| <code>emerge --unmerge ''package''</code><br/>
<code>emerge --prune ''package''</code>
|-
| colspan="4" align="center" | '''Package installation from repositories'''
|-
! Install a ''package''
|| <code>yum install ''package''</code><br/>
<code>urpmi ''package''</code>
|| <code>apt-get install ''package''</code><br/>
<code>aptitude install ''package''</code>
|| <code>emerge -av ''package''</code>
|-
! Only download a ''package'' from repository, do not install
|| <code>-???-</code>
|| <code>apt-get install --download-only --reinstall ''package''</code><ref name="dpkgdir">Package will reside in /var/cache/apt/archives.</ref>
|| <code>emerge -avf ''package''</code><ref name="distfiles">Package sources will reside in /usr/portage/distfiles.</ref>
|-
| colspan="4" align="center" | '''Get information about package interdependencies'''
|-
! What a given ''package'' requires?
|| <code>rpm -q --provides requires ''package''</code>
|| <code>dpkg-query -W -f='${Depends}\n' ''package''</code>
|| <code>-???-</code>
|| <code>-???-</code>
|| <code>-???-</code>
|-
| colspan="4" align="center" | '''Working with package files'''
|-
! Unpack a package ''file'' to local directory
|| <code>rpm2cpio ''file.rpm'' | cpio -id</code>
|| <code>dpkg -x ''file.deb'' .</code>
|| N/A
|}
== Notes==
<references/>

Navigation menu