Skip to content

Instantly share code, notes, and snippets.

@donchan922
Created October 11, 2019 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save donchan922/4f7d346994d9ab31557b61d9ba15e996 to your computer and use it in GitHub Desktop.
Save donchan922/4f7d346994d9ab31557b61d9ba15e996 to your computer and use it in GitHub Desktop.
# pythonパッケージをダウンロードする
$ yumdownloader python
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
* base: ftp.riken.jp
* extras: ftp.riken.jp
* updates: ftp.riken.jp
warning: /python-2.7.5-86.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY===========================-] 0.0 B/s | 95 kB --:--:-- ETA
Public key for python-2.7.5-86.el7.x86_64.rpm is not installed
python-2.7.5-86.el7.x86_64.rpm | 95 kB 00:00:02
$ ls
python-2.7.5-86.el7.x86_64.rpm
# pythonパッケージを依存関係も含めてダウンロードする
$ yumdownloader --resolve python
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
* base: ftp.riken.jp
* extras: ftp.riken.jp
* updates: ftp.riken.jp
--> Running transaction check
---> Package python.x86_64 0:2.7.5-86.el7 will be installed
--> Processing Dependency: python-libs(x86-64) = 2.7.5-86.el7 for package: python-2.7.5-86.el7.x86_64
--> Running transaction check
---> Package python-libs.x86_64 0:2.7.5-80.el7_6 will be updated
--> Processing Dependency: python-libs(x86-64) = 2.7.5-80.el7_6 for package: python-2.7.5-80.el7_6.x86_64
---> Package python-libs.x86_64 0:2.7.5-86.el7 will be an update
--> Running transaction check
---> Package python.x86_64 0:2.7.5-80.el7_6 will be updated
--> Finished Dependency Resolution
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
warning: /python-2.7.5-86.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY ] 0.0 B/s | 94 kB --:--:-- ETA
Public key for python-2.7.5-86.el7.x86_64.rpm is not installed
(1/2): python-2.7.5-86.el7.x86_64.rpm | 95 kB 00:00:00
(2/2): python-libs-2.7.5-86.el7.x86_64.rpm | 5.6 MB 00:00:05
$ ls
python-libs-2.7.5-86.el7.x86_64.rpm python-2.7.5-86.el7.x86_64.rpm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment