- Download GhostPDL source code - http://www.ghostscript.com/download/gpdldnld.html eg.axel "http://downloads.ghostscript.com/public/ghostpdl-9.09.tar.gz"
- Extract it atool -x ghostpdl-9.09.tar.gz
- Install dependencies sudo apt-get install libxext-dev libxt-dev libjpeg-dev
- Enter directory cd ghostpdl*
- Prepare compilation ./configure
- Compile make xps
- Install sudo make install
- Finish installationsudo cp xps/obj/gxps /usr/bin/
- Convert for i in *.xps; do gxps -sDEVICE=pdfwrite -o "${i%.*}.pdf" "$i";done;
~~DISCUSSION~~