Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have recently installed debian and found 'Wajig' to be a great package manager. It obviates the need for using different commands like apt-get, apt-cache, dpkg, deselect, aptitude etc. For quick searching and installation it is better than synaptic. It has numerous options covering virtually every aspect of package management. In many ways one is reminded of the famous package manager 'pacman' of Archlinux. I only wish there were a few more features there.
The first is colored output (as is there with 'yaourt', another good package manager of Archlinux). IMHO commandline programs with colored output are a separate class as compared to those without colored output and they are better than gui for many tasks.
Other feature (which is there in 'yaourt') is that one should only need to give a command: 'wajig <pkgname>' and the output (colored) should show the search result WITH status (whether installed or not) AND (brief) information AS WELL AS an option to install package(s) found. Hence minimal command line input combines 4 very commonly used options: search, status, info and install.
I only want to know why this program is not more frequently recommended (as compared to dpkg or apt-get)?
Wajig is a simplified wrapper to Debian's package management tools including dpkg and APT. Wajig provides the functionality of apt-get, dpkg, dpkg-deb, apt-cache and other tools. These tools launch as a subprocess.
Wajig expects a command and will call upon other Debian tools to perform the command.
apt-cache show wajig
Description: simplified Debian package management front end
Wajig is a single commandline wrapper around apt, apt-cache, dpkg,
/etc/init.d scripts and more, intended to be easy to use and providing
extensive documentation for all of its functions.
With a suitable sudo(1) configuration, most (if not all) package installation
as well as creation tasks can be done from a user shell. Wajig is also
suitable for general system administration.
If it works for you, go for it. I'll stick with dpkg-*, apt-get, deselect and the like. It gives me more control, especially when building packages.
The command 'wajig commands' produces a result as follows:
Mark the Alternative to be auto-set (using set priorities)
Remove no-longer-downloadable .deb files from the download cache
Do an update followed by a download of all updated packages
Remove unused dependency packages
And it is a long list. If I use command 'wajig commands | grep autoremove' I only get 'AUTOREMOVE' and not its description. If only the descriptions were on the same line as the name, one could search for required command. Is there any bash scripting method to circumvent this problem?
If I use command 'wajig commands | grep autoremove' I only get 'AUTOREMOVE' and not its description. If only the descriptions were on the same line as the name, one could search for required command. Is there any bash scripting method to circumvent this problem?
So do this instead
wajig commands | grep -iA1 autoremove
Last edited by ruario; 12-29-2012 at 02:31 AM.
Reason: correction:changed A2 to A1