Monday, December 10, 2018

Install Latex Texmaker on Linux mint 19 / Ubuntu 18.04

Installing latex is pretty straight forward. We could get it from the official packages /repos througth command line. I wish to install a "full" latex support as I don't want to install any other packages to install later on. So, the Download size is ~2.5GB and installation space need is 4.5GB roughly. Texmaker is just 5-50MB where as the rest is fully occupied by LaTeX  or TeX or TeXLive.
sudo apt-get update
sudo apt-get install texlive-full texmaker
Next things is that spell check
When do a check spelling you will get an "Error can't open dictionary"
Go to Options>Configure>Editor tab
Change myspell to hunspell dictionary. I wanted British English so I selected the below:
/usr/share/hunspell/en_GB.dic

Thanks to vijay!

Next thing is you may have to install Latexdraw for drawing pictures. It need Java SE/JDK. I installed JDK from official oracle site here. Click JDK download(I would need for java programming etc).  I used deb file. Clicking/opening it will install it automatically or based on deb file

"sudo dpkg -i jdk-11.0.1_linux-x64_bin.deb"

As oracle Jdk didn't registered in update-java-alternative or update-alternative --config java. I went to fix it manually. I was able to locate my installation at  "/usr/lib/jvm" called "jdk-11.0.1" folder.

Extract the downloaded LaTeXDraw-3.x.x.-bin.zip from https://sourceforge.net/projects/latexdraw/. After extracting run the following.

sudo /usr/lib/jvm/jdk-11.0.1/bin/java -jar installer.jar
That's it. Bye for now.
I have disabled trigger email from comment. Contact me on twitter instead for any questions.

2 comments:

  1. It should say "sudo apt-get install texlive-full texmaker", but other than that it's a nice guide!

    ReplyDelete
  2. Thanks for pointing out :-)
    I will rectify it.

    ReplyDelete

Last Post !! Moved to new site

As I am getting old 😋, it seem like I can not remember many of my earlier tech encounters. This is the place I was logging so that I refer ...