I found this page which suggests to install TexStudio with the following commands:

sudo apt-get update
sudo apt-get install texstudio

Is it enough? Don't I need a package manager like MiKTeX in Windows?

Thanks,

  • With apt-get you are using the package manager. – Hannu Nov 13 '16 at 17:00
  • 2
    I did it from Ubuntu Software center, it seems it lack a few things such as the top banner ... Do you have any idea ? – ThePassenger Jul 31 '17 at 12:20
up vote 14 down vote accepted

When I installed Texmaker then that was all I needed to do. Any dependencies should be automatically installed when you use apt-get. I remember being surprised how much more work I had to do to install it on Windows.

  • 1
    You're right, when I tried the second command, it told me it needed 610MB disk space, so yes, it installs all the dependencies with it apparently. – jeff Nov 13 '16 at 14:46

Yes you have to install texlive-full, it is around 3.5 GB. To install it, run the following command in the terminal:

sudo apt install texlive-full

Then you can install texstudio or texmaker.

Source here

  • 1
    +1. Funny, this is actually the only correct answer and it was downvoted :). Though one can install texstudio alone, it will be pretty useless because one can't compile real latex documents with it; instead of installing texlive-full one can install texliveand additional packages, such as texlive-latex-extra (given one knows what he needs). – kludg Dec 24 '17 at 17:48

It is also possible to install it via the Ubuntu Software program, which might be easier for people that are new to Ubuntu.

  1. Open Ubuntu Software
  2. Search TeXstudio
  3. Press install and wait

When installing texstudio, you need to install texlive first, since texstudio is solely the "IDE"

  • While this may solve the issue, I would still recommend including instructions on how to install texlive with texstudio so that this will be a more useful answer for those who need it. – Owen Hines Jan 5 '17 at 16:44

Texstudio is merely an IDE. To get the full advantage of installing latex, you will have to use the command:

sudo apt install texlive-full  // for ubuntu 16.04 and above

However, the above command can most often be a temptation. It installs so many extra (language) packages, most of which will be unnessary for your purpose. Therefore, it is recommended to use the command without the "full":

sudo apt install texlive   // for ubuntu 16.04 and above

Hope this helps!

BRIEF

I've seen 2 types of answers here. Both answers are actually OK. You could just do as you say or install first texlive-full.

  • Option 1: sudo apt-get install texstudio will have texstudio using texlive-base.
  • Option 2: sudo apt install texlive-base + sudo apt-get install texstudio will have texstudio using texlive-full

Both will have texstudio up and running and for most cases, the first option will be enough to compile. Option 2 will install every package so you'll never have to install any extra package when compiling.

I guess if you don't have space issues the second option is better. However, I am using Ubuntu on a live persistent USB drive without much space so I go for option 1.

You could check packages differences running apt-cache search texlive (you'll see that there are actually more than 2 options).

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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