UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Running golang on Oneplus 5T dumpling

    Scheduled Pinned Locked Moved App Development
    2 Posts 2 Posters 236 Views 2 Watching
    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.
      • C Offline
        colltoaction
        last edited by

        Hi!

        I don't know if this is news to you, but the golang toolchain for ARM64 works out of the box.

        In the terminal:

        $ wget -O go1.21.1.linux-arm64.tar.gz https://go.dev/dl/go1.21.1.linux-arm64.tar.gz
        $ tar -xvf go1.21.1.linux-arm64.tar.gz
        $ ./go/bin/go
        

        Go modules seem to work as well. Hopefully this will turn out to be a good toolchain to work both externally and within the phone.

        arubislanderA 1 Reply Last reply Reply Quote 1
        • CiberSheepC CiberSheep moved this topic from OS on
        • arubislanderA Offline
          arubislander @colltoaction
          last edited by

          @colltoaction concerning any command line toolchain that can be installed in the user's HOME folder, UT is not at all different to Ubuntu Desktop in that regard., as you yourself have found. So it should be no surprise at all that this works.

          πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
          Happily running Ubuntu Touch
          Google Pixel 3a (24.04 preview)
          JingPad (24.04 preview)
          PinePhone OG (20.04)
          Meizu Pro 5 (16.04 DEV)

          1 Reply Last reply Reply Quote 0
          • First post
            Last post