I recently took the plunge and installed Asahi Linux on my Apple Silicon Mac to get some hands-on Linux experience and dual boot with macOS. It's been an exciting journey so far, but I quickly realized that some of my favorite apps, like 1Password, aren't readily available in the package manager for Asahi Linux or even Fedora in general.
After some digging, I discovered that 1Password doesn't provide ARM builds in the package repositories for any Linux distribution, including Fedora and Asahi Fedora. However, not all hope was lost! With a bit of scripting magic, I managed to install 1Password on my Asahi Linux system and even created a convenient desktop shortcut in KDE Wayland.
Let me walk you through the step-by-step process of installing 1Password on Asahi Linux Fedora for Apple Silicon Macs.
Step 1: Download the 1Password Archive
First, we need to download the latest 1Password archive for Linux. Run the following command in your terminal:
Step 2: Extract the Archive
Once the download is complete, extract the archive using the tar command:
Step 3: Create the Installation Directory
Next, create a directory where we will install 1Password. In this example, we'll use /opt/1Password
:
Step 4: Move Files to the Installation Directory
Move the extracted files from the archive to the installation directory:
Step 5: Run the After-Install Script
1Password includes an after-install script that sets up necessary permissions and configurations. Run the script with the following command:
Step 6: Clean Up Downloaded Files
To keep your system tidy, remove the downloaded archive and extracted files:
Step 7: Create a Desktop Entry
To create a desktop shortcut for 1Password in KDE Wayland, we'll create a desktop entry file. First, create the directory for the desktop entry if it doesn't already exist:
Then, create a file named 1password.desktop
in the ~/.local/share/applications
directory with the following content:
<< > ~/.///1password.
=1Password
=1Password
=//1Password/1password
=//1Password///1password.
=
=
=;;
=
Step 8: Make the Desktop Entry Executable
To ensure that the desktop entry is executable, run the following command:
Step 9: Update Desktop Database (Optional but Recommended)
Finally, update the desktop database to ensure that the new desktop entry is recognized by KDE Wayland:
And there you have it! You can now launch 1Password from your application menu in KDE Wayland on Asahi Linux Fedora for Mac. And happy password managing!