1. 程式人生 > >安裝Python-3.7和linux下網速測試工具

安裝Python-3.7和linux下網速測試工具

網速測試工具 Python-3.7

wget https://www.python.org/ftp/python/3.7.0/Python-3.7.0b4.tar.xz

tar -xvJf Python-3.7.0b4.tar.xz

cd Python-3.7.0b4/

./configure --prefix=/usr/python

make

make install

cp /usr/bin/python /usr/bin/python.bak

ls -n /usr/python/bin/python3 /usr/bin/python

git clone https://github.com/sivel/speedtest-cli.git

python speedtest-cli/setup.py install

cd speedtest-cli/

./speedtest.py

安裝Python-3.7和linux下網速測試工具