QT5 Installation on Linux



  • I have Xubun 3.0.0-12-generic (#20-Ubuntu SMP Fri Oct 7 14:50:42 UTC 2011) and
    had installted previous version of QT without any problem,
    @HP-G62-Notebook-PC:~/Downloads$ chmod 777 qt-linux-opensource-5.0.0-beta2-x86_64-ubuntu1204-offline.run
    ./qt-linux-opensource-5.0.0-beta2-x86_64-ubuntu1204-offline.run
    bash: ./qt-linux-opensource-5.0.0-beta2-x86_64-ubuntu1204-offline.run: cannot execute binary file
    @

    Can someone tell me how to fix this problem? Do I need Xubun 3.0.0-14 in order to install QT 5.0?



  • please tell us the output from

    @uname -a@

    is it possible that you using the 32 bit version and downloaded the 64 bit?



  • HP-G62-Notebook-PC:~/Downloads$ uname -a
    HP-G62-Notebook-PC 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:50:42 UTC 2011 i686 i686 i386 GNU/Linux



  • Download the 32-bit version and try to install.
    You have installed the 32-bit version of Linux.

    See: "What is the difference between i686 and X86_64":http://superuser.com/questions/238112/what-is-the-difference-between-i686-and-x86-64



  • Thank you. I've found the problem. I used Firefox to download it overnight,. Somehow, it download
    only 59MB. This is most likely the reason that I could not execute the installation.



  • Finally, I was able to download it and it does not seem to have any problem. But I still could not run
    the installation.

    -rw-rw-r-- 1 429794304 2012-12-21 12:01 qt-linux-opensource-5.0.0-x86_64-offline.run
    Inspiron-1545:~/Downloads$ chmod 777 qt-linux-opensource-5.0.0-x86_64-offline.run
    Inspiron-1545:~/Downloads$ ./qt-linux-opensource-5.0.0-x86_64-offline.run
    bash: ./qt-linux-opensource-5.0.0-x86_64-offline.run: cannot execute binary file
    From Sysinfo,
    Pentium(R) Dual-Core CPU T4200 @ 2.00GHz
    family(6) model(23) stepping(10)
    fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl est tm2


  • Moderators

    I think I had this problem once, sadly no real solution. You can compile Qt and Creator from sources.



  • I
    [quote author="IanBorn" date="1356041359"]Thank you. I've found the problem. I used Firefox to download it overnight,. Somehow, it download
    only 59MB. This is most likely the reason that I could not execute the installation.
    [/quote]

    If you have wget on your system I would use it to download the files

    Right click on the link with firefox and copy the link

    Switch to your Download directory in terminal mode and

    enter wget -c

    Paste your link to the right of the c

    For example

    wget -c qt-everywhere.......

    The -c option allows you to restart a failed download from the last good block. man wget to learn more


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.