I got a bit lost in the woods of implicit URLs between various places.
All I wanted is to install software.opensuse.org: Install package server:monitoring / lnav preferably from the link http://software.opensuse.org/ymp/server:monitoring/openSUSE_Tumbleweed/lnav.ymp
It’s the OpenSuSE package for The Log File Navigator which I found based on the recommendation “The Log File Navigator – Joe C. Hecht – Google+“.
The package was in a non-standard repository “server:monitoring”, but shortening the package link doesn’t get you there:
- https://software.opensuse.org/download.html?project=server:monitoring&package=lnav
- https://software.opensuse.org/download.html?project=server:monitoring
These do however (thanks tacit):
- https://build.opensuse.org/project/show/server:monitoring/
- http://download.opensuse.org/repositories/server:/monitoring/openSUSE_Tumbleweed/
From both, it’s just a couple of clicks away to the lnav packages:
- https://build.opensuse.org/package/show/server:monitoring/lnav
- http://download.opensuse.org/repositories/server:/monitoring/openSUSE_Tumbleweed/x86_64/lnav-0.8.0-1.17.x86_64.rpm
Zypper doesn’t allow you to install one-click install ymp links like http://software.opensuse.org/ymp/server:monitoring/openSUSE_Tumbleweed/lnav.ymp
But OCICLI (one-click install CLI) does. And yes, unlike most console commands IT’S IN UPPERCASE. You can use it like this (note the warning):
OCICLI http://software.opensuse.org/ymp/server:monitoring/openSUSE_Tumbleweed/lnav.ymp
OCICLI is fully compatible with zypper as OCICLI uses YaST and libzypp as underlying technology and zypper uses libzypp.
The yml files are metadata offering to add one or more repositories and install one or more packets or patterns. OCICLI automates that process.
Another option is to manually add the repository using zypper, then install lnav from zypper. There is no URL to this (again; are these the virtues of Web 2.0?) you have to click a few times:
- Go to https://software.opensuse.org/download.html?project=server:monitoring&package=lnav
- Click on
openSUSE - Click on
Add repository and install manually - Under
openSUSE Tumbleweed, look for this code
zypper addrepo http://download.opensuse.org/repositories/server:monitoring/openSUSE_Tumbleweed/server:monitoring.repo
zypper refresh
zypper install lnav
Installing using OCICLI
As currently there is a bug in OCICLI, it will show a warning: Warning: unable to close filehandle properly: Bad file descriptor, <STDIN> line 7 during global destruction (#1) which I reported:





