Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [Solved]how install qt on ubuntu?
QtWS25 Last Chance

[Solved]how install qt on ubuntu?

Scheduled Pinned Locked Moved General and Desktop
12 Posts 5 Posters 9.2k 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.
  • W Offline
    W Offline
    whitesong
    wrote on last edited by
    #1

    I downloaded qt-linux-opensource-5.0.2-x86-offline.run and i cant install it on ubuntu.
    please tell me how i can install it.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      To be helped, you have to give more informations like version of Ubuntu, error output etc...

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • sierdzioS Offline
        sierdzioS Offline
        sierdzio
        Moderators
        wrote on last edited by
        #3

        Make the file executable if it is not already.

        (Z(:^

        1 Reply Last reply
        0
        • W Offline
          W Offline
          whitesong
          wrote on last edited by
          #4

          this is all i have done.
          @
          moslem@moslem-945GZ-CT-M:~$ cd /media/moslem/0EB40068B400549D/
          moslem@moslem-945GZ-CT-M:/media/moslem/0EB40068B400549D$ chmod +x qt-linux-opensource-5.0.2-x86-offline.run
          moslem@moslem-945GZ-CT-M:/media/moslem/0EB40068B400549D$ sudo ./qt-linux-opensource-5.0.2-x86-offline.run
          [sudo] password for moslem:
          sudo: ./qt-linux-opensource-5.0.2-x86-offline.run: command not found
          @

          1 Reply Last reply
          0
          • sierdzioS Offline
            sierdzioS Offline
            sierdzio
            Moderators
            wrote on last edited by
            #5

            Hm, I've experienced that a few times in the old Nokia SDK. I don't know what is the cause - for me it worked sometimes, but I couldn't pinpoint the root of the problem.

            EDIT hey, you don't need to run this as root! User privileges are enough.

            (Z(:^

            1 Reply Last reply
            0
            • W Offline
              W Offline
              whitesong
              wrote on last edited by
              #6

              My ubuntu is 12.10.
              when i write
              @./qt-linux-opensource-5.0.2-x86-offline.run@

              without sudo it shows me

              @Permission denied@

              1 Reply Last reply
              0
              • sierdzioS Offline
                sierdzioS Offline
                sierdzio
                Moderators
                wrote on last edited by
                #7

                @
                sudo chown <your username> qt-linux-opensource-5.0.2-x86-offline.run
                sudo chmod 777 qt-linux-opensource-5.0.2-x86-offline.run
                @

                (Z(:^

                1 Reply Last reply
                0
                • B Offline
                  B Offline
                  Billcode
                  wrote on last edited by
                  #8
                  1. start terminal
                  2. navigate to the folder with your .run file (eg. cd /home/downloads/)
                  3. type: sudo chmod +x qt-linux-opensource-5.0.2-x86-offline.run (Enter)
                  4. type: ./qt-linux-opensource-5.0.2-x86-offline.run (Enter - the installation wizard should start)
                  1 Reply Last reply
                  0
                  • W Offline
                    W Offline
                    whitesong
                    wrote on last edited by
                    #9

                    I wrote your code and show me this

                    @moslem@moslem-945GZ-CT-M:/media/moslem/0EB40068B400549D$ sudo chown moslem qt-linux-opensource-5.0.2-x86-offline.run
                    moslem@moslem-945GZ-CT-M:/media/moslem/0EB40068B400549D$ sudo chmod 777 qt-linux-opensource-5.0.2-x86-offline.run
                    moslem@moslem-945GZ-CT-M:/media/moslem/0EB40068B400549D$
                    @
                    what must I do now?

                    1 Reply Last reply
                    0
                    • sierdzioS Offline
                      sierdzioS Offline
                      sierdzio
                      Moderators
                      wrote on last edited by
                      #10

                      Run the binary, just like before:
                      @
                      ./qt-linux-opensource-5.0.2-x86-offline.run
                      @

                      (Z(:^

                      1 Reply Last reply
                      0
                      • W Offline
                        W Offline
                        whitesong
                        wrote on last edited by
                        #11

                        Oh, thanks everyone I've found out why it showed me the error. I must use 'sudo' before 'chmod'

                        1 Reply Last reply
                        0
                        • T Offline
                          T Offline
                          tobias.hunger
                          wrote on last edited by
                          #12

                          "command not found" is (among other things) linux prosaic way about mismatched binary word sizes.

                          So are you sure you are on a 32bit ubuntu? Or on a 64bit ubuntu with a 32bit set of libraries installed in addition to the normal 64bit ones?

                          1 Reply Last reply
                          0

                          • Login

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