community man page

apk

GNU

Alpine Linux package management tool.

8 examples·source: tldr · CC-BY·status: verified
Reading is open to everyone. Suggesting a flag, fixing an example or adding a recipe is opening to verified-email accounts soon — every change is moderated before it goes live.
curl https://curlhub.sh/man/apk
same page, in your terminal

Examples

Update repository indexes and upgrade all packages GNU

apk upgrade [-U|--update-cache]

Only update repository indexes GNU

apk update

Install a new package GNU

apk add package

Remove a package GNU

apk del package

Repair/Reinstall a package without modifying main dependencies GNU

apk fix package

Search for packages with a keyword in their name and list results with descriptions GNU

apk search [-v|--verbose] keyword

Search for packages with a keyword in their description GNU

apk search [-d|--description] keyword

Display information about a specific package GNU

apk info package