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

    Running golang on Oneplus 5T dumpling

    App Development
    2
    2
    80
    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
      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
      • arubislanderA
        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
        BQ Aquaris M10 FHD (16.04 RC)
        Google Pixel 3a (20.04 DEV)
        JingPad (20.04 DEV)
        Meizu Pro 5 (16.04 DEV)
        PinePhone / PineTab UT CE (20.04 daily)

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