$ tar -xzf asciidoc-8.2.5.tar.gz $ cd asciidoc-8.2.5 $ sudo ./install.sh
»Home
»a2x
»FAQ
|
AsciiDoc InstallationTable of Contents
The latest AsciiDoc downloads can be found on the AsciiDoc website http://www.methods.co.nz/asciidoc/downloads.html and at the SourceForge http://sourceforge.net/projects/asciidoc/): Prepackaged AsciiDoc installationThe AsciiDoc downloads page lists AsciiDoc packages for various Linux distributions. Distribution tarball installationIf your flavor or UNIX or Linux is not supported or you prefer to install from source use the install.sh shell script in the tarball root directory (thanks to Jacob Mandelson for the initial implementation of this script). install.sh installs AsciiDoc executables, configuration files and man pages in the usual locations. Here's how: $ tar -xzf asciidoc-8.2.5.tar.gz $ cd asciidoc-8.2.5 $ sudo ./install.sh
The uninstall.sh script (actually just a symlink to install.sh) will uninstall AsciiDoc. If Vim is installed on your system install.sh will install the Vim syntax highlighter and filetype detection scripts in the global /etc/vim directory (asciidoc.vim in /etc/vim/syntax/ and asciidoc_filetype.vim in /etc/vim/ftdetect/). To install locally put asciidoc.vim in ~/.vim/syntax/ and asciidoc_filetype.vim in ~/.vim/ftdetect/. Microsoft Windows installationTo install the zip formatted distribution just unzip the contents to a new folder: $ mkdir asciidoc $ cd asciidoc $ unzip ../asciidoc-8.2.5.zip Testing your installationTest out asciidoc by changing to the AsciiDoc application directory and convert the User Guide document (./doc/asciidoc.txt) to XHTML (./doc/asciidoc.html): $ asciidoc doc/asciidoc.txt
|