apt-package-manager

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

39|1|Updated Jul 2, 2026
One-click install
npx skills add https://github.com/HKU-MMLab/UniClawBench --skill apt-package-manager-hku-mmlab
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: apt-package-manager
Source: https://github.com/HKU-MMLab/UniClawBench/tree/main/docker/base_skills/apt-package-manager
Command: npx skills add https://github.com/HKU-MMLab/UniClawBench --skill apt-package-manager-hku-mmlab

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Setting up a Linux environment often requires installing system packages, and doing it incorrectly can waste time on failed installs, stale package metadata, or unnecessary upgrades. This Skill provides a disciplined workflow for finding, installing, and verifying Debian/Ubuntu packages inside a container. ## Core Features & Use Cases - Package Discovery: Search for the correct package name with apt-cache search and check candidate versions with apt-cache policy. - Safe Installation: Refresh metadata with apt-get update and install only the minimal required packages using apt-get install -y, avoiding broad upgrades. - Installation Verification: Confirm success with command -v, dpkg -s, or version checks before finishing a task. - Use Case: A task requires the jq JSON processor in an Ubuntu container. Use this Skill to update package metadata, install jq, and verify the binary works before proceeding. ## Quick Start Install the jq package in this Ubuntu container and verify that the jq binary is available.

Frequently Asked Questions about apt-package-manager

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I install a package on Ubuntu from the command line?▼

Run apt-get update to refresh package metadata, then apt-get install -y <package> to install non-interactively. Verify the result with command -v <binary> or dpkg -s <package>.

How to find the correct apt package name for a tool?▼

Use apt-cache search with a keyword to list matching package names, then apt-cache policy <package> to check the candidate version and availability before installing.

Should I use apt or apt-get in scripts and containers?▼

Prefer apt-get over apt in scripts and containers. apt is an interactive frontend with a changing interface, while apt-get provides stable, script-friendly behavior.

Do I need sudo for apt-get inside a Docker container?▼

No, shell commands in this environment already run as root, so sudo is unnecessary. Run apt-get update and apt-get install -y directly.

Why avoid apt-get upgrade when installing packages?▼

Broad upgrades like apt-get upgrade or dist-upgrade change many unrelated packages and can break the environment. Install only the specific packages the task requires unless an upgrade is explicitly requested.