OCICLI is missing

Hi All,

Does anyone knows what happened to the CLI command for the One-Click-Install system?

Hello,

It seems that there happened something that made you think it isn’t available in Leap 15.2, Please tell why you think so.
We do not want to hear your conclusion only, we want to see the facts that conclusion is based on. Preferable a command with it’s output (posted between CODE tags).

Neverthelss I started some investigation. Having Leap 15.1 here that does not fit your 15.2 of course, but it might give you some hints where to look. To begin with, I have it here:

boven:~ # which OCICLI
/sbin/OCICLI
boven:~ #

Which confirms that it is something that exists on 15.1.
Then I tried to find out where it comes from. I did so ysing YaST > Software Manager, but you can also do

boven:~ # zypper search --provides '/sbin/OCICLI'
Loading repository data...
Reading installed packages...

S | Name                      | Summary                                                     | Type
--+---------------------------+-------------------------------------------------------------+--------
i | yast2-metapackage-handler | YaST2 - Easy Installation of Add-on RPMs using Metapackages | package
boven:~ #

and found that it is part of the package yast2-metapackage-handler. Isn’t that package installed in your system? And when it is, doesn’t it contain /sbin/OCICLI?

Hello Henk,

thanks for your response and your tip with the package ‘yast2-metapackage-handler’. This helped me to determine, that the OCICLI command is renamed to OneClickInstallCLI in Leap 15.2.
I found these two commands in the package:

/usr/bin/OneClickInstallCLI
/usr/bin/OneClickInstallUI

which OCICLI
which: no OCICLI in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin)

uname -a
Linux brxi5.lan 5.3.18-lp152.36-default #1 SMP Tue Aug 18 17:09:44 UTC 2020 (885251f) x86_64 x86_64 x86_64 GNU/Linux

zypper search --provides '/sbin/OCICLI'
Retrieving repository 'Packman Repository' metadata .............................................................[done]
Building repository 'Packman Repository' cache ..................................................................[done]
Retrieving repository 'Main Update Repository' metadata .........................................................[done]
Building repository 'Main Update Repository' cache ..............................................................[done]
Loading repository data...
Reading installed packages...
No matching items found.

Wow, terrible names! Who wants to type those? Are they really to be called by root from the CLI directly? When I would need them often (I do not use them at all), I would probably create an alias for them.

But you found them. Concrats!