Apt-get

From Wsms

Jump to: navigation, search

apt-get

common usage

Install emacs:

root@mckinley:~# apt-get -y install emacs
...

Remove unwanted packages:

root@linuxmint-4:~# apt-get autoremove mintupdate
...

Upgrade to a new version of your distro. Be careful, I've tried it several times without success.

root@linuxmint-4:~# apt-get dist-upgrade
...

tips

If you see something like:

W: GPG error: http://ftp.de.debian.org unstable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A70DAF536070D3A1

You need to import the public key.See http://wiki.debian.org/SecureApt

see also

man apt-get
yum
dpkg
Personal tools