Installation

Installing 2.19 on RHEL9

Installing 2.19 on RHEL9

by Michael Nyenhuis -
Number of replies: 4

I'm installing 2.19 on RHEL9, and both pdf2svg and ImageMagick aren't in any of the standard repositories. When I installed 2.16 on RHEL several years ago, pdf2svg was also required, was not available in a repository, but WW still worked fine without it. I assume the same will be true for 2.19.

For ImageMagick, has any one tried GraphicsMagick as a replacement?

Thanks!

In reply to Michael Nyenhuis

Re: Installing 2.19 on RHEL9

by Sean Fitzpatrick -

I don't know about GraphicsMagick.

pdf2svg is needed by any problems with generated graphics (both TikZ and PGlateximage), but you also have the option now to replace this with dvisvgm.

If you have the latter installed, perhaps you can get by without pdf2svg.

In reply to Sean Fitzpatrick

Re: Installing 2.19 on RHEL9

by Michael Nyenhuis -

Thanks for the quick reply. Dvisvgm worked fine with 2.16, so I imagine it should work for 2.19. I'll try using GraphicsMagick and report results. 

In reply to Michael Nyenhuis

Re: Installing 2.19 on RHEL9

by Danny Glin -

ImageMagick is available from EPEL.  I thought that there were some other WW dependencies that I got from there for my RHEL8 installation.

In reply to Michael Nyenhuis

Re: Installing 2.19 on RHEL9

by Alex Jordan -

Since WeBWorK 2.19, dvisvgm has been the default tool for building svg from latex image code. For a few versions prior to this, it was pdf2svg only because there was a brief window of time where there was a bug with dvisvgm. But dvisvgm is much better and pdf2svg has not been maintained for a long time now. On certain OSs, I found it impossible to even install.

So if you are installing WeBWorK 2.19 now, you do not need pdf2svg at all. Just check that your latex installation has dvisvgm.

ImageMagick is only currently used for creating png image files from latex image code. By default, that will not be used with regular use of a WeBWorK server. It will be used if the server supports some PreTeXt project. And it would be used if a problem file specifically indicated that png images should be built (instead of svg).