How to install pear image graph in ubuntu 16 with offline installation - ubuntu-16.04

I have tried install pear image graph online.
sudo pear install image_graph
but now I can reach the site, it show this message:
No releases available for package "pear.php.net/image_graph"
install failed
Now, I download the file, but I don't know how to install on my ubuntu?
I have downloaded it from this github: Image_Graph
How can I install it onto my computer?

Related

From where can i download RPM binary for my RedHat Enterprise Linux Server 7?

I have accidently deleted rpm binary by issuing incorrect command(rpm -e) on My RedHat Enterprise Linux Server 7. From where can i download the required binaries and copy it to the required place /usr/bin ?
Packages for Red Hat Enterprise Linux can be downloaded only using yum and certificate which you get from subscription-manager. It is hard to do that manually.
What you can do easily is to get the package from CentOS (binary compatible distribution):
http://mirror.centos.org/centos/7/os/x86_64/Packages/
download it on some other system where you have rpm binary and do:
rpm2cpio downloaded-rpm.rpm | cpio -idmv
take the extracted files and copy it to the broken machine.
And then you should do
yum reinstall rpm
which will download the package again from Red Hat CDN and reinstall it even if it would be the same version.
Part of Red Hat Enterprise Linux added value is the support center. I highly recommend contacting Red Hat directly https://access.redhat.com/support next time.
use this link to download the necessary binaries : http://rpmfind.net/linux/rpm2html/

Can’t install openmotif22 on CentOS 7

I wanna to install openmotif22 on centos 7 but I get the message from installer “Sorry, this did not work. The file is not supported.”
Can you share with us the command you are using to perform the install as well as the exact package you are attempting to install.
Are you using the steps documented here:
https://centos.pkgs.org/7/puias-computational-x86_64/openmotif22-2.2.3-19.sdl7.x86_64.rpm.html

Install Nagios plugins - missing install instructional step?

I have Nagios XI installed and want to monitor remote Redhat machine using SSH. Installing the agent is likely not allowed in our environment.
This is from Nagios instruction from the page 2
Before you can use the check_by_ssh plugin, you must install/configure the following on the remote Linux/Unix server you want to
monitor:
● Create a nagios user
● Install Nagios plugins and/or monitoring scripts
● Install and configure the SSH daemon
I downloaded the Nagios official plugins(I believe there are 50 plugins) and extracted the files, but there is no instructional step for install command. I read the README file, but this seems to give me the steps of making the install files from the source, I think.
Is there a simple command that will run the install in order for me to install the plugins that will include check_by_ssh plugin?
This answer was given by Nagios support team:
Nagios Plugin Installation
cd /tmp/nagios-plugins-2.1.2
./configure --with-nagios-user=nagios --with-nagios-group=nagios
make
make install

If my CentOS 7.2 box has vagrant 1.7.2, can I just run the 1.8.1 rpm to get vagrant 1.8.1?

I have a CentOS 7.2 laptop. I have VirtualBox 5.0.x installed on it. Out of the box, it appears that I have Vagrant 1.7.2. Apparently this doesn't support VirtualBox 5.0.x, but it appears that version 1.8.1 does. What is the proper way to get access to 1.8.1? There is an installation rpm for 1.8.1 that I've downloaded, I can run this with "rpm", but do I have to do anything else before I do that?
Use Software Collections to get Vagrant 1.8.1 on CentOS: Vagrant 1.8 by Software Collections (the linked page contains instructions on how to do that). That will give you a build tested by the CentOS project.
As a sidenote: If you downloaded a standalone RPM package (presumably directly from the Vagrant project) and wish to install it, do it using the yum package manager, not rpm -- yum takes care of dependencies.

how install rvm on RHL7 using centos repo

How to install rvm(ruby) on RHL7 using centos repo.
I know if we are using centos repository we should be using centos OS and not RedHat, but we have a proprietary software that require Redhat.
when I try to install ruby 1.93 using rvm I got this:
rvm install 1.9.3
Searching for binary rubies, this might take some time.
No binary rubies available for: redhat/6/x86_64/ruby-1.9.3-p551.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for redhat.
Unable to locate SystemId file. Is this system registered?
Our client does not have registered system with redhat, So I did configure centos repository.
But how can I tell RVM to use this centos repository?
I managed the problem running:
rvm autolibs read-only
In that way rvm do not try to download the dependencies from redhat. But it tell us what is missing, so we can install what is missing manually with yum install from centos repository.
RedHat uses the concept of software collection to offer update packages for Ruby, Python, etc:
softwarecollections
For your case, they have software collection for Ruby193 and Ruby22.
On each page you will find instructions on how to use it.