1Password for Linux AArch64 / M1 for Linux

MatthewPackwood
MatthewPackwood
Community Member

Any chance you will be rolling out a build for the 1Password for Linux app built for AArch64 on Linux?


1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided

Comments

  • Hi @MatthewPackwood, thanks for this question. While we don't have any news to announce on this right now, I have added your request to our internal discussion around this topic. We appreciate you letting us know that this support is something that matters to you!

    ref: dev/core/core#2418

  • MatthewPackwood
    MatthewPackwood
    Community Member

    @PeterG_1P No worries, I just figured we are going to see some people moving to Arch with the "whole M1" thing, Ubuntu seems to be going in that direction.

  • We're reviewing this. My team has done some early experiments and run into troubles getting a cross-compiler toolchain set up on our x86 machines. As such, we're still trying to figure out our strategy for moving forward.

    I'm hoping that with AArch64 becoming suddenly so much more common, the tools will advance pretty rapidly in the near future. Given what people are saying, I'm hoping to start seeing those processors in Thinkpads when it's time for me to upgrade again. :)

  • balupton
    balupton
    Community Member
    edited September 2021

    I've been setting up my boomer relatives with Raspberry Pi 400s as their 10 year old Windows PCs are expiring. Unfortunately, 1Password desktop app isn't available for the Raspberry Pi. I've got them using the firefox extension now, however the UX of the native app would make more sense to them. Got the 1password native app going on ubuntu on a 2010 iMac, and is definitely easier for them to grasp.

  • Thanks for the time for sharing your feedback here @balupton, though, I do apologize for the late reply.

    As Savanni mentioned, we're definitely interested into looking into this in the future, but we don't have much to share on this just yet. Keep your eyes on this space, though! 💙

  • Hi @MatthewPackwood, we have an update for you: the ARM64 version of 1Password for Linux has arrived!

    If you're interested to give it a try, we'd love to have your impressions of the new build. You can find it at the download link below:

    https://releases.1password.com/linux/beta/#1password-for-linux-8.6.0-68

    Thanks for your feedback and commentary so far! 🥳

  • MatthewPackwoodJR
    MatthewPackwoodJR
    Community Member

    Hi, I tried to install and got:

    mattpackwood@ubuntu-linux-20-04-desktop:~$ sudo apt install 1password
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    N: Ignoring file '1password.lis' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
    E: Unable to locate package 1password
    mattpackwood@ubuntu-linux-20-04-desktop:~$
    
  • Hi, @MatthewPackwood . Unfortunately, right now we can only release a .tgz version of this. We are currently do not have enough people to be able to build or test Debian or RPM releases of the 1Password Aarch64 version. I don't have an ETA for when we will be able to return it, but we are trying to grow our team of Linux specialists so we can get more of these things onto our roadmap.

  • MatthewPackwoodJR
    MatthewPackwoodJR
    Community Member

    I tried following the instructions on: https://support.1password.com/betas/#other-distributions-targz

    This is what I did...

    parallels@ubuntu-linux-20-04-desktop:~$ curl -sSO https://downloads.1password.com/linux/tar/beta/x86_64/1password-latest.tar.gz
    parallels@ubuntu-linux-20-04-desktop:~$ tar -xf 1password-latest.tar.gz
    parallels@ubuntu-linux-20-04-desktop:~$ sudo mkdir -p /opt/1Password
    parallels@ubuntu-linux-20-04-desktop:~$ sudo mv 1password-*/* /opt/1Password
    parallels@ubuntu-linux-20-04-desktop:~$ sudo /opt/1Password/after-install.sh
    

    No errors but no icon...

    Matt

  • Those look like the right installation steps. Do you mean that no icon is appearing in your launcher? That would be surprising because I thought we had Ubuntu well-understood.

    Please verify that running 1password from the command line works.

  • MatthewPackwoodJR
    MatthewPackwoodJR
    Community Member

    I get this:

    parallels@ubuntu-linux-20-04-desktop:~$ 1password
    bash: /usr/bin/1password: cannot execute binary file: Exec format error
    
  • Hi,

    You're using the wrong url. https://downloads.1password.com/linux/tar/beta/aarch64/1password-latest.tar.gz is the one you're looking for.

    By the way, I gave this a shot on a M1 Mac running Asahi Linux and it segfaults.

    This is not surprising: Chromium doesn't work on a 16K pages kernel as it assumes 4k: https://github.com/AsahiLinux/docs/wiki/Software-known-to-have-issues-with-16k-page-size . Nothing much AgileBits can do here for now short of distributing two binaries for ARM linux, which I doubt they do for very understable reasons.

  • Thanks, @Arnaud Barisain-Monrose . I totally did not notice that @MatthewPackwood was downloading from the x86_64 URL in the first message.

    We might one day to a 4k and 16k variation on ARM for Linux. We don't have any time at the moment to really do multi-architecture like that yet, sadly.

  • I definitely understand the maintenance burden of maintaining two versions of 1password! Linux on M1 is super niche.

    Electron as a whole will need this anyway, someone is bound to work on this eventually. I hope that someone upstreams a patch to chromium!

  • MatthewPackwoodJR
    MatthewPackwoodJR
    Community Member

    I tried fixing the curl but did not make much progress

    parallels@ubuntu-linux-20-04-desktop:~$ curl -sSO https://downloads.1password.com/linux/tar/beta/arm64/1password-latest.tar.gz
    parallels@ubuntu-linux-20-04-desktop:~$ ls
    1password-latest.tar.gz  Documents  Music     Public     Videos
    Desktop                  Downloads  Pictures  Templates
    parallels@ubuntu-linux-20-04-desktop:~$ tar -xf 1password-latest.tar.gz
    tar: This does not look like a tar archive
    
    gzip: stdin: not in gzip format
    tar: Child returned status 1
    

    tar: Error is not recoverable: exiting now
    parallels@ubuntu-linux-20-04-desktop:~$

  • Here's the correct URL:

    https://downloads.1password.com/linux/tar/beta/aarch64/1password-latest.tar.gz
    

    Now I need to figure out if we've failed to document it. :|

  • MatthewPackwoodJR
    MatthewPackwoodJR
    Community Member

    I followed the instrucitons from:
    https://support.1password.com/betas/#install-a-beta-release-of-1password-for-linux

    I get:

    parallels@ubuntu-linux-20-04-desktop:~$ sudo /opt/1Password/after-install.sh
    sudo: /opt/1Password/after-install.sh: command not found
    
  • Savanni
    edited March 2022

    Oh... the after-install.sh file is missing.

    I'll investigate that. I know there was a time window in which we weren't bundling it for the tar files, but I thought I fixed that several weeks ago.

  • RGlidden
    RGlidden
    Community Member

    Looking at the after-install.sh file from the x86_64 version, it sets up some policy files and security groups and makes a few symlinks, then attempts to register the package sources for your distribution. But based on the above conversation, it looks like the packages are not yet available for aarch64.

    So, I just copied the after-install.sh file from the x86_64 version and edited the script to comment out the code that installs the package sources (the call to installAutoupdateChannel at the very end of the file):

    installFiles
    # installAutoupdateChannel
    
    exit 0
    

    Running that script appears to have done the trick on my aarch64 RPi 4

  • RGlidden
    RGlidden
    Community Member

    Oh, and the script does not appear to install any desktop shortcuts or icons. So at least with the current .tar.gz package, you'll have to copy or link the files from /opt/1Password/resources/1password.desktop and /opt/1Password/resources/icons/ to wherever your desktop environment expects them to be. (/usr/share/applications/ and /usr/share/icons/ respectively on the RPi - yours may vary).

  • PeterG_1P
    edited April 2022

    Thank you for these details (and the improvised solution), @RGlidden. We'll follow up on this on our end!

    ref: dev/core/core#13429
    ref: dev/core/core#14674

  • einar
    einar
    Community Member

    I'm able to run 1password on Ubuntu 20.04 running on Parallel Desktop (M1 MacBook). I used the arm64 tar.

    The issue I can confirm is that no Desktop item is created, and the one that opens in the dock after lunching from the Terminal is without an Icon. But I could fix this with the steps pointed out by @RGlidden

    But one thing I cannot get working is the integration between the Firefox extension and the Desktop app. Is this expected? I've tried both the stable extension version and the beta version

  • Hi @einar, are you by any chance using a Snap installation of Firefox on that Ubuntu machine? That could be a factor.

    If not, we'll be happy to investigate further for you too. You can reach us for that troubleshooting at support+linux@1Password.com - if you do get in touch with us there, please include a diagnostic report from the 1Password for Linux app as well as a link to this discussion. We'll be happy to find out what's causing this!

  • einar
    einar
    Community Member

    Hey @PeterG_1P. Firefox is installed using apt, so running from path usr/bin/firefox

  • Thank you for the additional info, @einar. Do send us a brief email to the address mentioned above - we'll be eager to examine this in finer detail for you. 👍

  • refi64
    refi64
    Community Member

    Just wanted to mention that the fixes for 16k page sizes are backported into Electron already, so the next 18.x release should work on Asahi.

This discussion has been closed.