kali安装gmpy2总是出现各种错误,写个过程。
1.安装方式
压缩包 下载直接解压即可
命令行 git clone https://github.com/Ganapati/RsaCtfTool.git
2.安装
cd RsaCtfTool //进入目录下
pip install -r requirements.txt //安装python第三方库
可能会报错,没关系,是因为你没安装一些环境
安装配置mpfr和mpc时,时间稍长,不要惊讶
安装mpfr
v= 4.0. 1
wgethttp: // www.mpfr.org/mpfr-current/mpfr-${v}.tar.bz2
tar-jxvf mpfr-${v}. tar.bz2 && cd mpfr- ${v}
./configure
make&& makecheck && make install
安装mpc