0

Update: Gummi installed with no problem and seems to work. Thanks...

I need to install some sort of TeX editor on Linux Mint (19.1 "Tessa"). The Software Manager kindly offers to install TeXStudio but that fails with a 404. The install script at https://community.linuxmint.com/software/view/texstudio also fails, could not retrieve a few packages. For the heck of it I execute "texstudio" in a terminal window - it says it's not installed but can be installed with sudo apt [something]" - that also fails to retrieve a few packages.

If anyone has an idea how a Linux weenie can install TeXStudio or some other suitable TeX editor that would be fabulous.

12
  • Why not just use Overleaf? Do you need to be offline? – Leonidas Karagiannis Jun 1 '20 at 14:35
  • 1
    I believe a lot of editors are platform independent now, but I can be mistaken of course. Here is a very useful post about most recorded possibilities tex.stackexchange.com/questions/339/latex-editors-ides. I started on texmaker, then atom-latex, and now I am working on VSCode+LaTeX-Workshop. Both last editors should be functionning on Linux OSs. See here for VSCode code.visualstudio.com/docs/setup/linux – BambOo Jun 1 '20 at 14:45
  • 1
    Here is the official TeXstudio website: texstudio.org and you can download the xUbuntu version there (Mint is not listed; I use Mint). – Sigur Jun 1 '20 at 16:18
  • @Sigur Thanks. There are five or six different xUbunutu packages there - sorry to be a moron, but how do I tell which one I want? – David C. Ullrich Jun 1 '20 at 16:49
  • You have to know your distribution. Maybe you have Mint 2020. I have Mint 18. – Sigur Jun 1 '20 at 16:51
2

There seems to be 2 issues here.

First, a 404 error is (I think) related to the fact that you tried to download software but it wasn't there; this explains why you were told it wasn't installed. I went to the Linux Mint forums and found this which says:

Question: "/etc/apt/sources.list is the usual location of the repository list for debian systems. Mint is a debian based system, but the repository list is not here. Where is it in Tessa, 19.1?"

followed by

Answer: "On Mint the main repository list file has been /etc/apt/sources.list.d/official-package-repositories.list for years now. The smartest way of querying the software sources list files, configured on your own system, is by executing the terminal command inxi -r." which is followed by a screenshot of what to expect.

The answer solved the problem. So I think it's a matter of sudo apt-get to the appropriate spot. Here is a link about dealing with 404 errors with Ubuntu (which Mint is built from).

Second, with respect to LaTeX editors, I like Gummi for small documents, Kile for long documents, and use the online editor Cocalc when working with sagetex and SAGE . You can go to your software center, search on latex and get what's available for Mint 19.1. For Mint 18 I have

enter image description here

1
  • Yes, that's what 404 means, sorry. Thanks - I may try Gummi and Kile. – David C. Ullrich Jun 1 '20 at 16:07
3

I'd offer an unpopular opinion.

Emacs

  1. Install Emacs, preferably with GUI.
  2. Create a proper init file for more usual for yourself keybinding, there are a lot of starter packages out there. Be aware, that a proper customisation can take weeks.
  3. Add MELPA repository to it. In most "batteries included" init files it is already there.
  4. Install AucTeX.
  5. Install additional packages for graphical preview, latexmk, reverse indexing, and so on, if you need them.
  6. This has nothing to do with Emacs, but I feel that it is a good suggestion: start using git early.

Such a setup is portable across Linuces, Mac OS, all the exotic old UNIX OSes, and even Windows. Even if something breaks away, you will be able to fix it. So, basically, getting a working Emacs environment is an investment for life.

4
  • 1
    are there other editors? – David Carlisle Jun 1 '20 at 14:44
  • Why is this "unpopular"? – David C. Ullrich Jun 1 '20 at 14:51
  • 1
    @davidc it doesn't mention vim. – Johannes_B Jun 1 '20 at 15:48
  • Yes! Steep learning curve, but you don’t need to try learning everything at once, and Emacs repays your efforts many times over. – Thérèse Jun 1 '20 at 16:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.