1MAKESELF(1) General Commands Manual MAKESELF(1)
2
3
4
6 makeself - An utility to generate self-extractable archives.
7
9 makeself [options] archive_dir file_name label [startup_script] [args]
10
12 This program is a free (GPL) utility designed to create self-ex‐
13 tractable archives from a directory.
14
16 The following options are supported.
17
18 -v, --version Prints out the makeself version number and exits.
19
20 -h, --help Print out help information.
21
22 --tar-quietly Suppress verbose output from the tar command
23
24 --quiet Do not print any messages other than errors
25
26 --gzip Compress using gzip (default if detected).
27
28 --bzip2 Compress using bzip2.
29
30 --pbzip2 Compress using pbzip2.
31
32 --xz Compress using xz.
33
34 --lzo Compress using lzop.
35
36 --lz4 Compress using lz4.
37
38 --compress Compress using the UNIX 'compress' command.
39
40 --nocomp Do not compress the data.
41
42 --complevel lvl
43 Specify the compression level for
44 gzip,bzip2,pbzui2,xz,lzo or lz4
45
46 --notemp The archive will create archive_dir in the current di‐
47 rectory and uncompress in ./archive_dir.
48
49 --copy Upon extraction, the archive will first copy itself to a
50 temporary directory.
51
52 --append Append more files to an existing makeself archive. The
53 label and startup scripts will then be ignored.
54
55 --current Files will be extracted to the current directory. Both
56 --current and --target dir imply --notemp.
57
58 --target dir Extract directly to a target directory. Directory path
59 can be either absolute or relative.
60
61 --header file Specify location of the header script.
62
63 --cleanup file Specify a cleanup script that executes on interrupt and
64 when finished successfully.
65
66 --follow Follow the symlinks in the archive.
67
68 --noprogress Do not show the progress during the decompression.
69
70 --nox11 Disable automatic spawn of an xterm if running in X11.
71
72 --nowait Do not wait for user input after executing embedded pro‐
73 gram from an xterm.
74
75 --nomd5 Do not create a MD5 checksum for the archive.
76
77 --nocrc Do not create a CRC32 checksum for the archive.
78
79 --lsm file LSM file describing the package. --packaging-date date
80 Use provided string as the packaging date instead of the
81 current date.
82
84 Here is an example, assuming the user has a package image stored in a
85 /home/joe/mysoft, and he wants to generate a self-extracting package
86 named mysoft.sh, which will launch the "setup" script initially stored
87 in /home/joe/mysoft:
88
89 makeself.sh /home/joe/mysoft mysoft.sh "Joe's Nice Software Package"
90 ./setup
91
92 Here is also how I created the makeself.run archive which contains the
93 Makeself distribution:
94
95 makeself.sh --notemp makeself makeself.run "Makeself by Stephane Peter"
96 echo "Makeself has extracted itself"
97
99 Makeself has been written by Stéphane Peter <megastep@megastep.org>.
100 This man page was originally written by Bartosz Fenski <fenio@o2.pl>
101 for the Debian GNU/Linux distribution (but it may be used by others).
102
103
104
105 2.4.5 MAKESELF(1)