How to install qt5 in Debian using the command line?

I need to install Qt5 in my Debian using the command line. How can i do this?

My system: debian 2.6.30-vortex86mx-yh

I am trying to install using qt online installer from qt-project.org. But after. /qt.run I get this error:

libstdc++.so.6 version glibcxx_3.4.11 not found 

I am trying to install libstdc ++ 6. but Debian said that this is already the newest version.

cat /etc/issue result:

 Debian 5.0 

Also my debian has no gui. I have to do this using the command line.

+4
source share
2 answers

You can run qt-installer in a decent version of debian. Get Version:

 cat /etc/issue 

In older versions or "unsupported" versions, you can still download sources and create libraries yourself, which is likely to be your way, since vortex86-builds are quite limited in compiler flags. Compiling is pretty simple, depending on your needs. The script configuration itself gives you a lot of hints regarding possible flags.

Another alternative is to find the user-driven repository that has QT5 for your version of debian and add this repository to your sources.lst so that you can run apt-get install libqt5 .

0
source

Try this command to install from the default Debian 5 repository:

 #apt install g++ #apt install qtcreator #apt install qtdeclarative5-dev 
0
source

Source: https://habr.com/ru/post/1490241/


All Articles