打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
linux上安装lksctp,并查看版本号

前几天想写写sctp 代码,发现在自己的centos上没有相关的库。于是找了一下。想下个安装包,找了半天都是ubuntu的。

最后还是一招管用呵呵----yum 

在http://sourceforge.net/projects/lksctp/files/ 网站上下载最新版本 lksctp-tools-1.0.13.tar.gz (当时最新的)

解压该包,查看INSTALL 文件,里面有安装方法:

1) Download and install the following binary RPMs from the lksctp sourceforge

website at

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 includes

* 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 includes

* 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 includes

* SCTP RFC's and internet drafts.

If you want to run and play with the included sample SCTP applications or

develop your own SCTP applications, you can skip the rest of the

instructions.

.................................

另一个方法很简单:

用yum 工具

yum list lksctp*   #查看相关的可用包

lksctp-tools.i686                              1.0.10-5.el6                         @base

lksctp-tools-devel.i686                        1.0.10-5.el6                         @base

lksctp-tools-doc.i686        

用yum install 把它们都安装上,即可

还有一个方法:编译源码

首先解压源码:

#tar -xf  lksctp-tools-1.0.13.tar.gz

运行 ./bootstrap

运行 ./configure

此时生成makefie文件

呵呵呵,接下来就知道了怎么做了吧(make工具)

偶尔看到的一个资源网站----天津大学开源软件镜像,在此分享一下:

http://mirror.tju.edu.cn/centos/

参考:http://www.sctp.org/

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
Centos7.2 ganglia(一)之环境搭建部署
Vmware10 Centos7 共享文件夹设置方法
CentOS下安装网卡驱动
CentOS7安装RabbitMQ(rpm包方式)
centos yum 安装 mysql 并设定密码
php+nginx+linux+mysql 环境一键安装
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服