opkg

opkg Cheatsheet #

opkg is a lightweight package management system used primarily for embedded systems. It is used to install, remove, and manage packages.

Basic Commands #

Command/OptionExampleDescription
opkg updateopkg updateUpdate the list of available packages
opkg upgradeopkg upgradeUpgrade installed packages
opkg installopkg install <package>Install a package
opkg removeopkg remove <package>Remove a package
opkg listopkg listList all available packages

Package Management #

Command/OptionExampleDescription
opkg infoopkg info <package>Show information about a package
opkg searchopkg search <package>Search for a package
opkg filesopkg files <package>List files installed by a package

Configuration #

Command/OptionExampleDescription
opkg-configopkg-configDisplay opkg configuration settings
opkg-config --editopkg-config --editEdit opkg configuration

Repository Management #

Command/OptionExampleDescription
opkg repo addopkg repo add <repo-url>Add a new repository
opkg repo removeopkg repo remove <repo-url>Remove a repository
opkg repo listopkg repo listList all repositories

Advanced Commands #

Command/OptionExampleDescription
opkg list-installedopkg list-installedList all installed packages
opkg whatdependsopkg whatdepends <package>Show packages that depend on a specific package
opkg files <package>opkg files <package>List files contained in a package

This cheatsheet covers essential opkg commands for managing packages on embedded systems, including package installation, removal, and repository management.

opkg

Explore our comprehensive cheatsheets to enhance your knowledge and efficiency. Each cheatsheet provides detailed command options, examples, and descriptions to help you master various tools and technologies.