Scientific Linux Forum.org



  Reply to this topicStart new topicStart Poll

> Addition of KeePassX (keepassx), How I installed keepassx on SL 6
rlopezcnm
 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):
gcc
gcc-c++
libXtst
libXtst-devel
qconf
qt-devel

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:
qt-demos
qt-examples
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
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
^
tux99
 Posted: May 16 2012, 11:22 PM
Quote Post


SLF Moderator
********

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









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

http://pkgs.org/centos-6-rhel-6/puias-i386/keepassx-0.4.3-1.puias6.i686.rpm.html

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: http://pkgrepo.linuxtech.net/el6/
(can be used together with EPEL and ELRepo repositories) - repository mirror: http://linuxsoft.cern.ch/linuxtech/el6/
PM
^
rickyjones
 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?

Thanks,
Richard
PM
^
rickyjones
 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...

-Richard
PM
^
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
^
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll