Wajig is designed to run as a normal user, using sudo as required. It can also be run as root without any extra setup (i.e., without the need for sudo). Using sudo requires a little setting up as described below in Section .
Try the help command for a list of common commands provided by wajig:
$ wajig help
Examples commands include:
$ wajig update (= apt-get update) $ wajig install less (= apt-get install less) $ wajig new (list new packages since last update) $ wajig newupgrades (list packages upgraded since last update) $ wajig updatealts editor (update the default "editor") $ wajig restart apache (restart the apache daemon) $ wajig listfiles less (list the files supplied by the "less" pkg) $ wajig whichpkg stdio.h (what package supplies this header file) $ wajig whatis rats (one line description of the package "rats") $ wajig orphans (list libraries not required by other pkgs)
For a complete list of available commands increase the level of verbosity of the help command:
$ wajig -v help All wajig commands: autoclean Remove all superseded downloaded deb files bug Check for reported bugs in package using the Debian Bug Tacker build Retrieve/unpack sources and build .deb for the named packages dist-upgrade Upgrade to a new distribution (installed and new rqd packages) clean Remove all downloaded deb files describe Provide a description of package (-v and -vv for more detail) doc Equivalent to help with -verbose=2 editsources Edit the sources.list file which locates Debian archives findfile Search for a file within installed pacakges force Install package even if it overwrites files from other pkgs help Print documentation (detail depends on --verbose) hold Place listed packages on hold so they are not upgraded init Initialise or reset the wajig archive files install Install (or upgrade) one or more packages or a .deb file integrity Check the integrity of installed packages (through checksums) lastupdate Identify when an update was last performed list List the status of every known package listalts List the objects that can have alternatives configured listfiles List the files that are supplied by the named package listnames List all known packages or those containing supplied string new List packages that became available since last update newupgrades List packages newly available for upgrading orphans List libraries not required by any installed package purge Remove one or more packages and configuration files reconfigure Reconfigure the named installed packages reinstall Reinstall each of the named packages remove Remove one or more packages (see also purge) repackage Generate a .deb file for an installed package reset Initialise or reset the wajig archive files search Search for packages containing listed words source Retrieve and unpack sources for the named packages status Show the version and available version of packages toupgrade List packages with newer versions available for upgrading update Update the list of downloadable packages updatealts Update the default alternative for things like x-window-manager upgrade Upgrade all of the installed packages whatis For each package named obtain a one line description whichpkg Find the package that supplies the given command or file Command line options: -h|--help Print usage message. -q|--quiet Do system commands everything quietly. -t|--teaching Trace the sequence of commands performed. -v|--verbose=n Increase (or set) the level of verbosity (to n). Run `wajig -vv help' for documentation.