Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
0
votes
0
answers
186
views
TeXStudio dependancy issues - Ubuntu
I was trying to install tex studio using sudo apt install texstudio But some dependencies are missing here. I understand that they are primarily the Qt libraries. I tried to install from qt website but couldn't solve the issues. But when I try to add libraries one by one, it also gives me same error...
I was trying to install tex studio using
sudo apt install texstudio
But some dependencies are missing here. I understand that they are primarily the Qt libraries. I tried to install from qt website but couldn't solve the issues. But when I try to add libraries one by one, it also gives me same error that library depends on other libraries.
deca28@deca28-Inspiron-5575:~$ sudo apt install texstudio
[sudo] password for deca28:
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:
texstudio : Depends: Libpoppler-qt5-1 (>= 0.81.0) but it is not going to be installed
Depends: libqt5concurrent5 (>= 5.6.0~rc) but it is not going to be installed
Depends: libqt5core5a (>= 5.12.2) but it is not going to be installed
Depends: libqt5gui5 (>= 5.11.0~rc1) but it is not going to be installed or
libqt5gui5-gles (>= 5.11.0~rc1) but it is not going to be installed
Depends: libqt5network5 (>= 5.0.2) but it is not going to be installed
Depends: libqt5printsupport5 (>= 5.0.2) but it is not going to be installed
Depends: libqt5script5 (>= 5.6.0~beta) but it is not going to be installed
Depends: libqt5svg5 (>= 5.6.0~beta) but it is not going to be installed
Depends: Libqt5widgets5 (>= 5.12.2) but it is not going to be installed
Depends: Libqt5xml5 (>= 5.0.2) but it is not going to be installed
Depends: libqtermwidget5-0 (>= 0.9.0~) but it is not going to be installed
Recommends: texlive-latex-base but it is not going to be installed
Recommends: texlive-latex-extra but it is not going to be installed
Recommends: texlive-latex-recommended but it is not going to be installed
Recommends: texlive-base but it is not going to be installed
Recommends: latex-beamer but it is not installable
Recommends: dvipng but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
deca28@deca28-Inspiron-5575:~$
Any help for installing texstudio?
Amalnath Sathyan
(1 rep)
Aug 23, 2021, 02:39 AM
• Last activity: Aug 27, 2023, 03:54 PM
0
votes
0
answers
153
views
Why does Texstudio installation require texlive packages when texlive is already installed from the mirror?
I have TexLive already installed in my system. I installed it using the `install-tl.zip` as detailed on their [website][1]. [![enter image description here][2]][2] Now I'm trying to install TexStudio via the PPA as detailed [HERE][3]. However, when I'm doing the process, it seems that TexStudio is i...
I have TexLive already installed in my system. I installed it using the
Now I'm trying to install TexStudio via the PPA as detailed HERE . However, when I'm doing the process, it seems that TexStudio is installing
Is there any way to avoid this double installation of TexStudio?
I'm using
> Ubuntu 20.04.4 LTS x86_64
> Kernel: 5.13.0-52-generic
install-tl.zip
as detailed on their website .

apt
packages for texlive as well.

Shihab Khan
(123 rep)
Jul 14, 2022, 02:12 AM
3
votes
2
answers
2271
views
Flatpak: Install a Flatpak app without installing some of its dependencies
How do I install a Flatpak app without installing one of its dependencies which is not really required? For instance, if you wanted to install the TexStudio App ([org.texstudio.TeXstudio][1]), Flatpak would pull in the TeX Live SDK (org.freedesktop.Sdk.Extension.texlive) as a dependency, which is ab...
How do I install a Flatpak app without installing one of its dependencies which is not really required?
For instance, if you wanted to install the TexStudio App (org.texstudio.TeXstudio ), Flatpak would pull in the TeX Live SDK (org.freedesktop.Sdk.Extension.texlive) as a dependency, which is about 4.8 GB in size.
The TexStudio App page at flathub mentions the following:
> Requires either TeX Live being installed on the system from your distribution's repositories or the TeX Live Flatpak which you can install by running 'flatpak install flathub org.freedesktop.Sdk.Extension.texlive//21.08'
But it does not explain how you can install it without installing the Flatpak's Tex Live dependency.
Since I already have TeX Live installed in my system, I do not want to install the Flatpak's version of TeX Live, is there a way to install an app using Flatpak without installing it's "dependencies"?
RogUE
(207 rep)
Feb 13, 2022, 02:05 PM
• Last activity: May 28, 2022, 11:51 AM
1
votes
1
answers
218
views
Upgrade from Ubuntu 17.10 to 18.04 Broke Texstudio/Qt
After performing a dist upgrade from 17.10 to 18.04 texstudio no longer runs. I get the following error This application failed to start because it could not find or load the Qt platform plugin "xcb" in "". Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb. Rei...
After performing a dist upgrade from 17.10 to 18.04 texstudio no longer runs. I get the following error
This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.
Reinstalling the application may fix this problem.
Aborted (core dumped)
I suspect the issue lies with texstudio configuration as the path is "" at the end of the first line of the error.
If I run
ldd /usr/bin/texstudio
I get
linux-vdso.so.1 (0x00007ffc1f53d000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f64914f2000)
libquazip5.so.1 => /usr/lib/x86_64-linux-gnu/libquazip5.so.1 (0x00007f64912c4000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f64910a7000)
libhunspell-1.6.so.0 => /usr/lib/x86_64-linux-gnu/libhunspell-1.6.so.0 (0x00007f6490e38000)
libpoppler-qt5.so.1 => /usr/lib/x86_64-linux-gnu/libpoppler-qt5.so.1 (0x00007f6490bbf000)
libQt5PrintSupport.so.5 => /usr/lib/x86_64-linux-gnu/libQt5PrintSupport.so.5 (0x00007f6490950000)
libQt5Widgets.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 (0x00007f6490109000)
libQt5Gui.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 (0x00007f648f9a0000)
libQt5Network.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Network.so.5 (0x00007f648f614000)
libQt5Xml.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Xml.so.5 (0x00007f648f3d8000)
libQt5Script.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Script.so.5 (0x00007f648ef42000)
libQt5Core.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 (0x00007f648e7f7000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f648e5d8000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f648e24f000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f648deb1000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f648dc99000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f648d8a8000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f648d680000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f648d47c000)
libpoppler.so.73 => /usr/lib/x86_64-linux-gnu/libpoppler.so.73 (0x00007f648cfe8000)
libGL.so.1 => /usr/lib/x86_64-linux-gnu/libGL.so.1 (0x00007f648cd5c000)
libpng16.so.16 => /usr/lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f648cb2a000)
libharfbuzz.so.0 => /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0 (0x00007f648c88c000)
libicui18n.so.60 => /usr/lib/x86_64-linux-gnu/libicui18n.so.60 (0x00007f648c3eb000)
libicuuc.so.60 => /usr/lib/x86_64-linux-gnu/libicuuc.so.60 (0x00007f648c034000)
libdouble-conversion.so.1 => /usr/lib/x86_64-linux-gnu/libdouble-conversion.so.1 (0x00007f648be23000)
libglib-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f648bb0d000)
/lib64/ld-linux-x86-64.so.2 (0x00007f6492612000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f648b909000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f648b703000)
libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f648b44f000)
libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007f648b20a000)
libjpeg.so.8 => /usr/lib/x86_64-linux-gnu/libjpeg.so.8 (0x00007f648afa2000)
libnss3.so => /usr/lib/x86_64-linux-gnu/libnss3.so (0x00007f648ac5e000)
libsmime3.so => /usr/lib/x86_64-linux-gnu/libsmime3.so (0x00007f648aa32000)
libnspr4.so => /usr/lib/x86_64-linux-gnu/libnspr4.so (0x00007f648a7f5000)
liblcms2.so.2 => /usr/lib/x86_64-linux-gnu/liblcms2.so.2 (0x00007f648a59d000)
libtiff.so.5 => /usr/lib/x86_64-linux-gnu/libtiff.so.5 (0x00007f648a326000)
libGLX.so.0 => /usr/lib/x86_64-linux-gnu/libGLX.so.0 (0x00007f648a0f5000)
libGLdispatch.so.0 => /usr/lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007f6489e3f000)
libgraphite2.so.3 => /usr/lib/x86_64-linux-gnu/libgraphite2.so.3 (0x00007f6489c12000)
libicudata.so.60 => /usr/lib/x86_64-linux-gnu/libicudata.so.60 (0x00007f6488069000)
libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f6487df7000)
libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f6487be2000)
libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f64879b0000)
libnssutil3.so => /usr/lib/x86_64-linux-gnu/libnssutil3.so (0x00007f6487781000)
libplc4.so => /usr/lib/x86_64-linux-gnu/libplc4.so (0x00007f648757c000)
libplds4.so => /usr/lib/x86_64-linux-gnu/libplds4.so (0x00007f6487378000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f6487170000)
liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f6486f4a000)
libjbig.so.0 => /usr/lib/x86_64-linux-gnu/libjbig.so.0 (0x00007f6486d3c000)
if I run qtchooser -print-env
I get
qtchooser -print-env
QT_SELECT="default"
QTTOOLDIR="/usr/lib/x86_64-linux-gnu/qt4/bin"
QTLIBDIR="/usr/lib/x86_64-linux-gnu"
And the contents of /usr/lib/x86_64-linux-gnu/qtchooser
is
lrwxrwxrwx 1 root root 50 Dec 22 2017 4.conf -> ../../../share/qtchooser/qt4-x86_64-linux-gnu.conf
lrwxrwxrwx 1 root root 50 Dec 22 2017 5.conf -> ../../../share/qtchooser/qt5-x86_64-linux-gnu.conf
lrwxrwxrwx 1 root root 50 Dec 22 2017 qt4.conf -> ../../../share/qtchooser/qt4-x86_64-linux-gnu.conf
lrwxrwxrwx 1 root root 50 Dec 22 2017 qt5.conf -> ../../../share/qtchooser/qt5-x86_64-linux-gnu.conf
So it looks like qt is defaulting to qt4 but texstudio needs qt5. So i ran
ln -s qt5.conf default.conf
in /usr/lib/x86_64-linux-gnu/qtchooser and now qtchooser -print-env
prints
QT_SELECT="default"
QTTOOLDIR="/usr/lib/qt5/bin"
QTLIBDIR="/usr/lib/x86_64-linux-gnu"
However, this does not resolve the issue. Texstudio still won't start and prints the same error message
Ben Southwell
(21 rep)
Dec 5, 2018, 03:08 AM
• Last activity: Jan 18, 2019, 12:52 AM
2
votes
1
answers
1166
views
TeXstudio rpm install: QT dependencies (e.g. libQtGui.so.4)
I'm trying to install TeXstudio on a Scientific Linux 7.2 machine with an rpm. My problem is, that I'm missing the following dependencies: `# rpm -ivh texstudio-qt4-2.10.8-6.1.x86_64.rpm warning: texstudio-qt4-2.10.8-6.1.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID ea279317: NOKEY error: Failed...
I'm trying to install TeXstudio on a Scientific Linux 7.2 machine with an rpm.
My problem is, that I'm missing the following dependencies:
`# rpm -ivh texstudio-qt4-2.10.8-6.1.x86_64.rpm
warning: texstudio-qt4-2.10.8-6.1.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID ea279317: NOKEY
error: Failed dependencies:
libQtGui.so.4()(64bit) is needed by texstudio-qt4-2.10.8-6.1.x86_64
libQtSvg.so.4()(64bit) is needed by texstudio-qt4-2.10.8-6.1.x86_64
libpoppler-qt4.so.4()(64bit) is needed by texstudio-qt4-2.10.8-6.1.x86_64
`
I tried looking for the packages with e.g.
yum provides "*/libQtGui.so.4()"
which results in e.g. qt-x11-4.8.5-11.el7.i686
, but after I installed it the same dependency was still missing.
Does anyone have an idea?
Thanks a lot!
0vbb
(123 rep)
Apr 12, 2016, 06:06 AM
• Last activity: Jul 29, 2017, 05:39 PM
5
votes
1
answers
354
views
Fedora 21 texstudio fails with symbol lookup error
I just installed Fedora 21 on a laptop, and among other things I installed Texstudio. While the install seems to work fine in general, I get absolutely no reaction from this single program. I have tried the following: 1. Remove and reinstall. 2. Remove and reinstall using `.rpm` provided at webpage...
I just installed Fedora 21 on a laptop, and among other things I installed Texstudio. While the install seems to work fine in general, I get absolutely no reaction from this single program. I have tried the following:
1. Remove and reinstall.
2. Remove and reinstall using
.rpm
provided at webpage of Texstudio.
3. Open a single .tex
-file.
None of the above give any reaction whatsoever. Texworks works fine. Being an inexperienced user I do not know whether or not this will be of any help, but simply typing texstudio
in the terminal gives the following:
texstudio: symbol lookup error: texstudio: undefined symbol: _ZN20QFutureInterfaceBase13setThreadPoolEP11QThreadPool
Andrew Thompson
(249 rep)
Oct 17, 2015, 06:36 PM
• Last activity: Jul 9, 2016, 02:36 PM
1
votes
1
answers
3583
views
Error QProcess: Destroyed while process is still running
**Edit:** _I discovered that the problem is not related with the script cited below, but I'll leave it there just for history._ Well, this error appears when I close texstudio **with the viewer open** (xdvi or evince). If I close the viewer first and then close texstudio, no problem, no errors on th...
**Edit:** _I discovered that the problem is not related with the script cited below, but I'll leave it there just for history._
Well, this error appears when I close texstudio **with the viewer open** (xdvi or evince). If I close the viewer first and then close texstudio, no problem, no errors on the terminal.
This is the error:
QProcess: Destroyed while process is still running.
----------
**Old text:** Every time when I close my texstudio after opened by my script below I got this error on the terminal:
QProcess: Destroyed while process is still running.
Here is the script
fastex.sh
#!/bin/sh
# Copyleft 2012 by Sigur
caminho=/home/$USER
file=$caminho/fastex-temp
exec 3>&1
exec > "$file".tex
printf '\\documentclass[11pt,a4paper]{amsart}\n'
printf '\\usepackage{amsfonts,amsthm,amsmath,amssymb}\n'
printf '\\usepackage[latin1]{inputenc}\n'
printf '\\usepackage[T1]{fontenc}\n'
printf '\usepackage{tikz}\n'
printf '\usepackage[brazil]{babel}\n'
printf '\n'
printf '\\begin{document}\n'
printf '\n'
printf '\\end{document}'
linha=$(wc -l < "$file".tex)
texstudio --line $linha "$file".tex
find . -name "fastex-temp.*" | grep -vP '.tex$|.pdf$' | while read -r i; do rm $i; done
I guess that the problem is with the find
command to delete auxiliary files. So, is find
executed only after I close texstudio?
Thanks for a while. Best wishes.
**Edit**

Sigur
(2461 rep)
Sep 7, 2012, 12:02 AM
• Last activity: Apr 27, 2016, 03:28 PM
2
votes
0
answers
419
views
How to change the Qt version used by TeXstudio in elementary os Freya?
I have installed TexStudio 2.8.8. When I open it, it says TeXStudio has been compiled with Qt 4.8.6 but running with Qt 4.7.3. Please get the correct runtime library. when I checked in terminal with qmake -v I got the following output, QMake version 2.01a Using Qt version 4.8.5 in /home/Canopy/appda...
I have installed TexStudio 2.8.8. When I open it, it says TeXStudio has been compiled with Qt 4.8.6 but running with Qt 4.7.3. Please get the correct runtime library.
when I checked in terminal with
qmake -v
I got the following output,
QMake version 2.01a
Using Qt version 4.8.5 in /home/Canopy/appdata/canopy-1.5.1.2730.rh5-x86/lib
How do I resolve this issue?
(I am on elementary os Freya)
karthik2k2
(21 rep)
Jan 25, 2015, 01:20 PM
• Last activity: Apr 1, 2015, 01:02 AM
1
votes
1
answers
452
views
TeXstudio: open file at line number n
I am creating a script to produce some `.tex` files with a lot of lines (a kind of automatic sample). The script finishes with `texstudio /home/$USER/foo.tex` where `foo.tex` is the file created before. My question is: is it possible to open the file with `texstudio` with the cursor at line N, that...
I am creating a script to produce some
.tex
files with a lot of lines (a kind of automatic sample).
The script finishes with texstudio /home/$USER/foo.tex
where foo.tex
is the file created before.
My question is: is it possible to open the file with texstudio
with the cursor at line N, that is, I would like to run the script to open the file and start typing right now, exactly at the right line.
Thanks for a while. Below is the script.
----------
file=/home/$USER/fastex-temp.tex
exec 3>&1 # save file descriptor to stdout
exec > "$file" # redirect output to file
printf '\\documentclass[11pt,a4paper]{amsart}\n'
printf '\\usepackage{amsfonts,amsthm,amsmath}\n'
printf '\\usepackage[latin1]{inputenc}\n'
printf '\\usepackage[T1]{fontenc}\n'
printf ' ' >&3 # output to normal stdout instead of file
printf '\\begin{document}\n'
printf ' ' >&3
printf '\\end{document}\n'
exec >&3 # restore stdout
exec 3>&- # close / discard temporary fd
texstudio "$file"
Sigur
(2461 rep)
Sep 4, 2012, 02:32 PM
• Last activity: Sep 4, 2012, 10:18 PM
Showing page 1 of 9 total questions