Reduce PDF file size in Linux

A GhostScript command can help in reducing your pdf size. $gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -sOutputFile=output.pdf input.pdf You can also use the following parameters for -dPDFSETTINGS instead of /screen: /screen – Lowest quality, lowest size /ebook – Moderate quality /printer – Good quality /prepress – Best quality, highest size I was able to reduce … More Reduce PDF file size in Linux

Errors were encountered while processing: E: Sub-process /usr/bin/dpkg returned an error code (1)

During installation of octave, I got these errors regarding configuration of packages: This is because during installation of packages, they get installed but yet configured to octave configuration file. Therefore, I tried command $sudo dpkg –configure -a && sudo apt-get update –fix-missing But those errors still persists. On searching, I found solution is to remove … More Errors were encountered while processing: E: Sub-process /usr/bin/dpkg returned an error code (1)