VeraCrypt icon indicating copy to clipboard operation
VeraCrypt copied to clipboard

Please update your dependency of wxWidgets from 3.0 to 3.2

Open mgrotke opened this issue 11 months ago • 5 comments

We cannot install Veracrypt due to its reliance on outdated libraries that are not available in mainline repositories.

For example, it requires libwxgtk3.0-gtk3-0v5. This is not the latest version. I request that you try to locate this old version because it is very hard to find and not available for download. You can find a link to it at pkgs.org (https://pkgs.org/search/?q=libwxgtk3.0-gtk3-0v5), but it will not install either because it requires the dependency of libtiff5. Now, libtiff6 is installed on my system by default, but that won't work; libtiff5 is required, and oh, also not available.

Installing Veracrypt has become a recursive hunt for outdated dependencies, none of which are available in any repos and must be downloded from alternative sources like webistes and repos. This is a security problem.

Bottom line: libwxgtk3.2.1 is available in my repo. I am on Linux Mint 22.1. Could you PLEASE update your dependencies so that we can install your program. Or put it in a Flatpak with all the old dependencies. I don't care. But I REALLY doubt the developers of this product has actually tried to install this program lately on a fresh OS because it either can't be done or is VERY hard. If you want people to actually use this software PLEASE make it easier for us to install it.

mgrotke avatar Jan 19 '25 02:01 mgrotke

@mgrotke VeraCrypt provides .deb packages that link against official wxWidgets library of the Linux distribution, except on Ubuntu 24.04 and its derivatives where we link statically against wxWidgets 3.2.5 because the version present in Ubuntu 24.04 (3.2.4) has a bug that affects VeraCrypt.

Mint 22 is based on Ubuntu 24.04 and so you should use VeraCrypt .deb package for Ubuntu 24.04 to install it. Based on the elements you shared, it looks like you are using the wrong .deb package (probably the one of Ubuntu 22.04): it is unfortunate the Mint choose 22 as a version number for their release although it is based on Ubuntu 24.04. I think this is what caused your confusion.

Anyway, just download VeraCrypt .deb package for Ubuntu 24.04 and you will not have any issues.

idrassi avatar Jan 19 '25 16:01 idrassi

This is to confirm that the option suggested above by @mgrotke worked for us.

For those facing the same challenge and not familiar with installing the latest version of VeraCrypt .deb package for Ubuntu 24.04 or other Linux flavors, the steps are below. It is the same steps for updating VeraCrypt.

Steps:

  1. If VeraCrypt is already installed. Unmount all VeraCrypt volumes. Fully close all VeraCrypt processes.

  2. Using any internet browser to your liking, such as LibreWolf, go to https://veracrypt.fr/en/Downloads.html

  3. Under "Linux" ---> "Ubuntu 24.04" ---> Next to "GUI" line, click on that link. Which triggers downloading the latest VeraCrypt version installer. It is presently version 1.26.14.

  4. Install the deb package you downloaded above. This will automatically install the needed dependencies.

  5. Reboot. Done. Enjoy :)

In the unlikely event that the above steps failed. Uninstall VeraCrypt. Reboot. Try installing a fresh VeraCrypt using the same steps above. Double-check that you install only VeraCrypt GUI or only VeraCrypt CLI. Not both. Otherwise, on some Linux, funky challenges would risk to happen.


This is a note to myself IDU_20220602_122334

Francewhoa avatar Jan 19 '25 20:01 Francewhoa

PLEASE make it easier for us to install it.

@mgrotke and all VeraCrypt enthusiasts :) For those interested in a much easier and faster option to install or update VeraCrypt, you're welcome to join the discussion and efforts about adding VeraCrypt to the Flathub repository at https://github.com/veracrypt/VeraCrypt/issues/1309

Francewhoa avatar Jan 19 '25 20:01 Francewhoa

Based on the elements you shared, it looks like you are using the wrong .deb package (probably the one of Ubuntu 22.04): it is unfortunate the Mint choose 22 as a version number for their release although it is based on Ubuntu 24.04. I think this is what caused your confusion.

@idrassi Yes you are right, that was my confusion. I did in fact use the wrong Ubuntu package (22.04) where I should have used 24.04. Thank you for pointing that out.

3. Under "Linux" ---> "Ubuntu 24.04" ---> Next to "GUI" line, click on that link. Which triggers downloading the latest VeraCrypt version installer. It is presently version 1.26.14.

@Francewhoa Thank you for helping me. You are right. The software is now installed successfully.

join the discussion and efforts about adding VeraCrypt to the Flathub repository

@Francewhoa Yes a Flatpak on Flathub would be nice and would certainly make the software more accessible to the masses. There are a lot of new people to Linux and if we want that to continue, I believe we need to cater to their skill level. Flatpak software can be seen by people in their distro's software manager, regardless of distro.

mgrotke avatar Jan 20 '25 00:01 mgrotke

~Wait, you're not having elevation problems on Mint 22.1? Since I upgraded, VeraCrypt is no longer able to pop up the "sudo"ing dialog, and I have to resort to kludges like running it pre-elevated and copy the favourites xml from the user home to root (in inconsistent locations)...~ Edit: Fixed by 1.26.20

SomeTroglodyte avatar Feb 15 '25 10:02 SomeTroglodyte