Solved

RedHat

Posted on 2013-01-23
5
365 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
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.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

749 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