Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Error when trying to install Qt on Ubuntu Linux

    General and Desktop
    2
    4
    1216
    Loading More Posts
    • 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.
    • G
      gamaliel last edited by

      Hello

      I downloaded qt-opensource-linux-x64-5.2.1.run and tried to run it with Ubuntu.

      I typed chmod 700 and then
      ./qt-opensource-linux-x64-5.2.1.run

      I got the message
      line 1: syntax error near unexpected token newline' line 1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">'

      What could be causing this? How do I install qt on Linux?

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi and welcome to devnet,

        Are you sure you didn't just download a webpage ?

        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 Reply Quote 0
        • G
          gamaliel last edited by

          It turns out that my university blocks Qt. There must be a keyword like free download that causes the University to block it. As a result a web page was downloaded stating that the site was blocked.

          I went elsewhere and downloaded a binary on my laptop and got a message indicating the download was incomplete when I tried running it on the Linux computer.

          I downloaded a newer version of qT and that worked.

          You were right about the web page, thanks

          1 Reply Last reply Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            You're welcome !

            Since you could install Qt, please update the thread title prepending [solved] so other forum users may know a solution has been found :)

            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 Reply Quote 0
            • First post
              Last post