Installation (source code RPM)
Compiling and installing of the source code RPM is processed with only one command. Usually root privileges are required.
sudo rpmbuild –rebuild KeePassX-{Version}.src.rpm
Sometimes, on older systems, ‘rpm’ instead of ‘rpmbuild’ has to be used.
Comments (9)
Leave a comment


Main Page
I did what you told “rpmbuild…” but in my distro (Fedora Core 6) it’s a little bit different.
May be useful to other people to add some lines more to this little how-to.
The command to build my own rpm is “# rpmbuild –rebuild KeePassX-{Version}.src.rpm” with two minus signs.
The build outputs a message with the location of the rpm.
Something like “Wrote: /usr/src/redhat/RPMS/x86_64/keepassx-0.2.2-1.x86_64.rpm”.
Then, I had to install the newly created package, with an “# rpm -ihv keepassx-{Version}.{Arch}.rpm”
Finally, to use the program, just type “keepass” or make a launcher to “/usr/local/bin/keepass”.
Many thanks for your work!.
On openSUSE 10.2 parameter “-rebuild” does not exist. You should use “–rebuild”.
Beautiful work, I use it across platforms on PortableApps for Windows, Mac OS X 10.4.10 and Opensuse 10.2 x86_64. Thank you very much. I used rpmbuild –rebuild and it worked like a charm.
What worked for me on opensuse 10.2:
1. Install package libqt4-devel from the standard opensuse sources
2. Download the src.rpm package
3. As root run rpmbuild –rebuild KeePassX.version.src.rpm
4. Find the built rpm “find / | grep keepass”
5. install the rpm “rpm -Uvh Keepassx.version.rpm”
6. now just run keepass from the command line or edit the start menu and add a shortcut for it.
Now sit back and enjoy the best cross platform password manager!!
EASY installation on SuSE 10.2:
-download KeePassx RPM from this site to a new folder.
-click on the downloaded file.
-click on “Install Package with YaST” button.
-find executable file and create link on desktop (drag to desktop) [mine installed to: /usr/local/bin].
Great Program. Thanks!
I had to do the following steps on OpenSuse 10.3 AMD64
1. download KeePassx RPM from this site to a new folder
2. rpmbuild –rebuild KeePassX-0.2.2.src.rpm
2b. updatedb and locate keepassx
3. rpm -iv /usr/src/packages/RPMS/x86_64/keepassx-0.2.2-1.x86_64.rpm
as after 2. typing keepass in terminal just did not work
Anybody get KeePassX running on 64bit Red Hat(RHEL4)? Using source rpm and rpmbuild –rebuild KeePassX-0.2.2.src.rpm command I get this error message…..
make[1]: /bin/uic: Command not found
make[1]: *** [../build/ui/EditGroupDlg.h] Error 127
make[1]: Leaving directory `/usr/src/redhat/BUILD/keepassx-0.2.2/src’
make: *** [sub-src] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.61962 (%build)
RPM build errors:
user tarek does not exist - using root
Bad exit status from /var/tmp/rpm-tmp.61962 (%build)
Really like KeePass would like to run it on my RHEL4 64-bit server.
For opensuse 10.3 try http://download.opensuse.org/repositories/KDE:/Community/openSUSE_10.3/x86_64/keepassx-0.2.2.91-7.7.x86_64.rpm
For Opensuse 11 just download the related rpm file and open it using the installer. The Keepass shortcut is allready in the startmenu