Solved

RedHat

Posted on 2013-01-23
5
366 Views
Last Modified: 2013-02-14
I need to install libssh2 from the command line.  Can someone let me know the steps?
0
Comment
Question by:Jack_son_
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 31

Assisted Solution

by:farzanj
farzanj earned 250 total points
ID: 38810134
Issue command
yum -y install libssh2

Open in new window

0
 

Author Comment

by:Jack_son_
ID: 38810208
it says no package is available
0
 
LVL 31

Assisted Solution

by:farzanj
farzanj earned 250 total points
ID: 38810226
What is your version?

cat /etc/redhat-release

Open in new window


What repositories do you have?
yum repolist all

Open in new window


Can you install it from RedHat DVD or CD?
0
 
LVL 19

Assisted Solution

by:jools
jools earned 125 total points
ID: 38810312
yum search libssh2
0
 
LVL 3

Accepted Solution

by:
tkuther earned 125 total points
ID: 38813553
The libssh2 package is part of the rhel-$(uname -m)-server-6 repo in RHEL6.
You seem to be using RHEL 5 (or older).

So either you compile yourself, or use a 3rd party repo like repoforge.org

To add that one single libssh2 package (might need additional deps):
rpm -Uvh http://pkgs.repoforge.org/libssh2/libssh2-1.2.9-1.el5.rf.$(uname -m).rpm

Open in new window

To add the whole repo and libssh2:
rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.$(uname -m).rpm
yum install libssh2

Open in new window


If you are infact using RHEL6 your box is not registered to RHN correctly.
0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question