LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 03-30-2015, 03:38 PM   #1
zvivered
Member
 
Registered: Sep 2007
Posts: 294

Rep: Reputation: 23
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
 
Old 03-30-2015, 03:45 PM   #2
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
You can do that using:

Code:
yum install libssh2-1.2.2-7.el6_2.3.src.rpm
Yes it will contain the source.
 
Old 03-30-2015, 07:15 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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/

Last edited by John VV; 03-30-2015 at 07:18 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
yum install flash ... yum: command not found ... which yum ... /usr/bin/yum tg0000 Fedora 8 04-13-2011 11:25 AM
building from source vs. yum install vs. rpm vbekker Linux - Newbie 7 11-08-2010 08:13 PM
How to install kernel-source package through yum? sharpblade Fedora 1 06-12-2010 09:14 PM
cannot install wine from a yum source in Yast anteus SUSE / openSUSE 4 04-18-2007 06:12 AM
where did YUM install my kernel-source? friedrice4u Linux - General 1 10-09-2004 09:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 06:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration