apt
Program: apt
Shows the package database (installing comes in LPIC-1).
Usage
apt list|search|show|policy [OPTION]... [PACKAGE]...
Description
Show the package database: list packages, search them, show the details or the versions of one. Installing packages comes in the LPIC-1 path.
Options in the simulator
11 more options of the real program, not in the simulator yet
Examples
apt list --installed
Listing... Done
adduser/stable,now 3.152 all [installed,automatic]
apt/stable,now 3.0.3 amd64 [installed,automatic]
bash/stable,now 5.2.37-2+b10 amd64 [installed,automatic]
bind9-dnsutils/stable-security,now 1:9.20.30-1~deb13u1 amd64 [installed]
coreutils/stable,now 9.7-3 amd64 [installed,automatic]
cron/stable,now 3.0pl1-197 amd64 [installed]
curl/stable-security,now 8.14.1-2+deb13u7 amd64 [installed]
iproute2/stable,now 6.15.0-1 amd64 [installed]
iputils-ping/stable,now 3:20240905-3 amd64 [installed]
passwd/stable,now 1:4.17.4-2 amd64 [installed,automatic]
procps/stable,now 2:4.0.4-9 amd64 [installed]
psmisc/stable,now 23.7-2 amd64 [installed]
rsync/stable-security,now 3.5.0+ds1-0+deb13u1 amd64 [installed]
sudo/stable-security,now 1.9.16p2-3+deb13u2 amd64 [installed]
systemd/stable,now 257.13-1~deb13u1 amd64 [installed]
util-linux/stable,now 2.41.5-0+deb13u1 amd64 [installed,automatic] Where you learn it
Lessons
- Schedules, logs and packages Linux Basics, Module 10: Sysadmin everyday