LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   yum install for source of libssh (https://www.linuxquestions.org/questions/red-hat-31/yum-install-for-source-of-libssh-4175538274/)

zvivered 03-30-2015 03:38 PM

yum install for source of libssh
 
Hello,

using "yum install libssh2" I installed libssh2 on Centos 6.3-64
So now, the output of "yum list installed | grep libssh" is:

libssh2.x86_64 1.4.2-1.el6_6.1 @updates
libssh2-devel.x86_64 1.4.2-1.el6_6.1 @updates

How can I install the source files used for this package ?

vault.centos.org/6.3/os/Source/SPackag contains the following rpm:
libssh2-1.2.2-7.el6_2.3.src.rpm

Does this rpm contains the sources used to build 1.4.2-1.el6_6.1 ?

Can I use "yum install" to install the sources of libssh installed on my PC ?

Best regards,
Z.V

T3RM1NVT0R 03-30-2015 03:45 PM

You can do that using:

Code:

yum install libssh2-1.2.2-7.el6_2.3.src.rpm
Yes it will contain the source.

John VV 03-30-2015 07:15 PM

i take it you ARE aware that the code in the cent " The Vault" is unsupported and OLD and not updated

libssh2 WILL NOT!!!! have any security fixes for the last 2 years
for that you need to build the code from 6.6 or from the developers
http://www.libssh2.org/


All times are GMT -5. The time now is 12:56 PM.