Linux SoftwareSystemArchivingmakeself 2.1.4

makeself 2.1.4


makeself.sh is a small shell script that generates a self-extractable tar.gz archive from a directory
Developer:   St?phane Peter
      more software by author →
Price:  0.00
License:   GPL (GNU General Public License)
File size:   35K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


makeself.sh is a small shell script that generates a self-extractable tar.gz archive from a directory. The resulting file appears as a shell script (many of those have a .run suffix), and can be launched as is.

The archive will then uncompress itself to a temporary directory and an optional arbitrary command will be executed (for example an installation script). This is pretty similar to archives generated with WinZip Self-Extractor in the Windows world. Makeself archives also include checksums for integrity self-validation (CRC and/or MD5 checksums).

The makeself.sh script itself is used only to create the archives from a directory of files. The resultant archive is actually a compressed (using gzip, bzip2, or compress) TAR archive, with a small shell script stub at the beginning.

This small stub performs all the steps of extracting the files, running the embedded command, and removing the temporary files when it's all over. All what the user has to do to install the software contained in such an archive is to "run" the archive, i.e sh nice-software.run.

I recommend using the "run" (which was introduced by some Makeself archives released by Loki Software) or "sh" suffix for such archives not to confuse the users, since they know it's actually shell scripts (with quite a lot of binary data attached to it though!).

Usage

The syntax of makeself is the following:

makeself.sh [args] archive_dir file_name label startup_script [script_args]

args are optional options for Makeself. The available ones are :
--version : Prints the version number on stdout, then exits immediately
--gzip : Use gzip for compression (is the default on platforms on which gzip is commonly available, like Linux)
--bzip2 : Use bzip2 instead of gzip for better compression. The bzip2 command must be available in the command path. I recommend that you set the prefix to something like '.bz2.run' for the archive, so that potential users know that they'll need bzip2 to extract it.
--compress : Use the UNIX "compress" command to compress the data. This should be the default on all platforms that don't have gzip available.
--nocomp : Do not use any compression for the archive, which will then be an uncompressed TAR.
--notemp : The generated archive will not extract the files to a temporary directory, but in a new directory created in the current directory. This is better to distribute software packages that may extract and compile by themselves (i.e. launch the compilation through the embedded script).
--current : Files will be extracted to the current directory, instead of in a subdirectory. This option implies --notemp above.
--follow : Follow the symbolic links inside of the archive directory, i.e. store the files that are being pointed to instead of the links themselves.
--append (new in 2.1.x): Append data to an existing archive, instead of creating a new one. In this mode, the settings from the original archive are reused (compression type, label, embedded script), and thus don't need to be specified again on the command line.
--header : Makeself 2.0 uses a separate file to store the header stub, called "makeself-header.sh". By default, it is assumed that it is stored in the same location as makeself.sh. This option can be used to specify its actual location if it is stored someplace else.
--copy : Upon extraction, the archive will first extract itself to a temporary directory. The main application of this is to allow self-contained installers stored in a Makeself archive on a CD, when the installer program will later need to unmount the CD and allow a new one to be inserted. This prevents "Filesystem busy" errors for installers that span multiple CDs.
--nox11 : Disable the automatic spawning of a new terminal in X11.
--nowait : When executed from a new X11 terminal, disable the user prompt at the end of the script execution.
--nomd5 and --nocrc : Disable the creation of a MD5 / CRC checksum for the archive. This speeds up the extraction process if integrity checking is not necessary.
--lsm file : Provide and LSM file to makeself, that will be embedded in the generated archive. LSM files are describing a software package in a way that is easily parseable. The LSM entry can then be later retrieved using the '-lsm' argument to the archive. An exemple of a LSM file is provided with Makeself.
archive_dir is the name of the directory that contains the files to be archived
file_name is the name of the archive to be created
label is an arbitrary text string describing the package. It will be displayed while extracting the files.
startup_script is the command to be executed from within the directory of extracted files. Thus, if you wish to execute a program contain in this directory, you must prefix your command with "./". For example, ./program will be fine. The script_args are additionnal arguments for this command.

What's New in This Release:
  • Fixed --info output.
  • Generate random directory name when extracting files to . to avoid problems.
  • Better handling of errors with wrong permissions for the directory containing the files.
  • Avoid some race conditions, Unset the $CDPATH variable to avoid problems if it is set. Better handling of dot files in the archive directory.
    tags the archive  the files  for the  disable the  lsm file  the directory  the command  archive will  temporary directory  shell script  makeself archive  program will  new one  

    Download makeself 2.1.4


     http://www.megastep.org/makeself/makeself.run


    Authors software

    Similar software

    makeself 2.1.4 (by St?phane Peter)
    makeself.sh is a small shell script that generates a self-extractable tar.gz archive from a directory

    Nixstaller 0.1.1 (by Rick)
    Nixstaller project can easily make installers for Unix-like systems.

    Here are some key features of "Nixstaller":
    · Can be transla

    Archive::Rar 1.9 (by Jean-Marc Boulade)
    Archive::Rar is a interface with the 'rar' command.

    SYNOPSIS

    use Archive::Rar;
    my $rar =new Archive::Rar();
    $rar->Add(

    File Roller 2.17.1 (by HPG)
    File Roller project is an archive manager for the GNOME environment.

    Archive manager means that you can:

    · Create and modify ar

    Archive::Any::Create 0.02 (by Tatsuhiko Miyagawa)

    Archive sort 0.1 (by Jason Dunsmore)
    Archive sort is a bash script that sorts directories into manageable 4.4GB directories for the purpose of archiving onto DVDs.

    It

    ln_local 1.1.1 (by Philippe Brochard)
    ln_local is a simple shell script for managing the installation of software packages (typically in /usr/local)

    atool 0.32.0 (by Oskar Liljeblad)
    atool is a script for managing file archives of various types (tar, tar+gzip, zip etc)

    Archive::Tyd 0.02 (by C. J. Kirsle)
    Archive::Tyd is a Perl extension for simple file archiving.

    SYNOPSIS

    use Archive::Tyd;

    my $tyd = new Archive::Tyd (passw

    konvert 0.8 (by Nicolas Hadacek)


    Other software in this category

    KDar - the KDE Disk archiver 2.0.7 (by Johnathan Burchill)
    KDar is the “KDE Disk archiver”, a disk-based archiving and backup utility.

    KDar is built around the “disk archive library” by Denis

    The PHP Photo Archive 1.0 RC1 (by bzrudi)
    LinPHA is an easy to use, multilingual, flexible photo/image archive/album/gallery written in PHP

    CDRDAO 1.2.2 (by poolshark)
    Cdrdao records audio or data CD-Rs in disk-at-once (DAO) mode based on a textual description of the CD contents (toc-file).

    Record

    S tar 1.5a76 (by J?rg Schilling)
    Star saves many files together into a single tape or disk archive, and can restore individual files from the archive.

    It includes

    Disk ARchive 2.3.2 (by Denis Corbin)
    Dar is a shell command that backs up directory trees and files

  •     search


    Featured Software

    jEdit 4.3 pre8
    jEdit is an Open Source text editor written in Java

    Opera 9.02
    Surf the Internet in a safer, faster, and easier way with Opera browser

    GNU Aspell 0.60.4
    GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


    Subscribe in Rojo
    Google Reader
    Add to My Yahoo!

    Add to My AOL
    Subscribe with Bloglines
    Subscribe in NewsGator Online
    Add 'nixbit linux software' to Newsburst from CNET News.com
    del.icio.us nixbit linux software


    Top tags