Ubuntu 管理心得

搜尋此網誌

2018年8月11日 星期六

Octave produce blank fig (xfig) file in ubuntu 18.04

I have a post in http://octave.1599824.n4.nabble.com/Cannot-produce-fig-file-td4687972.html#a4688009.

The reason why fig cannot be created is due to the bug in ghostscript 9.22.  
I found a solution (temporarily) in ubuntu 18.04. The steps are:
  1. Download the ghostscript 9.23  here
  2. Untar it at, say, /foo/.
  3. sudo mv /usr/bin/gs /usr/bin/gs_orig_922
  4. sudo ln -sf /download/Ghostscript/ghostscript-9.23-linux-x86_64/gs-923-linux-x86_64 /usr/bin/gs
  5. Done!

網誌存檔