Pengen Punya WebSite instan kualitas intan ?

Tuesday, October 12, 2010

apt-get & dpkg pada Debian

Hallo...ni sedikit ringkasan perintah apt-get dan dpkg pada debian

* update daftar paket

apt-get update

* upgrade all installed packages

apt-get upgrade

* installs package
apt-get install nama_paket


* uninstall package
apt-get remove nama_paket

* show all installed and removed packages
dpkg -l

* show install status of package
dpkg -l nama_paket

* show status of package
dpkg -s nama_paket

* show details of package
dpkg -p pkg

* list relevant packages
apt-cache search string

* install package from a deb file
dpkg -i file.deb

* purge package (and config?)
dpkg -P nama_paket

* re-run the configure for a package
dpkg-reconfigure nama_paket

* get the source
apt-get source nama_paket

* config build-deps for source and install as needed
apt-get build-dep

* install package from specific release
apt-get -t release install nama_paket

* prevent name from running at bootup

update-rc.d -f name remove

* upgrade the distribution

apt-get dist-upgrade


untuk lebih lengkapnya, baca ndiri manualnya yack :)

0 comments:

Post a Comment