Вы находитесь на странице: 1из 3

Hardcore

Linux

Hardcore
Linux

APT:
, , APT...



APT,
,
?
,

,

APT advanced [],


Synaptic,
,
RPM.
Debian, ? , ,
Ubuntu, , ,
. 56.
, , . , . ...
APT




apt-cache apt-file
!
APT- ,
. APT (
), .
,


Advanced Packaging Tool [ ]
, Libapt. -

, dpkg
Debian. APT , dpkg .
, :
apt-get install foobar
foobar,
apt-cache search foobar
, ,
apt-cache search foo
, , , , lighttpt,
minimal memory footprint. ,
, , :
apt-cache search ^foo
,
. , $ , ,
.
, APT,
( sudo Ubuntu):
apt-get install apt-file

: apt-file ,
. , aptfile update, . ,
:
apt-file search apache2ctl
, apache2ctl,
apache2.2-common,
. ,
apt-file , :
apt-file list apache2.2-common

Upgrade dist-upgrade
APT : apt-get upgrade aptget dist-upgrade.
, ,
. , - ,
. APT , ,
,
.

KDE.
72

Linux Format 2007

Hardcore Linux

, /bin /usr/bin, apt-file.


,
, APT
.
Crack Attack, :
.
Debian, ,
: netselect-apt. , netselect,
, . netselect-apt
, ) debian.org, )
, ) ) sources.list
.
, apt-get install netselect-apt , netselect-apt
. sources.list
, sources.list
, .
Debian, , , Ubuntu,
netselect-apt, Synaptic.
:
1 Synaptic > >
Synaptic.
2 >
3 Ubuntu,
...
, ,
, Ubuntu netselect Ubuntu. , .


, ? ,

,
, .
,

, , , - ,
!
APT dpkg --get-selections.

. :
dpkg --get-selections > software

software: , , . (, /home),

,
. , , Windows
,
C:\, Linux : /bin, /sbin, /usr ,
!
, , ! - --getselections, ( , !) --set-selections.
,
pkglist :
dpkg --set-selections < pkglist
,
. apt-get, ,
, , ,
:
apt-get dselect-upgrade
, , , , !

netselect-apt
Ubuntu
Synaptic

Select Best Server
[
] ,


.


. --getselections 3000 ,
. APT ,
, .
, , !
/var/cache/apt/archives.
, , , , ,
,
2007 Linux Format

73

Hardcore Linux
. rm *,
: . APT
:
apt-get autoclean
apt-get clean
,
( , ,
, ). , , , ,
.
, autoclean . clean.


-?

apt-get moo

dpkg -get-selections

apt-get remove ,
: - ,
. ,
Windows
, !
, - ,
,
, .
, ,
--purge apt-get remove, APT , . Synaptic, --purge
.
, APT
. ,
. ,
? , : ,
, ,
. , !
APT , : apt-get
autoremove. , , .
,
KDE KDE-; , , ,
. , .
,
APT ,
, , .

( ) Gentoo, Debian
: , ,
. ,


, dselect
APT. , Mr Tambourine Man
[William Shatner] , , .
,
, ,

, dselect .
APT, , , Synaptic
. , Aptitude ( aptitude
), , ,
, dselect.

dselect.
! , Aptitude...

,
. ,
, Debian ,
,
.


APT
.
Debian, , deb-src
deb- sources.list. Ubuntu,
Synaptic ,
.
:
apt-get -b source anjuta
,
, , E: Child
process failed [ ]. , ,
dpkg-checkbuilddeps: Unmet build dependencies, ,
,
Anjuta.
Anjuta , .
APT : apt-get build-dep.
, . :
apt-get build-dep anjuta
APT
Anjuta,
apt-get -b source anjuta :
.
( ,
), apt-get .deb, , :
dpkg -i anjuta-some-version.deb
, , 100%
.
Anjuta , , , FFmpeg Mplayer,
! LXF

Gentoo -f-upgrade-skills.
74

Linux Format 2007