Install lksctp on centos

Source: Internet
Author: User

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/

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.