天天看点

how to install keepassx on RHEL

从http://www.keepassx.org/获得tar.gz文件后,我认真阅读了INSTALL文档。

内容如下:

Installation instructions for *nix:

-----------------------------------

1. qmake-qt4 / qmake

   You have to use qmake of Qt >= 4.3.0, depending on your distro it is called qmake or qmake-qt4.

   By default KeePassX is installed to /usr, you can change that by adding PREFIX=[PATH] to the qmake command.

   You can also add DEBUG=1 to build KeePassX with debug symbols.

2. make

3. make install

由于对Qt编程不是很了解,因此这个文档我没有理解。

通过对ls /usr/lib64/qt4/bin/qmake-qt4 -al的命令的输出,我明白了INSTALL文档的第一行的意思。是要用户运行qmake-qt4 或者qmake这个命令。因为qmake-qt4的属性是执行文件。

在RHEL6中具体的安装keepassx的方法是:

tar -zxf keepassx-0.4.3.tar.gz

cd keepassx-0.4.3

qmake-qt4

make

make install

exit

编译过程有一点长,不要紧,最后都会安装成功。

本文转自 urey_pp 51CTO博客,原文链接:http://blog.51cto.com/dgd2010/747942,如需转载请自行联系原作者

继续阅读