y2pmsh - YaST2 Package Manager

I’ve been using Archlinux for almost 2 years and really like the idea of pacman -S packagename when I want to install something. However Archlinux is not quite ready yet for laptop, especially when dealing with wireless issues so I have to stick with OpenSuse which has wireless support out of the box. Installing package in OpenSuse is quite easy, all can be done through YaST2 interface with a few clicks (noticed: a few clicks). What can be accomplished with one command requires few clicks in OpenSuSE and I hate it. While doing some reading on the web, I’d just noticed that they provided command-line tool called y2pmsh as a backend to the GUI interface. Sounds good ….

[1] y2pm > search vim
     gvim (6.3.84-2) - A GUI for Vi
     kvim (6.2.14-121) - Vi for KDE, it also Includes a Vi Kpart
     kvim-debuginfo (6.2.14-121) - Debug information for package kvim
 i   vim (6.3.84-2 / _6.3.84-2) - Vi IMproved
     vim-debuginfo (6.3.84-2) - Debug information for package vim
[0] y2pm > install gvim
 +   gvim (6.3.84-2) - A GUI for Vi
[0] y2pm > commit
Installing from 'SUSE LINUX Version 10.0', media nr. 1
fetching gvim (1.0 MB) ................................................................................................. ok
installing [ 25%] gvim-6.3.84-2 (i586) ................................................................................. ok
Installing from 'Packman (SuSE LINUX 10.0)', media nr. 1

You will get a terminal upon starting y2pmsh through the command line. Just type ‘help’ to get a list of available commands. The one that you’ll probably need is just search, install, commit. Now it much faster … :)