Lösungen: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(→apt) |
(→tar) |
||
| Zeile 55: | Zeile 55: | ||
# Wechselt in das Verzeichnis und packt aber nichts (ein) | # Wechselt in das Verzeichnis und packt aber nichts (ein) | ||
# Packt obst im Homeverzeichnis in obst3.tgz | # Packt obst im Homeverzeichnis in obst3.tgz | ||
| + | |||
#root@zero:/usr/local/ssl/bin# cd /usr/src/ | #root@zero:/usr/local/ssl/bin# cd /usr/src/ | ||
| − | + | wget http://archive.ubuntu.com/ubuntu/pool/universe/b/bing/bing_1.1.3.orig.tar.gz | |
| − | cd | + | tar -xvzf bing_1.1.3.orig.tar.gz |
| − | + | cd bing-1.1.3/ | |
make | make | ||
make install | make install | ||
| − | + | bing | |
| − | |||
Version vom 29. Juli 2009, 12:32 Uhr
apt
- apt-get update
- apt-get install ding
- apt-get dist-upgrade
- apt-get remove avahi-daemon
- apt-get purge ding
- apt-get check
- apt-get autoremove
- cd /usr/local/src; apt-get source pidgin
- apt-get autoclean
- apt-cache search md5sum
- apt-get install apt-file
- apt-file update
- apt-file search bluetooth.h
aptitude
- aptitude install lighttpd
- aptitude download tftpd
- aptitude safe-upgrade
- aptitude search supertux
- aptitude show traceroute
-> Unkomprimierte Größe: 184k oder aptitude -s install traceroute -> Nach dem Entpacken werden 184kB zusätzlich belegt sein.
- aptitude why xinetd
aptitude install xinetd
- aptitude auto-clean
dpkg
- aptitude download udpcast; dpkg -i udpcast_20040531-1_i386.deb
- dpkg -c udpcast_20040531-1_i386.deb
- dpkg -l *dvd*
- dpkg -S smb.conf
- dpkg -s avahi-daemon
- dpkg -r udpcast
tar
- tar -cf obst.tar obst/
- tar -czvf obst.tar.gz obst/
- tar -cjvf obst.tar.bz2 obst/
- root@zero:~# ls -lh obst.tar*
-rw-r--r-- 1 root root 40K 2009-07-29 13:11 obst.tar -rw-r--r-- 1 root root 15K 2009-07-29 13:11 obst.tar.bz2 -rw-r--r-- 1 root root 16K 2009-07-29 13:11 obst.tar.gz root@zero:~# file obst.tar* obst.tar: POSIX tar archive (GNU) obst.tar.bz2: bzip2 compressed data, block size = 900k obst.tar.gz: gzip compressed data, from Unix, last modified: Wed Jul 29 13:11:14 2009
- tar -tf obst.tar
- root@zero:~/sommer# tar -xvf ../obst.tar
- cd /tmp/; tar -C ~/winter/ -xzf ~/obst.tar.gz
- Packt das Verzeichnis/die Datei obst in obst1.tgz
- Wechselt in das Verzeichnis und packt aber nichts (ein)
- Packt obst im Homeverzeichnis in obst3.tgz
- root@zero:/usr/local/ssl/bin# cd /usr/src/
wget http://archive.ubuntu.com/ubuntu/pool/universe/b/bing/bing_1.1.3.orig.tar.gz tar -xvzf bing_1.1.3.orig.tar.gz cd bing-1.1.3/ make make install bing