Home  >  Q&A  >  body text

centos - yum install时有个包网速太慢总是下载失败,可以先通过别的方法把那个rpm下载好,然后安装吗?

yum install VirtualBox-4.2 -y
其他依赖包都没问题了,就是这virtual box自己太大,网速不给力,下一会儿就断掉了。如:
Install 55 Package(s)

Total size: 112 M
Total download size: 71 M
Installed size: 275 M
Downloading Packages:
http://download.virtualbox.org/virtualbox/rpm/el/6/x86_64/VirtualBox-4.2-4.2.26_95022_el6-1.x86_64.rpm: [Errno 12] Timeout on http://download.virtualbox.org/virtualbox/rpm/el/6/x86_64/VirtualBox-4.2-4.2.26_95022_el6-1.x86_64.rpm: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
Trying other mirror.

Error Downloading Packages:
VirtualBox-4.2-4.2.26_95022_el6-1.x86_64: failure: VirtualBox-4.2-4.2.26_95022_el6-1.x86_64.rpm from virtualbox: [Errno 256] No more mirrors to try.

我可以不可以在另一台网速快的电脑上下载好放到服务器上,再来安装?

某草草某草草2733 days ago1311

reply all(5)I'll reply

  • 为情所困

    为情所困2017-04-25 09:03:21

    You can download it first, copy it to this computer through other methods, and put it in a certain directory
    Then yum install + file name

    reply
    0
  • 高洛峰

    高洛峰2017-04-25 09:03:21

    You want:
    rpm -ivh xxx.rpm
    ?

    reply
    0
  • 巴扎黑

    巴扎黑2017-04-25 09:03:21

    You can do this. But wouldn't it be better to change the source?

    reply
    0
  • ringa_lee

    ringa_lee2017-04-25 09:03:21

    You can change the software source, such as the 163 source. There are many such sources online, you can check them

    reply
    0
  • 阿神

    阿神2017-04-25 09:03:21

    During installation, the system disk has multiple CDs, and multiple CDs can be installed. The other disks are class libraries. Debian is like this, I don’t know if the RedHat source is the same

    reply
    0
  • Cancelreply