Difference between revisions of "Debian - handbook for apt-get"
From Blue-IT.org Wiki
Line 9: | Line 9: | ||
2. Suchen / search | 2. Suchen / search | ||
locate dateiname | grep muster | locate dateiname | grep muster | ||
+ | |||
+ | Beispiel für Dateinamen / Examples for filenames | ||
+ | locate *.rpm | grep synaptic | ||
+ | locate *.doc | grep tax | ||
+ | locate *.txt | ||
==APT== | ==APT== |
Revision as of 16:56, 12 August 2006
Konsole öffnen, als Administrator anmelden, dann...
Locate
Datei suchen / Search for files
1. Suchdatenbank aktualisieren / actuate search database
updatedb
2. Suchen / search
locate dateiname | grep muster
Beispiel für Dateinamen / Examples for filenames
locate *.rpm | grep synaptic locate *.doc | grep tax locate *.txt
APT
1. Updaten / update
apt-get update
2. Suchen / search
apt-cache search irgendein_name
3. Pakete installieren / install packages
apt-get install (--reinstall) irgendein_paket
4. Pakete deinstallieren (VOLLSTÄNDIG) / uninstall packages
apt-get remove (--purge) irgendein_paket
5. Distribution auf den neuesten Stand bringen / Distribution update
apt-get upgrade
6. Schiefgelaufene Installation wiederholen / Redo an installation
apt-get -f install
7. Komplettes Desaster korrigieren / Desaster recovery
dpkg --reconfigure -a