Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Package managers

349 bytes added, 21:30, 13 November 2007
no edit summary
! Install a package from local ''package_file''
|| <code>rpm -ihv ''package_file*.rpm''</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>-???-</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>-???-</code>
|-
! Remove an installed ''package''
|| <code>rpm -e ''package''</code>
|| <code>dpkg -???-r ''package''</code>
|| <code>emerge --unmerge ''package''</code><br/>
<code>emerge --prune ''package''</code>
|-|}
 
<references/>