installation of OMD - centos6

I am trying to install OMD in my CentOS 6.6 linux machine using this link [https://mathias-kettner.de/checkmk_install_with_omd.html.][1] Initially I installed epel repoistory and then when in tried installing OMD it says the following.
[root#ctg-alpha-mon1 /]# yum install --nogpgcheck omd-0.42-0.42-
centos55.14.x86_64.rpm
Loaded plugins: aliases, changelog, downloadonly, fastestmirror, kabi, presto, refresh-packagekit, security, tmprepo,
: verify, versionlock
Loading support for CentOS kernel ABI
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirrors.centarra.com
* epel: lug.mtu.edu
* extras: mirrors.centarra.com
* updates: mirrors.centarra.com
No package omd-0.42-0.42-centos55.14.x86_64.rpm available.
Error: Nothing to do
I tried 'yum search omd* ' or 'yum search omd-' but still it says no package available.
How do I install omd? I am pretty new to this.
Will omd package be available in the linux for us to install or should I get it from somewhere and then install it?
Any help is much appreciated.
Thanks

The OMD package is not available on a yum repository, except for subscribers.
OMD package has to be downloaded from their site or lookup the community version. Have a look at http://omdistro.org/ and https://labs.consol.de/de/nagios/omd-repository/

Related

"rgdal" installation failed on ubuntu

I use travis to check my R package, it's based on a virtual machine of ubuntu. One of my dependencies is rgdal from CRAN, which cannot be installed correctly on travis.
First it said:
ERROR: dependencies ‘rgdal’ is not available for package ‘my package’
I followed the instruction here, then comes the endless dependencies, I installed one by one, according to the instruction of every trial. Finally I installed packages is as below:
libproj-dev
libcurl4-gnutls-dev
libdap-dev
libgdal-dev
libgdal1h
libhdf5-dev
libhdf5-serial-dev
libgdal-dev
libgdal1-dev
It said I still need to install libhdf5-7 = 1.8.11-3ubuntu1~precise1~ppa1
But when I install package libhdf5-7 = 1.8.11-3ubuntu1~precise1~ppa1, it gives another error:
E: Unable to locate package
E: Unable to locate package 1.8.11-3ubuntu1~precise1~ppa1
E: Couldn't find any package by regex '1.8.11-3ubuntu1~precise1~ppa1'
And it seems no more solutions now.
I wonder how to fix this on travis? Is it a common issue on only travis virtual machine or it could happen on any ubuntu machine? Or the package rgdal has some problems with ubuntu?`
Background:
All my installation above used apt-packages of travis, which is explained as below by travis:
apt_packages: A list of packages to install via apt-get. Common examples here include entries in SystemRequirements. This option is ignored on non-linux builds
As of this week, you can opt into using Ubuntu 14.04 on Travis:
See this blog post from Travis for details
See this .travis.yml where I enable Trusty aka 14.04
Switching to 14.04 may be enough in this case. If not, also note that you can prepare your own .deb packages. I mention this in an blog post from this summer.
As the geospatial packages are a little involved that is probably your best. You would need to know how to build Debian packages, and how to use Launchpad to have them auto-built for you. Both topics have lots of tutorials.

Attempting to run R with Atlas/OpenBLAS on redhat

For two days I've been trying to install Openblas/atlas with Lapack and use it in R. it's driving me crazy. I'm at a point where I can't even think anymore.
My server uses:
Red Hat Enterprise Linux Server release 6.6 (Santiago)
Here is what I've installed so far:
[root#tpdb05 atlas]# yum install atlas.x86_64 blas.x86_64 lapack.x86_64 Loaded plugins: product-id, refresh-packagekit, rhnplugin, security, subscription-manager
Setting up Install Process
Package atlas-3.8.4-2.el6.x86_64 already installed and latest version
Package blas-3.2.1-4.el6.x86_64 already installed and latest version
Package lapack-3.2.1-4.el6.x86_64 already installed and latest version
[root#tpdb05 ruser]#
yum install lapack.i686
Installed:
lapack.i686 0:3.2.1-4.el6
Dependency Installed:
blas.i686 0:3.2.1-4.el6 glibc.i686 0:2.12-1.166.el6_7.3 libgfortran.i686 0:4.4.7-16.el6
nss-softokn-freebl.i686 0:3.14.3-23.el6_7
Dependency Updated:
glibc.x86_64 0:2.12-1.166.el6_7.3 glibc-common.x86_64 0:2.12-1.166.el6_7.3 glibc-devel.x86_64 0:2.12-1.166.el6_7.3
glibc-headers.x86_64 0:2.12-1.166.el6_7.3 nss-softokn-freebl.x86_64 0:3.14.3-23.el6_7
yum install atlas.i686
Installed:
atlas.i686 0:3.8.4-2.el6
[root#tpdb05 SRPMS]# yum install rpm-build
Installed:
rpm-build.x86_64 0:4.8.0-47.el6
Dependency Installed:
redhat-rpm-config.noarch 0:9.0.3-44.el6
Dependency Updated:
rpm.x86_64 0:4.8.0-47.el6 rpm-libs.x86_64 0:4.8.0-47.el6 rpm-python.x86_64 0:4.8.0-47.el6
[root#tpdb05 SRPMS]# yum install atlas-c++-devel.x86_64
Installed:
atlas-c++-devel.x86_64 0:0.6.1-1.el5.rf
Dependency Installed:
atlas-c++.x86_64 0:0.6.1-1.el5.rf
several sources I've tried without success:
1 2 3
The R manual mentions the following:
The usual way to specify ATLAS will be via
--with-blas="-lf77blas -latlas"
However I have no clue where to use this command. While installing R? I'm pretty sure it should be possible to simply swap between libraries..
How do I get R to use the atlas/openblas/lapack libraries?

How to force auto upgrade control dependency in a debian package

I am installing a custom debian package on debian 6 machine.
This is my control file
Package: [[name]]
Version: 5.1
Section: hello/world
Priority: Optional
Architecture: all
Essential: no
Depends: my-dependent-package (>> 0.2.1)
Installed-Size: 1000
Maintainer: Test test#test.com
Description: _DESCRIPTION_
Here the my-dependent-package doesnt get auto upgraded when newer versions are released.
i always do sudo apt-get update before installing.
installing the debian from an internal mirror and using
sudo apt-get install mypackage
the dependent package "my-dependent-package" is also available in the same internal mirror.
the internal mirrors are defined in /etc/apt/sources.list
both the packages come from same mirror
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
my-package : Depends: my-dependent-package (>> 0.2.1) but it is not going to be installed
E: Broken packages
Installation succeeds when I manually install the "my-dependent-package". I was expecting it to be auto installed by the "my-package" as I have mentioned it in control file.
How can I enable it ?
Debian assigns priorities to suites and packages.
Most likely your local repository has a low priority, which results in being excluded from automatic updates.
Configure apt to assign a higher priority to your repository, so it get's automatically selected.
See the AptPreferences documentation for more information.
(It's really impossible to give you a walkthrough without more knowledge on your actual setup)

Tktable : could not be found in R

I try to use tcltk in R, but the package Tktable could not be found.
> library("tcltk")
Loading Tcl/Tk... OK
> tclRequire("Tktable")
[1] FALSE
Warning :
In tclRequire("Tktable") : the package Tcl 'Tktable' is not found
When I install R (r-base-core) all this linux package are installed too :
tcl install
tcl-dev install
tcl8.5 install
tcl8.5-dev install
tcllib install
tk install
tk-dev install
tk8.5 install
tk8.5-dev install
tklib install
I tried to install manually libtktable2.9, and those packages are automatically installed :
libtktable2.9:i386 install
tk8.4:i386 install
tcl8.4:i386 install
I tried the fonction addTclPath in R (with different path, because I dont really understand where is the tcl location...), but nothing changes.
I saw similar posts on few forums but no answer yet.
Any idea?
http://bioinf.wehi.edu.au/affylmGUI/#testBWTk describes installing Tktable.
To install Tktable download from http://tktable.sourceforge.net. From
this site, select "File Distributions, select the "tktable" link,
select the latest version (currently 2.10), then select the tar.gz
file (currently "Tktable2.10.tar.gz"). Save it to a suitable location,
unzip and untar it (Example command is "tar zxf Tktable2.10.tar.gz").
look in the Tktable directory and read the README.txt file
installation instructions.
To get Tktable to install on debian, I installed this first
sudo apt-get install tcl-dev tk-dev mesa-common-dev libjpeg-dev libtogl-dev
On Ubuntu 18.04, I could just install the package tk-table
sudo apt install tk-table
Just for documentation purposes for other readers:
Windows users should be aware that the Tcl extensions ‘BWidget’ and
‘Tktable’ which are included with the R for Windows installer are
extensions and do need to be declared. ‘Tktable’ does ship as part of
the Tcl/Tk provided on CRAN for Mac OS X, but you will need to tell
your users how to make use of it:
> addTclPath('/usr/local/lib/Tktable2.9')
> tclRequire('Tktable')
<Tcl> 2.9
So there is no need for an extra tcl/tk or tktable installation.
Source: http://www.pqr-project.org/R-exts.html

GenomicFeatures Package Installation Trouble

Sorry to be back so soon with a simple installation question, but my inability to solve it myself is seriously impairing my productivity. Anyway, I tried installing GenomicFeatures as suggested by the BC website.
> source("http://bioconductor.org/biocLite.R")
> biocLite("GenomicFeatures")
I received the following error messages (in addition to several warning messages)
ERROR: configuration failed for package ‘RCurl’
* removing ‘/home/tim/R/i686-pc-linux-gnu-library/2.15/RCurl’
ERROR: dependencies ‘XML’, ‘RCurl’ are not available for package ‘rtracklayer’
* removing ‘/home/tim/R/i686-pc-linux-gnu-library/2.15/rtracklayer’
ERROR: dependencies ‘XML’, ‘RCurl’ are not available for package ‘biomaRt’
* removing ‘/home/tim/R/i686-pc-linux-gnu-library/2.15/biomaRt’
ERROR: dependencies ‘rtracklayer’, ‘biomaRt’, ‘RCurl’ are not available for package ‘GenomicFeatures’
* removing ‘/home/tim/R/i686-pc-linux-gnu-library/2.15/GenomicFeatures’
So some problem with the dependencies I guess, but it seems strange that they would be automatically installed prior to GF. I am using version 2.15.0. Any clue as to what the problem might be? I'd be happy to provide more info as needed. Thanks.
Martin Morgan has a solution that I believe works in the comments. I'll elaborate on that a little bit.
The error messages are telling you that you need the RCurl and XML packages installed. Both of these packages require that your system has certain development packages on them. You appear to be running Linux. If you're using a Debian based system (Debian, Ubuntu, Mint, ...) then for RCurl to install you need to install libcurl4-openssl-dev and for XML to install you need to install libxml2-dev. You can accomplish this by relatively easily on the command line by typing
sudo apt-get install libcurl4-openssl-dev libxml2-dev
That should install the required packages and any dependencies. Then you should be able to install the RCurl and XML packages from within R.
install.packages("RCurl")
install.packages("XML")
At this point you have the required dependencies and should be able to install GenomicFeatures from Bioconductor.
source("http://bioconductor.org/biocLite.R")
biocLite("GenomicFeatures")
Just a note for those using Windows - getting RCurl and XML isn't necessarily easy, however, Dr. Brian Ripley provides binaries for these packages at his website and you can download them from there quite easily. Initially when I saw there was issues with RCurl and XML I thought it must be a windows user until I looked at the actual errors and realized it was a Linux user.

Resources