AGENT SKILL

apt-package-manager

Search, install, and verify Debian or Ubuntu packages with apt-get in the container.

License 许可
MIT
最近更新
2026-07-28
Stars
★ 40
Forks
1

01 前言 Front Matter

name
apt-package-manager
description
Search, install, and verify Debian or Ubuntu packages with apt-get in the container.

03 SKILL.md 正文

Apt Package Manager

Use this skill when a task requires installing or verifying Linux packages in this Ubuntu environment.

Notes

  1. Shell commands already run as root, so sudo is unnecessary.
  2. Prefer apt-get over interactive frontends such as apt.
  3. Install only the specific packages you need for the task.
  4. Do not run broad upgrade commands such as apt-get upgrade or dist-upgrade unless the task explicitly requires them.

Common commands

Refresh package metadata:

apt-get update

Search for package names:

apt-cache search "<keyword>"
apt-cache policy <package>

Install one or more packages:

apt-get install -y <package>
apt-get install -y <package1> <package2>

Verify installation:

command -v <binary>
dpkg -s <package>
<binary> --version

Suggested workflow

  1. Identify the package name with apt-cache search if needed.
  2. Run apt-get update before the install if package metadata may be stale.
  3. Install the minimal package set with apt-get install -y.
  4. Verify the installed binary or package state before finishing.

04 同仓库更多 Skills