[Tex/LaTex] Problem with Texstudio in Ubuntu 18.04

miktextexlivetexmakertexstudioUbuntu

I am new to Ubuntu (I have Ubuntu 18.04) and I have tried to install Texstudio for three days, but I have always had problems. I have tried EVERYTHING what I found on the Internet, but NOTHINGS works. I feel really hopeless. Can you help me to remove everything related to LaTeX (because I am not sure that I uninstall everything – Texmaker, Texstudio, Texlive and Miktex) and to install Texstudio, please? I know how to use terminal.
Thank you very much.

Best Answer

Delete all TeXLive and TeXStudio which you have installed so far with

sudo apt remove texlive-full
sudo apt remove texstudio

Then run in a terminal:

wget https://github.com/scottkosty/install-tl-ubuntu/raw/master/install-tl-ubuntu 

then

chmod +x ./install-tl-ubuntu

then

sudo ./install-tl-ubuntu

this will take some time ... After that

sudo apt install texstudio

Now you can start TeXstudio from the menu. You can update your TeX distribution by running

sudo tlmgr --self --all update

If you want get rid of the sudo then run

sudo chown -R <USER> /usr/local/texlive

Then you can run all as user which simplifies some things.

Related Question