forked from s3tools/s3cmd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
97 lines (66 loc) · 2.64 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
Installation of s3cmd package
=============================
Author:
Michal Ludvig <[email protected]>
S3tools / S3cmd project homepage:
http://s3tools.sourceforge.net
Amazon S3 homepage:
http://aws.amazon.com/s3
!!!
!!! Please consult README file for setup, usage and examples!
!!!
Package formats
---------------
S3cmd is distributed in two formats:
1) Prebuilt RPM file - should work on most RPM-based
distributions
2) Source .tar.gz package
Installation of RPM package
---------------------------
As user "root" run:
rpm -ivh s3cmd-X.Y.Z.noarch.rpm
where X.Y.Z is the most recent s3cmd release version.
You may be informed about missing dependencies
on Python or some libraries. Please consult your
distribution documentation on ways to solve the problem.
Installation of source .tar.gz package
--------------------------------------
There are three options to run s3cmd from source tarball:
1) S3cmd program as distributed in s3cmd-X.Y.Z.tar.gz
can be run directly from where you untar'ed the package.
2) Or you may want to move "s3cmd" file and "S3" subdirectory
to some other path. Make sure that "S3" subdirectory ends up
in the same place where you move the "s3cmd" file.
For instance if you decide to move s3cmd to you $HOME/bin
you will have $HOME/bin/s3cmd file and $HOME/bin/S3 directory
with a number of support files.
3) The cleanest and most recommended approach is to run
python setup.py install
You will however need Python "distutils" module for this to
work. It is often part of the core python package (e.g. in
OpenSuse Python 2.5 package) or it can be installed using your
package manager, e.g. in Debian use
apt-get install python2.4-setuptools
Again, consult your distribution documentation on how to
find out the actual package name and how to install it then.
Note to distibutions package maintainers
----------------------------------------
Define shell environment variable S3CMD_PACKAGING=yes if you
don't want setup.py to install manpages and doc files. You'll
have to install them manually in your .spec or similar package
build scripts.
On the other hand if you want setup.py to install manpages
and docs, but to other than default path, define env
variables $S3CMD_INSTPATH_MAN and $S3CMD_INSTPATH_DOC. Check
out setup.py for details and default values.
Where to get help
-----------------
If in doubt, or if something doesn't work as expected,
get back to us via mailing list:
For more information refer to:
* S3cmd / S3tools homepage at http://s3tools.sourceforge.net
Enjoy!
Michal Ludvig
* http://www.logix.cz/michal