Chinaunix首页 | 论坛 | 博客
  • 博客访问: 576266
  • 博文数量: 94
  • 博客积分: 1631
  • 博客等级: 上尉
  • 技术积分: 586
  • 用 户 组: 普通用户
  • 注册时间: 2009-10-28 12:16
文章分类

全部博文(94)

文章存档

2014年(1)

2013年(11)

2012年(69)

2011年(7)

2010年(6)

我的朋友

分类: LINUX

2013-11-06 17:55:13

[root@(none) Downloads]# curl -O ftp://ftp.goffi.org/gcp/gcp-0.1.3.tar.bz2
[root@(none) Downloads]# tar -xjf gcp-0.1.3.tar.bz2
[root@(none) Downloads]# cd gcp-0.1.3
[root@(none) gcp-0.1.3]# python setup.py install
running install
running bdist_egg
running egg_info
creating gcp.egg-info
writing gcp.egg-info/PKG-INFO
writing top-level names to gcp.egg-info/top_level.txt
writing dependency_links to gcp.egg-info/dependency_links.txt
writing manifest file 'gcp.egg-info/SOURCES.txt'
reading manifest file 'gcp.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'INSTALL' anywhere in distribution
warning: no previously-included files matching '*.un~' found anywhere in distrib                                                                                        ution
warning: no previously-included files matching '*.swp' found anywhere in distrib                                                                                        ution
writing manifest file 'gcp.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
warning: install_lib: 'build/lib' does not exist -- no Python modules to install


installing package data to build/bdist.linux-x86_64/egg
running install_data
creating build
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
copying i18n/fr/LC_MESSAGES/gcp.mo -> /usr/share/locale/fr/LC_MESSAGES
creating build/bdist.linux-x86_64/egg/share
creating build/bdist.linux-x86_64/egg/share/man
creating build/bdist.linux-x86_64/egg/share/man/man1
copying gcp.1 -> build/bdist.linux-x86_64/egg/share/man/man1
creating build/bdist.linux-x86_64/egg/share/doc
creating build/bdist.linux-x86_64/egg/share/doc/gcp
copying COPYING -> build/bdist.linux-x86_64/egg/share/doc/gcp
copying README -> build/bdist.linux-x86_64/egg/share/doc/gcp
creating build/bdist.linux-x86_64/egg/EGG-INFO
installing scripts to build/bdist.linux-x86_64/egg/EGG-INFO/scripts
running install_scripts
running build_scripts
creating build/scripts-2.7
copying and adjusting gcp -> build/scripts-2.7
changing mode of build/scripts-2.7/gcp from 644 to 755
creating build/bdist.linux-x86_64/egg/EGG-INFO/scripts
copying build/scripts-2.7/gcp -> build/bdist.linux-x86_64/egg/EGG-INFO/scripts
changing mode of build/bdist.linux-x86_64/egg/EGG-INFO/scripts/gcp to 755
copying gcp.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying gcp.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying gcp.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-IN                                                                                        FO
copying gcp.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating dist
creating 'dist/gcp-0.1.3-py2.7.egg' and adding 'build/bdist.linux-x86_64/egg' to                                                                                         it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing gcp-0.1.3-py2.7.egg
creating /usr/lib/python2.7/site-packages/gcp-0.1.3-py2.7.egg
Extracting gcp-0.1.3-py2.7.egg to /usr/lib/python2.7/site-packages
Adding gcp 0.1.3 to easy-install.pth file
Installing gcp script to /usr/bin


Installed /usr/lib/python2.7/site-packages/gcp-0.1.3-py2.7.egg
Processing dependencies for gcp==0.1.3
Finished processing dependencies for gcp==0.1.3
[root@(none) Downloads]# curl -O
[root@(none) Downloads]# tar -xzvf progressbar-2.2.tar.gz
progressbar-2.2/
progressbar-2.2/LICENSE
progressbar-2.2/progressbar.py
progressbar-2.2/README
progressbar-2.2/PKG-INFO
progressbar-2.2/MANIFEST.in
progressbar-2.2/setup.py
progressbar-2.2/MANIFEST
[root@(none) Downloads]# cd progressbar-2.2/
[root@(none) progressbar-2.2]# python setup.py install
running install
running build
running build_py
creating build
creating build/lib
copying progressbar.py -> build/lib
running install_lib
copying build/lib/progressbar.py -> /usr/lib/python2.7/site-packages
byte-compiling /usr/lib/python2.7/site-packages/progressbar.py to progressbar.pyc
running install_egg_info
Writing /usr/lib/python2.7/site-packages/progressbar-2.2-py2.7.egg-info
[root@(none) progressbar-2.2]# 
[root@(none) ~]$ gcp -rv VMwareTools-9.2.2-893683.tar.gz VMwareTools-9.2.2-893683.tar.gz.bak
adding args to gcp: ['VMwareTools-9.2.2-893683.tar.gz', '/home/willee']
Adding to copy list: /home/willee/VMwareTools-9.2.2-893683.tar.gz ==> /home/willee (ext4)
Copying 63.29 MiB 100% |#############################|   7.00 M/s Time: 00:00:09
[root@(none) ~]$ 

usages:


阅读(1789) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~