Edited on July 26, 2015 to include instructions on enabling browser extensions (Thanks, Jonathan!)
UPDATE: I am no longer using 1Password. I have moved completely to KeePassXC. Read about it here.
If you are as deeply entrenched in the Apple ecosystem as I am you probably survive password hell by using 1Password.
What if you want to play around with Ubuntu Linux? There is no version of 1Password for Linux. There is one neat work-around that I will show you here: you can use Wine, a Windows emulator, to run 1Password on Ubuntu Linux. This will probably work on other *nix systems too.
Check out my screencast on YouTube! to see the installation.
This guide assumes the user has:
- Ubuntu Linux 14.10 64-bit version is installed on a computer or virutal machine
- beginner-level familiarity of the Linux command line
- an existing 1Password installation that is being synchronized via Dropbox (not iCloud)
- 1Password version 4 for Windows is being installed
- install Wine
- Install & configure Dropbox
- Download 1Password
- Install 1Password in Wine
- (NEW) Install browser extensions
- Run 1Password (NEW) with browser extensions enabled
Open up a Terminal window and type in the following:
sudo apt-get install wine
The Ubuntu package installer will then figure out what dependencies Wine has and it will figure out what needs to be downloaded. It will present you with a summary of what is to be installed and then it will as you if you want to continue. Type in
y to continue.
It will then present you with an end user license agreement (EULA) for using Microsoft fonts. Click
ok to accept it. Note: you will need to use the Tab key to focus on the
<Ok> on this and subsequent dialog screens.
Install and Configure Dropbox
Open the Ubuntu Software Center and search for “Dropbox”.
When it shows up, click on Dropbox, then click on the Install button and enter your password when prompted.
The Ubuntu Software Center will install Dropbox for you. When it is done, close the Software Center window.
Click on the new Dropbox icon in the Launcher. A Dropbox setup window will then open. Enter your account information. At this point you accept the default of syncing everything in your Dropbox account. Alternatively, you can click on the Advanced Settings link to choose specific folders to sync.
Running 1Password on Ubuntu requires the Windows version. You can grab it at the AgileBits Downloads page.
Click on the Download It Now button.
In the resultant pop-up dialog box, click on the Save File button.
Depending on your browser, you will either get to choose the target download directory or it will go to the default directory.
Install 1Password in WINE
Go to wherever the download is stored now. (In my case, the 1Password installer went to my
List the contents of the directory and look for the 1Password executable installer. It will be named something like
1Password-22.214.171.1240.exe . Your filename will be different than this.
Make sure you use your 1Password filename in the following command.
Use Wine to install 1Password by entering this command:
This will install 1Password in your Wine directory and start the 1Password Windows installer.
Select the default install location. It will say it is installing it to
C:\Program Files (x86)\1Password 4 but, in reality, it is installing it to the Wine folder in your home directory.
Next you are given the opportunity to create a Start Menu shortcut. Since you are on Ubuntu, there is not really a start menu. Check the checkbox for Don’t create a Start Menu folder.
Check the checkbox for Create a desktop icon if you want one and click the Next button.
Click on the Install button to begin the installation. Once it has been installed click on the Finish button to exit the installer and get back to the command line.
The simplest way to run 1Password is to use the Desktop icon. If you chose to install a Desktop icon keep in mind that it will probably not show up until after a reboot of the system.
If you didn’t install a Desktop icon, you can start Dropbox in the command line.
NEW: Install browser extensions by navigating to the AgileBits browser extensions site:
Navigate to your Wine folder. Assuming you chose the default directory when installing 1Password, you should type the following into the command line:
cd ~/.wine/drive_c/Program\ Files\ \(x86\)/1Password\ 4/
Note: unlike in Windows, file and directory names can only be letters, numbers, periods, hyphens, or underscores. Any other character or space must be preceded by a backslash character. This is known as escaping a character.
Run 1Password by typing:
This will bring up a Welcome to 1Password dialog box. Click on the I have used 1Password before button. Next navigate to your 1Password keychain in Dropbox.
Enter your 1Password master password. You should now see everything from your 1Password vault.
NEW: Lastly, navigate back to the 1Password application location and look for a file called
Agile1pAgent.exe. This app must be running to enable the browser extension(s).
Run it by navigating to the 1Password directory and typing:
(Many thanks to Jonathan for providing this guidance in his comment to this post.)
If you know of better/easier ways of doing this, please post a comment.