Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Cannot run online installer on Ubuntu 22.10

Cannot run online installer on Ubuntu 22.10

Scheduled Pinned Locked Moved Solved Installation and Deployment
14 Posts 3 Posters 2.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    ppitu
    wrote on 21 Mar 2023, 22:50 last edited by
    #1

    Hi,
    I try install qt creator on my new machine. I download from office website run file:
    qt-unified-linux-x64-4.5.2-online.run

    And now when I try run this I got this error:
    ./qt-unified-linux-x64-4.5.2-online.run: 1: ELF: not found
    ./qt-unified-linux-x64-4.5.2-online.run: 2: Syntax error: "(" unexpected

    I have 64bit machine:
    ProcessorParameters.png

    J 1 Reply Last reply 22 Mar 2023, 05:23
    0
    • P ppitu
      21 Mar 2023, 22:50

      Hi,
      I try install qt creator on my new machine. I download from office website run file:
      qt-unified-linux-x64-4.5.2-online.run

      And now when I try run this I got this error:
      ./qt-unified-linux-x64-4.5.2-online.run: 1: ELF: not found
      ./qt-unified-linux-x64-4.5.2-online.run: 2: Syntax error: "(" unexpected

      I have 64bit machine:
      ProcessorParameters.png

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 22 Mar 2023, 05:23 last edited by
      #2

      @ppitu Did you set the executable bit?

      chmod u+x qt-unified-linux-x64-4.5.2-online.run
      

      Another reason could be that the file is corrupted, then download it again.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      P 1 Reply Last reply 22 Mar 2023, 08:38
      1
      • J jsulm
        22 Mar 2023, 05:23

        @ppitu Did you set the executable bit?

        chmod u+x qt-unified-linux-x64-4.5.2-online.run
        

        Another reason could be that the file is corrupted, then download it again.

        P Offline
        P Offline
        ppitu
        wrote on 22 Mar 2023, 08:38 last edited by
        #3

        @jsulm Yes I use chmod +x qt-unified-linux-x64-4.5.2-online.run

        I try download the file again but it want help and I still have this problem.

        J 1 Reply Last reply 22 Mar 2023, 08:51
        0
        • P ppitu
          22 Mar 2023, 08:38

          @jsulm Yes I use chmod +x qt-unified-linux-x64-4.5.2-online.run

          I try download the file again but it want help and I still have this problem.

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 22 Mar 2023, 08:51 last edited by
          #4

          @ppitu What is the file system where you store the installer (ext4, FAT32, ...)?
          Do you execute the installer as root?

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          P 1 Reply Last reply 22 Mar 2023, 08:58
          0
          • J jsulm
            22 Mar 2023, 08:51

            @ppitu What is the file system where you store the installer (ext4, FAT32, ...)?
            Do you execute the installer as root?

            P Offline
            P Offline
            ppitu
            wrote on 22 Mar 2023, 08:58 last edited by ppitu
            #5

            @jsulm I have Etx4 and I run installer with sudo.

            And when I try install Qt on my laptop (ubuntu 20.10) I have the same error.

            J 1 Reply Last reply 22 Mar 2023, 09:19
            0
            • P ppitu
              22 Mar 2023, 08:58

              @jsulm I have Etx4 and I run installer with sudo.

              And when I try install Qt on my laptop (ubuntu 20.10) I have the same error.

              J Offline
              J Offline
              jsulm
              Lifetime Qt Champion
              wrote on 22 Mar 2023, 09:19 last edited by
              #6

              @ppitu said in Cannot run online installer on Ubuntu 22.10:

              and I run installer with sudo

              Why?

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              P 1 Reply Last reply 22 Mar 2023, 09:29
              0
              • J jsulm
                22 Mar 2023, 09:19

                @ppitu said in Cannot run online installer on Ubuntu 22.10:

                and I run installer with sudo

                Why?

                P Offline
                P Offline
                ppitu
                wrote on 22 Mar 2023, 09:29 last edited by
                #7

                @jsulm I dont have default sudo on my profile so I use sudo to install new things.

                J J 2 Replies Last reply 22 Mar 2023, 09:33
                0
                • P ppitu
                  22 Mar 2023, 09:29

                  @jsulm I dont have default sudo on my profile so I use sudo to install new things.

                  J Offline
                  J Offline
                  JonB
                  wrote on 22 Mar 2023, 09:33 last edited by
                  #8

                  @ppitu
                  That might or might not be relevant. From a shell in the directory where the file is what is the output of these two commands:

                  ls -l qt-unified-linux-x64-4.5.2-online.run
                  file qt-unified-linux-x64-4.5.2-online.run
                  
                  P 1 Reply Last reply 22 Mar 2023, 09:39
                  0
                  • P ppitu
                    22 Mar 2023, 09:29

                    @jsulm I dont have default sudo on my profile so I use sudo to install new things.

                    J Offline
                    J Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on 22 Mar 2023, 09:34 last edited by jsulm
                    #9

                    @ppitu If only one user is going to use Qt there is no need for sudo: run the installer as normal user, Qt will be installed in home folder then.

                    https://forum.qt.io/topic/113070/qt-code-of-conduct

                    P 1 Reply Last reply 22 Mar 2023, 09:40
                    0
                    • J JonB
                      22 Mar 2023, 09:33

                      @ppitu
                      That might or might not be relevant. From a shell in the directory where the file is what is the output of these two commands:

                      ls -l qt-unified-linux-x64-4.5.2-online.run
                      file qt-unified-linux-x64-4.5.2-online.run
                      
                      P Offline
                      P Offline
                      ppitu
                      wrote on 22 Mar 2023, 09:39 last edited by
                      #10

                      @JonB ls -l qt-unified-linux-x64-4.5.2-online.run

                      -rw-rw-r-- 1 ppitu ppitu 57561126 mar 22 09:56 qt-unified-linux-x64-4.5.2-online.run

                      file qt-unified-linux-x64-4.5.2-online.run

                      qt-unified-linux-x64-4.5.2-online.run: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=618bbfa98aa951f35eceadb8137ae1d6f45c74ef, not stripped

                      J 1 Reply Last reply 22 Mar 2023, 09:50
                      0
                      • J jsulm
                        22 Mar 2023, 09:34

                        @ppitu If only one user is going to use Qt there is no need for sudo: run the installer as normal user, Qt will be installed in home folder then.

                        P Offline
                        P Offline
                        ppitu
                        wrote on 22 Mar 2023, 09:40 last edited by
                        #11

                        @jsulm When I run without sudo i receive permission denied.

                        J 1 Reply Last reply 22 Mar 2023, 09:50
                        0
                        • P ppitu
                          22 Mar 2023, 09:40

                          @jsulm When I run without sudo i receive permission denied.

                          J Offline
                          J Offline
                          jsulm
                          Lifetime Qt Champion
                          wrote on 22 Mar 2023, 09:50 last edited by
                          #12

                          @ppitu said in Cannot run online installer on Ubuntu 22.10:

                          i receive permission denied

                          then set the access rights correctly...

                          https://forum.qt.io/topic/113070/qt-code-of-conduct

                          1 Reply Last reply
                          0
                          • P ppitu
                            22 Mar 2023, 09:39

                            @JonB ls -l qt-unified-linux-x64-4.5.2-online.run

                            -rw-rw-r-- 1 ppitu ppitu 57561126 mar 22 09:56 qt-unified-linux-x64-4.5.2-online.run

                            file qt-unified-linux-x64-4.5.2-online.run

                            qt-unified-linux-x64-4.5.2-online.run: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=618bbfa98aa951f35eceadb8137ae1d6f45c74ef, not stripped

                            J Offline
                            J Offline
                            JonB
                            wrote on 22 Mar 2023, 09:50 last edited by JonB
                            #13

                            @ppitu said in Cannot run online installer on Ubuntu 22.10:

                            -rw-rw-r-- 1 ppitu ppitu 57561126 mar 22 09:56 qt-unified-linux-x64-4.5.2-online.run

                            Which shows you have not executed the chmod +x on it, which is why I asked for the ls -l, and hence the error message.....

                            P 1 Reply Last reply 22 Mar 2023, 10:01
                            2
                            • J JonB
                              22 Mar 2023, 09:50

                              @ppitu said in Cannot run online installer on Ubuntu 22.10:

                              -rw-rw-r-- 1 ppitu ppitu 57561126 mar 22 09:56 qt-unified-linux-x64-4.5.2-online.run

                              Which shows you have not executed the chmod +x on it, which is why I asked for the ls -l, and hence the error message.....

                              P Offline
                              P Offline
                              ppitu
                              wrote on 22 Mar 2023, 10:01 last edited by
                              #14

                              @JonB I found my mistake. I execute chmod -x not chmod +x.

                              Thanks for help :D

                              1 Reply Last reply
                              0
                              • P ppitu has marked this topic as solved on 22 Mar 2023, 10:01

                              5/14

                              22 Mar 2023, 08:58

                              9 unread
                              • Login

                              • Login or register to search.
                              5 out of 14
                              • First post
                                5/14
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • Users
                              • Groups
                              • Search
                              • Get Qt Extensions
                              • Unsolved