LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux Mint (https://www.linuxquestions.org/questions/linux-mint-84/)
-   -   Possible to install Keepass in Mint? (https://www.linuxquestions.org/questions/linux-mint-84/possible-to-install-keepass-in-mint-4175596687/)

paxolin 01-03-2017 06:27 AM

Possible to install Keepass in Mint?
 
I have keepass which I use in Windows 7, it’s Keepass Password safe v2.34

As a newbie to Linux I want to be able to use keepass, but already when searching here, I find answers that are way over my head. When searching keepass.info it tells you all about Debian/Ubuntu, Fedora, OpeSuse, etc. All this are just names I don’t understand at all.

I have Mint Cinnamon 18.1 64 bit. I cannot find anything for Mint listed?
It does seem very frustrating to me that I cannot read anywhere in plain English how to do this.

I managed to have a look in Synaptic Package Manager and search for keepass.
The results there were more confusing. I saw keepass2 and clicked it. Then when I tried clicking “apply” and “download package files only” it took about ten seconds to reload the Synaptics Package Manager window, but I can’t see that anything happened?
When I tried to close the window, I saw a pop-up telling me “There are marked changes that have not yet been applied. They will be lost if you quit” I can’t get it to do anything – that's assuming it’s the correct “package” & version of keepass I’ve tried to select.

I have Mint Cinnamon as a friend in the know said it was very similar to Windows. Maybe in appearance, but not in being able to understand it the same as Windows – for me anyway. It’s a whole new ballgame, so far I’m having trouble even seeing the ball!

ondoho 01-03-2017 06:36 AM

you mastered the first step, which is to understand that in linux, you use a dedicated app to install software, and not the wild web!

however, i think you'd be better off to use the linux mint software center, and not synaptic.

and use linux mint's dedicated updater for keeping your system up-to-date (that is not the same as installing new software), because mint has a special mechanism for that (confusing? it's one of the reasons i don't recommend mint anymore. but fret not, i think you made the rigght choice).

paxolin 01-03-2017 06:43 AM

Quote:

Originally Posted by ondoho (Post 5649582)
you mastered the first step, which is to understand that in linux, you use a dedicated app to install software, and not the wild web!

however, i think you'd be better off to use the linux mint software center, and not synaptic.

and use linux mint's dedicated updater for keeping your system up-to-date (that is not the same as installing new software), because mint has a special mechanism for that (confusing? it's one of the reasons i don't recommend mint anymore. but fret not, i think you made the rigght choice).

Thanks for your very speedy reply! I just do hope I've made the right choice too.
So tell me about the the "Linux mint software center"? How do I get to that - is that a program or something I find in the mint menu somewhere, or is it a website?

IndyGunFreak 01-03-2017 06:57 AM

I use keepass2 under Debian (what Ubuntu and Mint is based on) and it works great. No issues here.

Anyone who tells you that _______ Linux distro is similar to Windows, quite frankly, is lying (it's a major pet peeve of mine when people say that as it is rarely true). It may be cosmetically similar, but that is where the similarities end... as you've discovered installing software, etc. is way different from Windows.

Here's a couple decent links that might answer some questions (or maybe cause you to have a few more)..

http://www.howtogeek.com/117579/htg-...work-on-linux/

https://help.ubuntu.com/community/Repositories/Ubuntu

Edit: If you're using Mint Cinnamon... Mint Software Center should be in the menu (sorry I don't use it so I'm not 100% sure where it is).

IndyGunFreak 01-03-2017 07:00 AM

Also, it sounds like you only Downloaded the files for Keepass, rather than actually installing it. If it actually installed, it *should* be under the accessories menu (that's where it shows up on XFCE anyways... which is another desktop GUI for Linux)

pierre2 01-03-2017 07:07 AM

the "Linux mint software center" is not Synaptic AKA Package Manager,
but rather, an 'in house' program that does the same thing, but easier:

it should be the 2nd icon, from the top, in the Start Menu's tree.
& is called "software manager".

paxolin 01-03-2017 07:59 AM

Quote:

Originally Posted by IndyGunFreak (Post 5649592)
I use keepass2 under Debian (what Ubuntu and Mint is based on) and it works great. No issues here.

Anyone who tells you that _______ Linux distro is similar to Windows, quite frankly, is lying (it's a major pet peeve of mine when people say that as it is rarely true). It may be cosmetically similar, but that is where the similarities end... as you've discovered installing software, etc. is way different from Windows.

Here's a couple decent links that might answer some questions (or maybe cause you to have a few more)..

http://www.howtogeek.com/117579/htg-...work-on-linux/

https://help.ubuntu.com/community/Repositories/Ubuntu

Edit: If you're using Mint Cinnamon... Mint Software Center should be in the menu (sorry I don't use it so I'm not 100% sure where it is).

I've found the Software Manager (thanks to pierre2 for that) and searching have found keepass. However there are two entries in there:
Keepassx - cross platform password manager
Keepass2 password manager
Now, as I use Keepass2 under Windows, I'm guessing that I also want the same for Mint - is that correct?
I assume if I get it running, I point the Mint Keepass at my windows keepass data file, does it work like that. Hopefully I can update it in either OS?

beachboy2 01-03-2017 08:13 AM

paxolin,


These links should help you:

http://ubuntuhandbook.org/index.php/...4-15-10-14-04/

https://community.linuxmint.com/software/view/keepass2

IndyGunFreak 01-03-2017 08:29 AM

Quote:

Originally Posted by paxolin (Post 5649626)
I've found the Software Manager (thanks to pierre2 for that) and searching have found keepass. However there are two entries in there:
Keepassx - cross platform password manager
Keepass2 password manager
Now, as I use Keepass2 under Windows, I'm guessing that I also want the same for Mint - is that correct?
I assume if I get it running, I point the Mint Keepass at my windows keepass data file, does it work like that. Hopefully I can update it in either OS?

Yes. Keepassx I believe is a separate project (it may support the keypass databases, but I'm not sure on that).

Keepass2 is what you want.

As for the database... What I've taken to doing (because I also use keepass on my phone)... I keep my Keepass database in my Google Drive (or Dropbox, or whatever else you may use)... That way it's always up to date between my phone and my laptops.

You probably *can* use the file that's on the NTFS partition.. but I'm just not a fan of working w/ NTFS partitions under Linux unless I absolutely have to.

beachboy2 01-03-2017 08:41 AM

paxolin,

IndyGunFreak is right about keeping a common database up to date.

KeePass vs KeePassX:

http://superuser.com/questions/87890...s-and-keepassx

Both use .kdbx database files.

In order to have a common database for Linux and Windows, you will need to do something like this (by Arda):

Quote:

I can use .kdbx files in new KeePassX v2 Alpha and Beta versions for a long time, across Windows and Linux and newly OSX (file is stored on Dropbox to share across my work (currently OSX - KeePassX) and home (Windows, KeePass 2)) and I can say I can use it smoothly and without issues so far.

paxolin 01-03-2017 09:10 AM

Thanks to everyone who took the time to reply.

I initially installed Keepass2, as that's the one I use for Windows. Unfortunately that wouldn't work correctly for me in Mint.
It has the same layout as the Win version, but when trying to paste a login into a site - either by dragging it, or copying & pasting as I can do in the Win version - the login is English, but was transposed into Chinese characters!
I un-installed that and went for the KeepassX version.

That is not quite the same to use as the Win version, but at least I can double-click the url to get me to the login page, although it won't let me drag the credentials into the login, I can copy & paste passwords OK. So it does have a fairly straightforward work-around, so that's good.
I'll keep using a copy of the Windows database for now, until I'm confident it's running smoothly.

Thanks once again for all the help, I'm really pleased I've got somewhere with this.

beachboy2 01-03-2017 09:24 AM

paxolin,

Glad to hear that you resolved your problem.

If you go back to your original post (at the top), click on Tools, then click on Mark as Solved.

hydrurga 01-07-2017 05:18 AM

The other thing that KeePassX will let you do, if you set it up accordingly, is auto fill password details for you depending on the web site or application you have opened and using a global auto-type shortcut.

I, for example, use Alt-D to fill in my password details on various websites (this will work as long as you are logged in to KeePassX when you visit the site or use the application).

wolsonjr 01-07-2017 03:35 PM

keepass2 everywhere
 
Quote:

Originally Posted by paxolin (Post 5649663)
Thanks to everyone who took the time to reply.

I initially installed Keepass2, as that's the one I use for Windows. Unfortunately that wouldn't work correctly for me in Mint.
It has the same layout as the Win version, but when trying to paste a login into a site - either by dragging it, or copying & pasting as I can do in the Win version - the login is English, but was transposed into Chinese characters!
I un-installed that and went for the KeepassX version.

That is not quite the same to use as the Win version, but at least I can double-click the url to get me to the login page, although it won't let me drag the credentials into the login, I can copy & paste passwords OK. So it does have a fairly straightforward work-around, so that's good.
I'll keep using a copy of the Windows database for now, until I'm confident it's running smoothly.

Thanks once again for all the help, I'm really pleased I've got somewhere with this.

I'm a bit surprised at your problem. I use KeePass2 on Win7/10, Debian, Ubuntu, Mint, Fedora, and anything else I run. I use a master database on my main PC system which is shared/updated to any other system I use, so it's the same kdbx file used by all of them with no problem. I wonder if your initial install caused the problem. If you have the time and inclination, I would suggest removing each all of the KeePass installations (not the password kdbx file, just the program) and reinstalling it from the system repository again. A clean install should remove the Chinese. There are also many settings in KeePass2 which may have been corrupted. With a clean install, try opening your kdbx file and see if it is working as you wish. I suspect you will find differences between Windows and Linux versions such as D&D, which I don't use so can't comment, I do know of other minor differences. A copy of any kdbx file on one system should work fine on any other system. (as a side note, my KeePass2 versions are not all the same ver#, but no problem).

Speaking of Synaptic - I've yet to any software manager that comes close to it. It takes a little learning but isn't difficult at all, and the benefits, especially for someone new, are very useful. It has great search capability and provides a wealth of information when you're trying to find something you are not sure about and don't know quite what you want. It's really worth another look.

stanvan 01-07-2017 04:19 PM

Quote:

Originally Posted by hydrurga (Post 5651539)
The other thing that KeePassX will let you do, if you set it up accordingly, is auto fill password details for you depending on the web site or application you have opened and using a global auto-type shortcut.

I, for example, use Alt-D to fill in my password details on various websites (this will work as long as you are logged in to KeePassX when you visit the site or use the application).

KeePass auto-type is not safe from keyloggers without some special care. I would generally discourage its use unless familiar with its limitations.

Although the OP has solved the problem, I will still toss out there that I use KeePass differently. I use the portable Windows version in Linux and load it with the mono-runtime package. This lets me update the files to a flash drive and hand it off to my wife for use on her Windows laptop. I prefer not to store my database in the cloud, but I do highly recommend that you keep one or more backups of your database file. Mine got corrupted once and I was very upset that I was not prepared for that.

Cheers!


All times are GMT -5. The time now is 01:51 PM.