1LBZEXE(1) General Commands Manual LBZEXE(1)
2
3
4
6 lbzexe - compress executable files in place
7
9 lbzexe name ...
10
12 The lbzexe utility allows you to compress executables in place and have
13 them automatically uncompress and execute when you run them (at a
14 penalty in performance). For example if you execute ``lbzexe
15 /usr/bin/gdb'' it will create the following two files:
16 -rwxr-xr-x 1 root root 1026675 Jun 7 13:53 /usr/bin/gdb
17 -rwxr-xr-x 1 root root 2304524 May 30 13:02 /usr/bin/gdb~
18 /usr/bin/gdb~ is the original file and /usr/bin/gdb is the self-uncom‐
19 pressing executable file. You can remove /usr/bin/gdb~ once you are
20 sure that /usr/bin/gdb works properly.
21
22 This utility is most useful on systems with very small disks.
23
25 -d Decompress the given executables instead of compressing them.
26
28 lbzip2(1), lbzmore(1), lbzcmp(1), lbzforce(1)
29
31 The compressed executable is a shell script. This may create some
32 security holes. In particular, the compressed executable relies on the
33 PATH environment variable to find lbzip2 and some standard utilities
34 (basename, chmod, ln, mkdir, mktemp, rm, sleep, and tail).
35
37 lbzexe attempts to retain the original file attributes on the com‐
38 pressed executable, but you may have to fix them manually in some
39 cases, using chmod or chown.
40
41
42
43 LBZEXE(1)