I want to write sctp code a few days ago and found that there is no relevant library on my centos. So I found it. For the next installation package, Ubuntu is used for a long time.
The last trick is useful. ---- yum
Download the latest http://sourceforge.net/projects/lksctp/files/ on the lksctp-tools-1.0.13.tar.gz website (then up-to-date)
Decompress the package and check the install file. The installation method is as follows:
1) download and install the following binary RPMs from the lksctp SourceForge
Website
Http://sourceforge.net/project/showfiles.php? Group_id = 26529
* Lksctp-tools-x.y.z-1.i386.rpm
* Lksctp-tools-x.y.z-devel-1.i386.rpm
* Lksctp-tools-x.y.z-doc-1.i386.rpm
Lksctp-tools-x.y.z-1.i386.rpm schemdes
* Sctp run-time library.
* Sample sctp applications: sctp_darn and sctp_test.
* Withsctp: A tool when used with existing TCP binaries replaces TCP
With sctp.
Lksctp-tools-x.y.z-devel-1.i386.rpm schemdes
* Sctp header file/usr/include/netinet/sctp. h
* Sctp man pages.
* Source Code for sample sctp applications.
Lksctp-tools-x.y.z-doc-1.i386.rpm schemdes
* Sctp RFC's and internet drafts.
If you want to run and play with the specified ded sample sctp applications or
Develop your own sctp applications, you can skip the rest of
Instructions.
.................................
Another method is simple:
Use Yum Tool
Yum list lksctp * # view available packages
Lksctp-tools.i686 1.0.10-5. el6 @ Base
Lksctp-tools-devel.i686 1.0.10-5. el6 @ Base
Lksctp-tools-doc.i686
Install them all with Yum install.
Another method is to compile the source code.
First extract the source code:
# Tar-XF lksctp-tools-1.0.13.tar.gz
Run./Bootstrap
Run./configure
Generate the makefie file.
Heheh, now I know how to do it (make tool)
An occasional resource website, the open source software image of Tianjin University, is here to share:
Http://mirror.tju.edu.cn/centos/
Reference: http://www.sctp.org/