KeePassX

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)

  1. agarsab - 2006-12-13

    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!. :-)

  2. fenixproductions - 2007-01-07

    On openSUSE 10.2 parameter “-rebuild” does not exist. You should use “–rebuild”.

  3. Casey - 2007-08-18

    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.

  4. deadroo - 2007-09-04

    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!!

  5. Mike - 2007-09-14

    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!

  6. Sandor - 2007-10-10

    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

  7. Deb - 2007-10-11

    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.

  8. tech - 2007-12-20

    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

  9. Hans - 2008-07-05

    For Opensuse 11 just download the related rpm file and open it using the installer. The Keepass shortcut is allready in the startmenu

Leave a comment