FYI for openSUSE users

I was very happy to see 1Password released for Linux but a bit frustrated by the install options for openSUSE. I dislike snaps and while I do prefer flatpak which it appears may be upcoming I don't particularly want the sandboxing to break 1Password browser integration. Meanwhile downloading rpms off the website makes updating a bit annoying. I searched the forums here and found that while you used to be able to add the Fedora repo to Yast and then install/update with zypper, that's been blocked. But I have found an alternative I wanted to share in case other openSUSE users were similarly frustrated:

I primarily use Tumbleweed but I have Fedora on an additional SSD I use for messing around, mostly to see if KDE Wayland is ever stable. So I'm familiar with dnf. It turns out you can use dnf on openSUSE and it's available in the official repos:

sudo zypper install dnf
The openSUSE wiki page on dnf also recommends installing rpm-repos-opensuse - I personally would not as this will add openSUSE repos to dnf - I just want to use dnf for 1Password and zypper for everything else.

Once it's installed, you can proceed with step 1 of the Linux instructions unchanged:
sudo rpm --import https://downloads.1password.com/linux/keys/1password.asc

Then add the Fedora repo:
sudo dnf config-manager --add-repo https://downloads.1password.com/linux/rpm/stable/\$basearch
Replace "stable" with "beta" if you want the beta releases.

Then:
sudo dnf makecache

Finally, install:
sudo dnf install 1password

Now you'll have 1Password installed and can easily update from the terminal using dnf:
sudo dnf upgrade --refresh

Works perfectly for me, much easier than downloading a new rpm with every update, particularly if you want beta releases which update more frequently. And no need to involve snaps and break browser integration.


1Password Version: 8.1.2-42
Extension Version: Not Provided
OS Version: openSUSE Tumbleweed
Sync Type: Not Provided

Comments

  • BenBen AWS Team

    Team Member

    Hey @rcj32

    Thanks for sharing this tip! Admittedly I'm not an openSUSE user so I'm not familiar with what would normally be desired here. What could we do that would make the experience better?

    Ben

  • I think ideally there would be a way to install and update 1Password with zypper, either using the Fedora repo which used to work, a dedicated openSUSE repo, or an openSUSE Build Service official/semi-official package. The OBS is kind of like an equivalent of the Arch AUR.

    Or if there's not enough interest in providing official support for openSUSE (not sure how many openSUSE or SUSE users you have), I'm interested in the flatpak which it seems is planned from reading the forums. If they can get browser extension integration working with the sandboxing I'd probably just switch to that.

  • BlakeBlake

    Team Member

    I'm interested in the flatpak which it seems is planned from reading the forums. If they can get browser extension integration working with the sandboxing I'd probably just switch to that.

    Savanni did share a snippet here, regarding where we currently stand in regards to browser integration and Flatpak at this current time, just to keep you in the loop on that side of things!

    This is likely the space where you're going to want to stay-tuned to, as Flatpak might realistically be the best solution to what you're looking for.

  • Hi @Ben ,

    Thanks for sharing this tip! Admittedly I'm not an openSUSE user so I'm not familiar with what would normally be desired here.
    What could we do that would make the experience better?

    One way to do that would be to work with the openSUSE community and see how much work it would be to set up repositories for openSUSE. :) Seeing that the downloadable RPM's work fine on openSUSE I would imagine it would be doable to get it going. (I know: famous last words)

    I am also an openSUSE Tumbleweed user and downloading the RPM and installing it on all PC's in the family quickly becomes a drag (family account). Using the snap or flatpak (without working browser extension integration) will not pass the "partner test" as said partner (or son for that matter) will resort to using easy to use, easy to guess passwords as they simply would find having to retype the master password over and over again too much work.

    @rcj32 Thank you for your tip. However, it did not work at first try; I needed to install the dnf core-plugins first because otherwise dnf throws an error message that "config-manager" is not a recognized command. After that it worked like a charm, so workable workaround. Thank you! For now I will just implement the workaround on the pc's in the household.

    Cheers,
    F.

    1pw; 8.2.0
    ext: 2.0.7
    OS: openSUSE Tumbleweed 20210916-0

  • 1P_Claudio1P_Claudio

    Team Member
    edited September 21

    Thank you @Fritz for taking the time to provide feedback and your suggestion to work with openSUSE.

    I completely understand it can become a little disruptive to manually deal with RPMs especially with your circumstances, I've passed this along to our dev team so we can look into it further.

    If there is anything more we can do in the meantime drop us a line. :)

    ref: /dev/projects/customer-feature-requests#916

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file