$ tar -xzf asciidoc-8.4.4.tar.gz $ cd asciidoc-8.4.4 $ ./configure $ sudo make install
»Home
»a2x
»API
»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 does not have a packaged AsciiDoc distribution or if you prefer to install the latest AsciiDoc version from source use the configure shell script in the tarball root directory. The autoconf(1) generated configure script creates a make file that is tailored for your system. To install: $ tar -xzf asciidoc-8.4.4.tar.gz $ cd asciidoc-8.4.4 $ ./configure $ sudo make install To install the documentation: $ sudo make docs To uninstall AsciiDoc: $ sudo make uninstall If Vim is installed on your system the AsciiDoc Vim syntax highlighter and filetype detection scripts will be install in the global Vim configuration file directory (asciidoc.vim in the syntax directory and asciidoc_filetype.vim in the ftdetect directory). Installing from the Mercurial repositoryThis is an easy way to install AsciiDoc if you don’t have an up to date packaged version or want to get the latest version from the trunk:
Use the Mercurial pull command to update your AsciiDoc repository. Microsoft Windows installationTo install the zip formatted distribution just unzip the contents to a new folder: $ mkdir asciidoc $ cd asciidoc $ unzip ../asciidoc-8.4.4.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): $ python asciidoc.py doc/asciidoc.txt testasciidoc offers a more extensive set of conformance tests. |