centos7安装you-get下载工具
生活随笔
收集整理的這篇文章主要介紹了
centos7安装you-get下载工具
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
在Linux中,下載用的命令通常是wget。但是wget命令是單線程的,也就是說在下載國外的某些軟件時容易斷開連接,這也就意味著,本機會死機。
下載視頻,可以使用you-get下載,默認下載格式為flv,you-get下載工具是python語言編寫,所以需要先安裝python3-pip工具,然后使用pip工具再安裝you-get下載工具。
[root@x112 linshi]# dnf install python3-pip
Extra Packages for Enterprise Linux 7 - x86_64 13 MB/s | 16 MB 00:01
CentOS-7 - Base - mirrors.aliyun.com 6.2 MB/s | 10 MB 00:01
CentOS-7 - Updates - mirrors.aliyun.com 8.3 MB/s | 3.2 MB 00:00
CentOS-7 - Extras - mirrors.aliyun.com 793 kB/s | 275 kB 00:00
Last metadata expiration check: 0:00:01 ago on Fri 10 Jul 2020 05:17:35 PM CST.
Dependencies resolved.
=============================================================================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================================================================
Installing:
python3-pip noarch 9.0.3-7.el7_7 updates 1.8 M
Installing dependencies:
python3 x86_64 3.6.8-13.el7 base 69 k
python3-libs x86_64 3.6.8-13.el7 base 7.0 M
python3-setuptools noarch 39.2.0-10.el7 base 629 k
Transaction Summary
=============================================================================================================================================================================================
Install 4 Packages
Total download size: 9.4 M
Installed size: 48 M
Is this ok [y/N]: y
Downloading Packages:
(1/4): python3-setuptools-39.2.0-10.el7.noarch.rpm 6.0 MB/s | 629 kB 00:00
(2/4): python3-3.6.8-13.el7.x86_64.rpm 600 kB/s | 69 kB 00:00
(3/4): python3-libs-3.6.8-13.el7.x86_64.rpm 24 MB/s | 7.0 MB 00:00
(4/4): python3-pip-9.0.3-7.el7_7.noarch.rpm 7.9 MB/s | 1.8 MB 00:00
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 25 MB/s | 9.4 MB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : python3-libs-3.6.8-13.el7.x86_64 1/4
Installing : python3-setuptools-39.2.0-10.el7.noarch 2/4
Installing : python3-pip-9.0.3-7.el7_7.noarch 3/4
Installing : python3-3.6.8-13.el7.x86_64 4/4
Verifying : python3-3.6.8-13.el7.x86_64 1/4
Verifying : python3-libs-3.6.8-13.el7.x86_64 2/4
Verifying : python3-setuptools-39.2.0-10.el7.noarch 3/4
Verifying : python3-pip-9.0.3-7.el7_7.noarch 4/4
Installed:
python3-pip-9.0.3-7.el7_7.noarch python3-3.6.8-13.el7.x86_64 python3-libs-3.6.8-13.el7.x86_64 python3-setuptools-39.2.0-10.el7.noarch
Complete!
[root@x112 linshi]# pip3 install you-get
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.
Collecting you-get
Downloading https://files.pythonhosted.org/packages/24/bf/22a3c582dfd4969bace5eb287acfb9264e4999602312b3cf879ea0beff48/you_get-0.4.1432-py3-none-any.whl (215kB)
100% |████████████████████████████████| 225kB 20kB/s
Installing collected packages: you-get
Successfully installed you-get-0.4.1432
[root@x112 linshi]#
總結
以上是生活随笔為你收集整理的centos7安装you-get下载工具的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 火星上惊现一团“面条”:科学家都懵了
- 下一篇: Egg企业级应用开发框架的搭建