You are on page 1of 2

APT APT

apt search
aptitude APT,
search-string
-. aptitude.
apt list -a
DebianGNU/Linux
synaptic APT, 9.0 - Debian 9 Stretch 2016-07-09
package-name
. synaptic. http://www.debian.org/

apt show

package-name Dpkg online
. dpkg -l [names] . man page or man

apt show -a dpkg -I pkg.deb bash
( .
package-name .
).
dpkg -c pkg.deb command [--help,
.
apt install -h] .

package-names
. dpkg -S filename ,
. /usr/share/doc/
README.Debian
package-name/
apt upgrade dpkg -i pkg.deb
. .
. , ,
apt upgrade, check sums
debsums (FAQ),
apt full-upgrade ,
HOWTO, .
. debsums.
http://www.
dpkg-divert
apt remove debian.org/doc/
[options] file .
package-names
. dpkg --compare-
versions v1 gt , ,

apt autoremove v2 echo $?. users.
http://lists.
.
dpkg-query -W debian.org/
, .
--showformat= H
apt depends ${Package} ${Version}
format
package-name ${Installed-Size}\n. http://wiki. .
. dpkg --get-
debian.org/
selections >
apt rdepends .
file
package-name
. dpkg --set-

selections <
.
file
apt-le update ,

apt
http:
update. http://www.
//www.debian.org/devel/
apt-le search debian.org/
/etc/network/ debian-installer/
file-name . devel/debian-
interfaces . installer/
apt-le list ,
package-name .
ifup, ifdown
[device]
, http://www. http://www.debian.
. debian.org/ org/distrib/
auto-apt
apt-le, distrib/

auto-apt. /sbin/ip
,
aptitude.

.. systemctl (c),

/ DHCP restart (x),
boot:expert . tar [c][x][t][z][j][J]
LILO name.service (t)
-f file.tar
GRUB. systemctl stop , z
[files]
name.service . .gz , j .bz2, J
systemctl start .xz.
name.service .
nd directories -name
(bugs) systemctl halt expressions -size
. +1000, ..
http://bugs. . systemctl reboot . -
grep search-
debian.org/ systemctl powero .
string files
http://bugs. .
debian.org/package-name/ ,
systemctl suspend ln -s file link
, wnpp .
.
ps [options]
. .
systemctl ,
reportbug hibernate .
e-mail. kill [-9] PID
. X
ps PID.
/var/log/ ,
su - [username]
http:/ http://www.debian.org/ . . root.
/www.debian.org/ Bugs/Reporting
Bugs/Reporting /etc/default/
sudo command
. ,
/etc/sudoers.


command > file
/etc/
cat files .
/etc/. .
cd directory .
. command >> file
editor files cp files dest .
.
nano, emacs, vi, joe. /
echo string cmd1 | cmd2 1 ,
.
CUPS at http:// gzip, bzip2, xz [-d] , 2.

hostname:631 files .
. command < file
.
pager files
, . keyboard- .
dpkg-recongure configuration (
ls [files]
package-name ), locales . APT
( mkdir directory-
.
). names
update- M,
mv file1 file2
alternatives .
. rm files . apt update /etc/apt/sources.list.
options

rmdir dirs
update-grub .
/etc/default/grub.
.

You might also like