我想知道这是不是可能的。我能够将nspr安装到CentOS中;
yum install nspr-devel我发现这实际上只适用于CentOS/RHEL/Fedora,所以请注意
http://pkgs.org/download/nspr-devel
有没有办法用apt-get把它安装到最新版本的Debian中?如果有,有没有一步一步的说明?
谢谢
发布于 2012-11-23 00:39:36
看起来libnspr4-dev是你想要的包。
我使用apt-cache搜索找到了它:
$ apt-cache search nspr
dnsproxy - proxy for DNS queries
libnspr4 - NetScape Portable Runtime Library
libnspr4-0d - NetScape Portable Runtime Library - transitional package
libnspr4-dbg - Debugging symbols for the NetScape Portable Runtime library
libnspr4-dev - Development files for the NetScape Portable Runtime library
python-nss - Python bindings for Network Security Services (NSS)看起来它已经在Debian存储库中了,这意味着你不需要从其他地方获取它。
您可以使用apt-cache策略查看将安装哪个版本:
$ apt-cache policy libnspr4-dev
libnspr4-dev:
Installed: (none)
Candidate: 2:4.9.2-1
Version table:
2:4.9.2-1 0
500 http://ftp.uk.debian.org/debian/ testing/main amd64 Packages如果可以,您可以使用apt-get install libnspr4-dev安装它。
如果没有,那么您应该检查/etc/apt/sources.list,以确保它列出了您需要的版本的存储库。
https://stackoverflow.com/questions/13516858
复制相似问题