Skip to content
Jason Charney edited this page Feb 10, 2015 · 1 revision

TODO: This page is a work in progress

The recommended operating system for Odroid is Debian, and as such reguardless if you install software from source or from binaries, knowing those commands is important to doing specific tasks.

dpkg

Show information about a package

dpkg --status <string>

Shows the information about a package. This is useful if you want to know if the software is installed or not.

Alternatively, you could use dpkg-query.

This command really just shows the installed packages (ii) in /var/lib/dpkg/status

pkg-config

Find the libraries path or arguments

pkg-config <string> --libs

Generally it will output an answer that starts with -L/usr/lib or -L/usr/local/lib. Arguements start with -l<string>

apt-cache

List a package matching a query

apt-cache search <string>

Generally the software that is installed is listed first. Anything that isn't is listed secondary.

Get more information about a specific package

apt-cache show <string>

apt-get

apt-get commands require root access, so to use this command you will need to start with sudo.

Update and Upgrade software

sudo apt-get update && sudo apt-get upgrade

Update will check the repositories for new software, and upgrade will install the software.

aptitude

If all this is confusing, or you need a textual user interface, run sudo aptitude

Clone this wiki locally