Texmaker and TeXstudioNot able to install LaTeX in ubuntu ?

Information and discussion about Texmaker, an integrated LaTeX environment for several platforms, and the related TeXstudio
priyanshu-gif
Posts: 7
Joined: Tue May 11, 2021 8:29 am

Not able to install LaTeX in ubuntu ?

Post by priyanshu-gif »

Hello Experts,
I am trying to install Latex in my machine but when installation is complete and i search LaTeX application it is not showing to me.
can anyone please help me with this ? i am getting this but i didn't fine any app for this why ?

priyanshu@priyanshu-Inspiron-5593:~$ sudo apt-get install texlive-full
[sudo] password for priyanshu:
Reading package lists... Done
Building dependency tree
Reading state information... Done
texlive-full is already the newest version (2019.20191208-4ubuntu2).
The following packages were automatically installed and are no longer required:
gstreamer1.0-gtk3 libabw-0.1-1 libboost-date-time1.71.0
libboost-filesystem1.71.0 libboost-iostreams1.71.0 libboost-locale1.71.0
libclucene-contribs1v5 libclucene-core1v5 libcmis-0.5-5v5 libcolamd2
libe-book-0.1-1 libeot0 libepubgen-0.1-1 libetonyek-0.1-1
libexttextcat-2.0-0 libgpgmepp6 libmhash2 libmwaw-0.3-3 libmythes-1.2-0
libneon27-gnutls libodfgen-0.1-1 liborcus-0.15-0 libraptor2-0 librasqal3
librdf0 librevenge-0.0-0 libsuitesparseconfig5 libwpd-0.10-10 libwpg-0.3-3
libwps-0.4-4 libxmlsec1 libxmlsec1-nss libyajl2 lp-solve
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Ijon Tichy
Posts: 640
Joined: Mon Dec 24, 2018 10:12 am

Not able to install LaTeX in ubuntu ?

Post by Ijon Tichy »

This is not a LaTeX nor an editor problem but a Linux/Ubuntu/Debian problem. You should ask in a Ubuntu forum. So only one short note:

The message
priyanshu-gif wrote: texlive-full is already the newest version (2019.20191208-4ubuntu2).
states that texlive-full is already installed. If it is not, your package management is broken. You can try a reinstallation with option --reinstall. See the apt-get manual for more information. If the problem persists you should ask in a Ubuntu forum how to solve package installation problems. but before you should test, e.g., which pdflatex or pdflatex --version in the terminal, to check whether it is installed.

BTW: TeX Live 2019 is very old and support is not always possible for such old installations. Upstream current TeX Live is 2021. Maybe using testing repository or doing a Vanilla installation would be another idea.
Sorry, but I can no longer participate here as the administrator is trampling on my wishes on one of his other platforms. :cry:
priyanshu-gif
Posts: 7
Joined: Tue May 11, 2021 8:29 am

Not able to install LaTeX in ubuntu ?

Post by priyanshu-gif »

Hi,
Thank you for the reply!
now i am getting this....
can you please check this..
priyanshu@priyanshu-Inspiron-5593:~$ sudo apt install texmaker
[sudo] password for priyanshu:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
texmaker : Depends: libqt5script5 (>= 5.6.0~beta) but it is not going to be installed
Depends: qtbase-abi-5-12-5
Recommends: latex-beamer but it is not installable
E: Unable to correct problems, you have held broken packages.
User avatar
Ijon Tichy
Posts: 640
Joined: Mon Dec 24, 2018 10:12 am

Not able to install LaTeX in ubuntu ?

Post by Ijon Tichy »

I'm not using Ubuntu or a Debian based Linux. And once again, this is a Linux problem not a LaTeX problem. Please ask in a Linux/Ubuntu forum how to solve it.
Sorry, but I can no longer participate here as the administrator is trampling on my wishes on one of his other platforms. :cry:
priyanshu-gif
Posts: 7
Joined: Tue May 11, 2021 8:29 am

Not able to install LaTeX in ubuntu ?

Post by priyanshu-gif »

okay. thank you i will post my query there. :|
Anymouse
Posts: 20
Joined: Mon May 10, 2021 2:50 am

Not able to install LaTeX in ubuntu ?

Post by Anymouse »

type

Code: Select all

which pdflatex
If you get an answer then you have TeXLive installed.

If you are looking for graphical user interface, try LyX --- that's the one I first learned with and I think it is available in Ubuntu but it is not part of TeXLive, it uses TeXLive but is a separate package.
priyanshu-gif
Posts: 7
Joined: Tue May 11, 2021 8:29 am

Not able to install LaTeX in ubuntu ?

Post by priyanshu-gif »

Thanks for your reply!
i am getting this. can you please tell me what does it mean ?
=============================================================================================
priyanshu@priyanshu-Inspiron-5593:~$ which pdflatex
/usr/bin/pdflatex
priyanshu@priyanshu-Inspiron-5593:~$ pdflatex ..version
This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/Debian) (preloaded format=pdflatex)
restricted \write18 enabled.
entering extended mode
! I can't find file `..version'.
<*> ..version

(Press Enter to retry, or Control-D to exit)
Please type another input file name: myLatex
! I can't find file `myLatex'.
<*> ..version

(Press Enter to retry, or Control-D to exit)
Please type another input file name:
User avatar
Ijon Tichy
Posts: 640
Joined: Mon Dec 24, 2018 10:12 am

Not able to install LaTeX in ubuntu ?

Post by Ijon Tichy »

Your TeX Live installation was successful. pdflatex is available.

The error message was, because you've run pdflatex ..version instead of pdflatex --version. So it searched for a file names ..version instead of showing the version of the installed pdftex. However, this doesn't matter. Your installation is ready to use.

If the installation of TeXmaker fails, you can try another LaTeX editor, e.g., TeXstudio or the (minimalistic) TeXworks. There are several others. However, you should report installation errors to the proper ubuntu or debian maintainer. Because: no bug report → no fix.
Sorry, but I can no longer participate here as the administrator is trampling on my wishes on one of his other platforms. :cry:
priyanshu-gif
Posts: 7
Joined: Tue May 11, 2021 8:29 am

Not able to install LaTeX in ubuntu ?

Post by priyanshu-gif »

Okay, thank you so much for your prompt reply.
BTW now i am getting this.....
=============================================================================================
priyanshu@priyanshu-Inspiron-5593:~$ which pdflatex
/usr/bin/pdflatex
priyanshu@priyanshu-Inspiron-5593:~$ pdflatex --version
pdfTeX 3.14159265-2.6-1.40.20 (TeX Live 2019/Debian)
kpathsea version 6.3.1
Copyright 2019 Han The Thanh (pdfTeX) et al.
There is NO warranty. Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Han The Thanh (pdfTeX) et al.
Compiled with libpng 1.6.37; using libpng 1.6.37
Compiled with zlib 1.2.11; using zlib 1.2.11
Compiled with xpdf version 4.01
priyanshu@priyanshu-Inspiron-5593:~$ sudo apt-get install TeXstudio
[sudo] password for priyanshu:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package TeXstudio
priyanshu@priyanshu-Inspiron-5593:~$
===========================================================================================
NOw my question is why i am unable to install editors of LaTex like texmaker, texstudio and others ?
and when i install this from the Ubuntu store i see this....
Attachments
Screenshot from 2021-05-12 13-35-50.png
Screenshot from 2021-05-12 13-35-50.png (26.38 KiB) Viewed 74885 times
priyanshu-gif
Posts: 7
Joined: Tue May 11, 2021 8:29 am

Not able to install LaTeX in ubuntu ?

Post by priyanshu-gif »

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
texstudio : Depends: libpoppler-qt5-1 (>= 0.81.0) but 0.80.0-0ubuntu4 is to be installed
Depends: libqt5script5 (>= 5.6.0~beta) but it is not going to be installed
Recommends: latex-beamer but it is not installable
E: Unable to correct problems, you have held broken packages.
=============================================================================================
this i got.
Post Reply