[SOLVED] How to install KEEPASS in rocky linux

i have extracted the folder and tried ./configure && make && make install.

i have downloaded keepassx-2.0.3.tar.gz
how can i install ?

thanks.

Open the file named INSTALL.

Building:

mkdir build
cd build
cmake [CMAKE PARAMETERS] ā€¦
make [-jX]

Common cmake parameters:

-DCMAKE_INSTALL_PREFIX=/usr/local
-DCMAKE_VERBOSE_MAKEFILE=ON
-DCMAKE_BUILD_TYPE=<RelWithDebInfo/Debug/Release>
-DWITH_GUI_TESTS=ON

Installing:

make install [DESTDIR=X]

Create a bundle on Mac:
make package

Run tests:

make test [CTEST_OUTPUT_ON_FAILURE=1] [ARGS+=-jX] [ARGS+="-E testgui"]

OS specific instructions:

1 Like

Thanks, i dont under this.

[username@device-name keepassx-2.0.3]$ su -
Password: 
[root@device-name ~]# mkdir build
[root@device-name ~]# cd build
[root@device-name build]# cmake [CMAKE PARAMETERS] 
bash: cmake: command not found...
Similar command is: 'make'
[root@device-name build]# ^C
[root@device-name build]# 


please help me out

The README.md says qt4 is required. It would take too long to figure out that part of it.

Do you have to compile it? you can use ā€˜dnf install keepassā€™.

1 Like

dnf install keepass

1 Like

you are a life saver sir,

thank you very much

1 Like

Safety suggestion: Do not build as root. Use regular account. Only the ā€œmake installā€ to /usr/local requires elevated privileges. Preferably install to location, where you can write to as regular user.