1
bitbegin 2014 年 11 月 8 日 via Android
apt-get换成yum不就好了?
|
3
adrianzhang 2014 年 11 月 8 日
找不到需要换源
或者先用yum search 关键字,看看到底是什么名字。 |
4
ihacku 2014 年 11 月 8 日
|
5
arefly 2014 年 11 月 8 日 yum makecache
yum groupinstall "Development Tools" yum install strongswan yum install gmp-devel openssl openssl-devel |
7
gno23x 2014 年 11 月 8 日
apt 有 apt-cache search 查找包名,我印象 yum 也有类似的命令,可以放狗搜下。
|
8
gissimo OP @arefly debian下报错You must put some 'source' URIs in your sources.list
请教怎么解决啊 |
9
lenovo 2014 年 11 月 8 日
|
10
kungfuchicken 2014 年 11 月 8 日
|
11
arefly 2014 年 11 月 8 日
@gissimo 贴出sources.list文件内容,apt-get build-dep strongswan 这个是为编译作准备,因为本机就是debian,我特意查了下,debian可以直接apt-get install strongswan,另外你说到yum install strongswan无法找到包,
我centos6.5配置了epel,repoforge等源,所以 yum list |grep strongswan strongswan.x86_64 5.2.0-7.el6 epel 你应该配置下epel源再执行我第一次回复的命令. |
12
gissimo OP @arefly
deb http://ftp.debian.org/debian wheezy main contrib non-free deb http://security.debian.org wheezy/updates main contrib non-free 我虽然这里提示You must put some 'source' URIs in your sources.list 但是后面一路安装编译都没报错。最后strongswan搭建后,手机已经可以用cisco连接上了。但是一直转发不成功。会和这个有关吗 |