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.7k 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 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

    jsulmJ 1 Reply Last reply
    0
    • P ppitu

      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

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on 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
      1
      • jsulmJ jsulm

        @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 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.

        jsulmJ 1 Reply Last reply
        0
        • P ppitu

          @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.

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on 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
          0
          • jsulmJ jsulm

            @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 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.

            jsulmJ 1 Reply Last reply
            0
            • P ppitu

              @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.

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on 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
              0
              • jsulmJ jsulm

                @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 last edited by
                #7

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

                JonBJ jsulmJ 2 Replies Last reply
                0
                • P ppitu

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

                  JonBJ Online
                  JonBJ Online
                  JonB
                  wrote on 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
                  0
                  • P ppitu

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

                    jsulmJ Offline
                    jsulmJ Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on 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
                    0
                    • JonBJ JonB

                      @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 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

                      JonBJ 1 Reply Last reply
                      0
                      • jsulmJ jsulm

                        @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 last edited by
                        #11

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

                        jsulmJ 1 Reply Last reply
                        0
                        • P ppitu

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

                          jsulmJ Offline
                          jsulmJ Offline
                          jsulm
                          Lifetime Qt Champion
                          wrote on 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

                            @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

                            JonBJ Online
                            JonBJ Online
                            JonB
                            wrote on 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
                            2
                            • JonBJ JonB

                              @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 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

                              • Login

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