Scientific Linux

  Reply to this topicStart new topicStart Poll

> Addition of KeePassX (keepassx), How I installed keepassx on SL 6
 Posted: May 16 2012, 09:58 PM
Quote Post

SLF Newbie

Group: Members
Posts: 2
Member No.: 1542
Joined: 16-May 12

This is how I installed KeePassX to my Scientific Linux 6 system.

The essence of the installation is to provide qmake from the QT world in order to create a make file.

It is possible I could have already had other prerequisite packages in place.
It is possible some of the packages I installed were not really necessary.
It should have been possible to use yum, but I chose not to.

I used System -> Administration -> Add/Remove Software to add these (and I accepted all suggested requisite packages for each of these):

At this point I could not find qmake (which qmake).
The next two may have been superfluous, but I added them hoping the prerequisites for them would include qmake:
After adding the above, I discovered (updatedb; locate qmake) /usr/bin/qmake-qt4 and it was a link to /usr/lib/qt4/bin/qmake-qt4.
There I also found a qmake which had no diffs from qmake-at4. So I added a soft link from /usr/lib/qt4/bin/qmake to /usr/bin/qmake (ln -s /usr/lib/qt4/bin/qmake /usr/bin/qmake)

I downloaded the latest keepassx binary package. In my case it was keepassx-0.4.3.tar.gz

As root I then
moved that download file to /usr/local/src and cd's there.
tar xzf keepassx-0.4.3.tar.gz
cd keepassx-0.4.3
qmake -makefile (that might have been done as qmake-qt4 -makefile)
make install

At that point I found Applications -> Accessories -> KeePassX.
I (optionally) did of a drag of the icon to my panel.
It ran from the panel.

I did an scp of my current database file from my other computer.
I used the running KeePassX to create a new .keepassx directory during a Save Database As... operation and I saved my database to that new directory.
I removed the database file from my home directory.

It is working fine.

PMEmail Poster
 Posted: May 16 2012, 11:22 PM
Quote Post

SLF Moderator

Group: Moderators
Posts: 1278
Member No.: 224
Joined: 28-May 11

KeePassx is also available in the PUIAS EL6 repo, as rpm:

Of course some people might prefer to build security sensitive software from source for trust reasons.

My personal SL6 repository, specialized in audio/video software:
(can be used together with EPEL and ELRepo repositories) - repository mirror:
 Posted: Feb 27 2014, 07:19 PM
Quote Post

SLF Newbie

Group: Members
Posts: 5
Member No.: 2803
Joined: 8-November 13

Hi -

I just downloaded and installed that RPM. When I launch keepassx I get the following errors:

[richard@localhost ~]$ keepassx
QGtkStyle was unable to detect the current GTK+ theme.
Segmentation fault
[richard@localhost ~]$

I can't seem to get around this. I'm running a very default version of SL 6.5 (6.4 with all updates installed).

Any idea on a way to get this working?

 Posted: Feb 27 2014, 07:23 PM
Quote Post

SLF Newbie

Group: Members
Posts: 5
Member No.: 2803
Joined: 8-November 13

Update - after trying everything I did the following:

1. Run qtconfig-q4
2. Select "Cleanlooks" in the GUI Style dropdown.
3. Save

That seemed to resolve. No idea why...

John Cuppi
 Posted: Feb 28 2014, 06:28 AM
Quote Post

SLF Admin Team

Group: Admins
Posts: 144
Member No.: 15
Joined: 10-April 11

I had the same problem in my test VM and resolved it. Thanks.
PMUsers Website
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll