Entry submitted by Chris Lamb. DPOTD needs your help, please contribute !
Wajig is a simplified command line administrator for Debian written by Graham Williams.
dpkg and the start and stop scripts (among many, many others) into a single command, centralising typical Debian administration tasks and making commands easier to remember. Some commands are even overloaded to give them extra functionality.
For example, wajig install will accept the name of the package as an argument á la
$ wajig install lighttpd
But it will also accept a path to a local file:
$ wajig install ./lighttpd_1.4.13-9_i386.deb - install local package
Other useful commands that Wajig provides:
- Do an update followed by a download of all updated packages
- Check reported bugs in package using the Debian Bug Tacker
- Retrieve/unpack sources and build .deb for the named packages
- Retrieve latest changelog for the package
- List of packages which depend on the specified package
- Install package and associated suggested packages
- Install package and associated recommended packages
- Install package and recommended and suggested packages
- Install packages from specified distribution
- List size of all large (>10MB) installed packages
- Identify when an update was last performed
- Remove package and those it depend on and not required by others
- Trace the steps that a dist-upgrade would perform
- Trace the steps that an upgrade would perform
- Start or stop a service
A full list is available from the Wajig homepage, and also running wajig list-commands.
Wajig is ideal for users who simply wish to administer their system with a minimal amount of fuss, but is perhaps even more useful for users wishing to learn more about Debian’s package system with a hands-on approach. For example, the --teaching/-t command line option toggles the display of the underlying commands being executed. Even power users may also find a use for Wajig when performing less common tasks, or when they are simply feeling lazy.
Wajig is run as a normal user, but will invoke sudo when necessary. Tab completion of commands inside a Bash shell is available too.
Wajig has been available for ages in both Debian and Ubuntu.