Asymptote is a powerful descriptive vector graphics language that provides a natural coordinate-based framework for technical drawing. Labels and equations can be typeset with LaTeX. As well as EPS, PDF and PNG output it can produce WebGL 3D HTML rendering and (using dvisvgm) SVG output.
This package is known to build and work properly using an LFS-10.1 platform.
Download (HTTP): https://downloads.sourceforge.net/asymptote/asymptote-2.70.src.tgz
Download MD5 sum: b57e685568a7cca69024a86c7276eb6d
Download size: 4.5 MB
Estimated disk space required: 190 MB (with all the dependencies which are within BLFS)
Estimated build time: 0.9 SBU (using parallelism=4)
ghostscript-9.54.0 and texlive-20200406
cURL-7.76.0, Freeglut-3.2.1, GC-8.0.4, GLEW-2.2.0, GLM-0.9.9.8 and libtirpc-1.3.1
fftw-3.3.9, Gsl-2.6, libsigsegv-2.13
ImageMagick-7.0.11-0 to convert output to other formats such as JPEG or to create animated GIFs, PyQt5 (not tested, has a build dependency of Qt-5.15.2) to use xasy.
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/asymptote
Install asymptote by running the following commands:
export TEXARCH=$(uname -m | sed -e 's/i.86/i386/' -e 's/$/-linux/') && ./configure --prefix=/opt/texlive/2020 \ --bindir=/opt/texlive/2020/bin/$TEXARCH \ --datarootdir=/opt/texlive/2020/texmf-dist \ --infodir=/opt/texlive/2020/texmf-dist/doc/info \ --libdir=/opt/texlive/2020/texmf-dist \ --mandir=/opt/texlive/2020/texmf-dist/doc/man \ --enable-gc=system \ --with-latex=/opt/texlive/2020/texmf-dist/tex/latex \ --with-context=/opt/texlive/2020/texmf-dist/tex/context/third && make
To test the results, issue: make check.
Now, as the root
user:
make install
--prefix=, --bindir=, --datarootdir=,
--infodir=, --mandir= ...
: these switches ensure that
the files installed from source will overwrite any corresponding
files previously installed by install-tl-unx so that the alternative methods
of installing texlive are
consistent.
--libdir=/opt/texlive/2020/texmf-dist;
:
This parameter ensures that the asymptote
directory will similarly overwrite any
files installed by install-tl-unx.
--enable-gc=system
: this
ensures that the system version of libgc.so
will be used instead of the version
shipped with this package.
--with-latex= ...
--with-context=
: These switches ensure that style files
and a tex file will be installed into the texlive directories instead of creating a
texmf-local
directory for them.
Last updated on 2021-03-15 14:56:56 -0500