Another simple software install demo.
Writing about web page http://benjiweber.co.uk/installdemo/
I have created some example link buttons to trigger software installation from a web page.
e.g.: .
And set up a demo page with 3 working examples people can use to try out the concept. See http://benjiweber.co.uk/installdemo/ for the demo page. If you’re on openSUSE give it a try and let me know your comments & ideas. You’ll need to install the demo package as per instructions on the demo page.
If you have installed it correctly you should be able to click one of the links and get a wizard like this which will add the required repositor(y|ies) and install the software for you.
There are also the “Install now” links on the testing package search page which are automatically generated, and should work the same way.
You can also try out the package search YaST client which allows you to use the package search from within YaST, and select any package on any repository for installation with the aforementioned wizard. Simply run ”/sbin/YaST2 PackageSearch” after installing the package linked from the installdemo page.
19 comments by 1 or more people
[Skip to the latest comment]Gustav Nilsson
Can and if so how do I get this working with firefox?
06 May 2007, 10:13
You just have to set up the association up in firefox, the konqueror one is set up automatically by the package. See http://lists.opensuse.org/opensuse-project/2007-04/msg00181.html for firefox instructions.
06 May 2007, 12:26
Rasto
Hello
I don know what i’m doing wrong, but i can’t start it.
I’ve installed yast2-mpp-0.0-0.suse102.noarch.rpm, and than i’m trying to click in konqueror on one of the links.But nothing happen.YaST2 is trying to start on panel, but nothing.
So, i’ve tried simply run in shell-console ”/sbin/YaST2 PackageSearch”, but note is:
user@unknown:~> /sbin/YaST2 PackageSearch
Can’t locate LWP/Simple.pm in @INC (@INC contains: /y2update/modules /home/user/ .yast2/modules /usr/share/YaST2/modules /usr/lib/perl5/5.8.8/i586-linux-thread-m ulti /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_p erl/5.8.8/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl 5/vendor_perl .) at /usr/share/YaST2/modules/SearchClient.pm line 7.
BEGIN failed—compilation aborted at /usr/share/YaST2/modules/SearchClient.pm li ne 7.
Compilation failed in require.
BEGIN failed—compilation aborted.
Sorry my poor english:-)
Regards
06 May 2007, 21:01
It looks like you’ve installed it with—nodeps and consequently failed to install the perl-xml-simple package it depends on. Try installing it (It’s in the main 10.2 repository)
07 May 2007, 10:01
vavai
I tried this cools simple software installation but it seems an error while trying to install Pidgin plugin (and so with another package).
I’ve installed perl-xml-simple package and yast2-metapackage-package. If I tried to click one of such package, YAST seems to run out but dissapeared before completing the installation.
Run “myvavai:~ # /sbin/YaST2 PackageSearch” at konsole will display package search windows, but type in “pidgin” at the search text box will close th windows immediately with error log :
File does not exist: 500 Can’t connect to benjiweber.co.uk:8080 (Bad hostname ‘benjiweber.co.uk’)
at /usr/share/YaST2/modules/SearchClient.pm line 26
http://benjiweber.co.uk:8080/searchservice/SearchService/Search/Simple/openSUSE_102/Can‘t undef active subroutine during global destruction.
Is there any problem with my OpenSuSE box or is there any missing dependencies ?
08 May 2007, 02:41
Try it again later? Perhaps it was a temporary DNS issue? can you access http://benjiweber.co.uk:8080/webpin/ in a web browser? Are you behind an http proxy or something?
08 May 2007, 06:30
Vavai
Hello Ben,
Thanks for your response.
Yes, I have an internet Access behind the squid proxy server, but I’ve setting up Konqueror proxy setting. I can browse the internet. Is there any different setting for proxy access ?
08 May 2007, 06:46
Sorry you won’t be able to use that demo then. You can still try the simple install from pages hosted on standard port eg http://benjiweber.co.uk/installdemo/ but anything consuming the search service won’t work for you.
08 May 2007, 07:28
Rasto
Hello
So, my problem is solved.I’ve missed perl-libwww-perl.rpm package, so i had to install it and now it’s working.
Btw, something like this is it going to be in new openSUSE 10.3?
Regards
08 May 2007, 16:49
Francis Giannaros
Rasto, that’s the plan, yup.
14 May 2007, 00:47
Lance
It works just fine for me.
A suggestion is to make the login as root pop-up always stay on top as it disappeared for me and I had to find it.
other than that it works a treat well done.
Suggestion: will it have an agent in the future to allow you to select multiple software bits to install?
21 May 2007, 13:28
John
really… I would only like to know WHEN will this be included on OpenSuSE and start working officially for it????
will this be out before CNR???
Thanks
27 May 2007, 00:19
It is in 10.3 alpha4 already, there is still some work to do before it’s fully ready, but it should be in 10.3.
27 May 2007, 00:28
Azrael Nightwalker
Have you thought about using a more generic URL like install://?
This URL type could also be used in other distributions.
Maybe you should contact them to develop a common method of simple software installing.
10 Jul 2007, 07:35
@ Azrael
It does not require a special URL like install:// it could work in any browser already, with the appropriate association defined. It is just XML over http. We have been working on the design of the XML file served to ensure it is suitable for everyone.
To do the same on other distributions they would just need to implement a client side handler for the XML and integrate with their own package management. The details are at http://en.opensuse.org/Standards/One_Click_Install , comments to the opensuse-softwaremgmt@opensuse.org mailing list. Any comments regarding the xml schema should be made as soon as possible as it will need to be frozen asap for 10.3.
10 Jul 2007, 07:46
RussH
firstly – great app, this is really moving towards where we need to be.. However, I’m on SLED10..
/sbin/YaST2 PackageSearch seems to search 10.2 packages by default – where can I edit this to search the SLED10 packages?
Also, clicking on the 1-click install links from the opensuse software pages will open the new yast Metapackage module, but it always reports ‘nothing to do’. I have yast2-metapackage-handler-0.5.2-1.1 installed.
Any suggestions much appreciated!
23 Aug 2007, 11:42
The packagesearch client was just a demo, won’t be included in the final distro. Perhaps we’ll have something in 10.4
Where did you get the yast2-metapackage-handler from? Have you got xdg-utils and perl-xml-xpath installed?
23 Aug 2007, 12:19
RussH
Hi Ben,
I had thought I’d gotten it from OpenSuse – but checking the source, I find there’s a newer package there now;
http://download.opensuse.org/repositories/openSUSE:/Tools/SLE_10/repodata/
– so have just installed that
I now have the packages;
perl-XML-XPath-1.13-2.1
xdg-utils-1.0.1-45.1
yast2-metapackage-handler-0.5.2-3.1
...and looks like it’s working (test installing pidgin now.. thanks!)
Russ
23 Aug 2007, 12:33
RussH
damn – wrote too soon, it’s not adding the data sources;
An error occurred while creating the installation source.
Details:
Unknown source type for http://download.opensuse.org/repositories/SUSE%3a/SLE-10/standard
Try again?
..it seems to be doing this for all the sources it’s trying to add.
23 Aug 2007, 12:40
Add a comment
You are not allowed to comment on this entry as it has restricted commenting permissions.