. : ( ), , , , , . .
Linux , , . rpm, dpkg, Debian, tgz ( tar.gz tar, gzip, GNU Zip), , . , , , . .
- , : , , , .
:
, , ;
, / , ( , ). , : , , , , . .
() : "/ ". ( ) . , , .
, , ( , , . .).
APT (Advanced Package Tool). Debian dpkg, , rpm.
|
|
apt-get, :"apt-get install _ ", : APT .
, . Linux , . APT , apt-cache. ( ) ( ). " apt-cache search " APT , , .
APT : , , , , , , , "apt-get remove _ ".
APT , . APT /etc/apt/sources.list, (, "cdrom:", "ftp:", "file:" .) .
:
1) ?
2) ?
3) ?
4) ?
5) ?
:
1. . . . 4- . 2015
2. . . Linux 4- - 2012
26. Linux.
:
1. tar
2.
3. tar gzip
Linux Linux. - , , , . UNIX (, , Linux) tar gzip. Linux tar. , , . , , , zip, bz, xz, lzma . , , . tar .
tar
Tar - , Linux. . :
|
|
$ tar f __ /_ __
:
A -
c - linux
d -
j - Bzip
z - Gzip
r -
t -
u -
x -
v -
f -
-C -
--strip-components - n
Linux. :
$ tar -cvf archive.tar.gz /path/to/files
tar linux:
$ tar -xvf archive.tar.gz
c - Create, - x - eXtract.
, -z, , gizp, bzip -j:
$ tar -zcvf archive.tar.gz /path/to/files
$ tar -zxvf archive.tar.gz
, Linux:
$ tar -zcvf home.tar.gz ~/
-, tar, , :
$ gzip archive.tar
:
gunzip archive.tar.gz
:
$ tar -rvf archive.tar file.txt
:
$ tar -xvf archive.tar file.txt
wildcard, , php :
$ tar -xvf archive.tar --wildcards '*.php'
tar linux , -C:
$ tar -xvf archive.tar -C /path/to/dir