All entries for Saturday 09 February 2008
February 09, 2008
One Click Install links from the command line.
I get asked occasionally whether it is possible to install some software from a “one click install” link from the command line. Well now it is.
I’m not entirely sure what peoples’ usecase for this is, but up until now the only answer has been to download the .ymp file, read it and follow the instructions manually.
Fortunately the one click install handler is implemented using YaST, and YaST not only makes it easy to make your interfaces display with Qt/GTK/Ncurses0, but also to add command line interfaces.
Several YaST modules already have command line interfaces. For example try running
yast2 lan help
This made it quite easy to add command line support to the one click install handler.
Here’s a screenshot of it in action:

There is no support for doing anything interactive, like selecting optional software yet, but it should be functional.
If you want to try it out on openSUSE 10.3 simply
- Copy http://bw.uwcs.co.uk/OCI/CLI/OneClickInstallCLI.ycp to /usr/share/YaST2/clients
- Copy http://bw.uwcs.co.uk/OCI/CLI/OCICLI to somewhere in your $PATH.
- Then run
OCICLI <url>
I need to remove some duplication of code with the existing graphical handler before committing to SVN, but it should be possible to include in future openSUSE versions if people want it.
[0] There’s a bug with the version in 10.3 that prevents it from functioning in ncurses mode, this should be fixed before 11.0
openSUSE presentations
While thinking about content for my talk at FOSDEM I was reminded that I never uploaded the slides for the talks I did at my local GNU Linux user group . I have now uploaded the slides, and they are also available here:
Also check out some of the other interesting talks that members of WUGLUG have given this year.
The description for my FOSDEM talk is at http://fosdem.org/2008/schedule/events/opensuse_one_click_install . If anyone has anything in particular they would like me to cover then please let me know.
Please wait - comments are loading
Loading…