VERACRYPT : comment l'installer?

Donc pour le tuto avec makeself etc … je laisse tomber?

Pour ta citation :

J’ai suivi un tuto identique (plus haut dans mes messages) je suis arrivé à avoir les 4 fichiers VERACRYPT et la ligne VERACRYPT qui se greffe dans le menu accessoires de raspbian.
J’ai cliqué sur cette ligne et rien ne s’est passé.

Je vais donc desinstaller VERACRYPT et suivre ton nouveau tuto DEBIAN pour le réinstaller.

Si tu veux en anglais sur Debian Jessie

linuxg.net/how-to-install-veracr … x-systems/

Il y a aussi un paquet Debian

launchpad.net/~unit193/+archive … 4_i386.deb

ATTENTION Grantoutab!!.. Le paquet Debian auquel tu fais référence est pour une architecture i386. Ors, dans le cas de pat054 c’est sur un raspberry qu’il installe veracrypt. C’est pour ça que je l’ai aiguillé vers le tuto “archlinux” qui lui est justement pour ce type de machine. Je sais bien que c’est pas évident pour un débutant mais j’ai pas vu pour l’instant sur le net un tuto pour une installation sur “raspbian”

je fais quoi maintenant?

howto.wared.fr/raspberry-pi-arch … veracrypt/

sourceforge.net/projects/veracry … 2/download

Ou carrément passer la machine sous Arch
avant
howto.wared.fr/raspberry-pi-inst … linux-arm/

Pour pat054:

T’occupes pas de la ligne concernant makekpkg. Ce truc c’est pour installer « makeself » façon « Arch Linux ». Sous Debian rien à F…!.. A partir du moment ou makeself est installé t’as tout bon. Logiquement il ne te manques plus grand chose pour arriver enfin à compiler la version prévue pour ton architecture. Tu télécharges celle-ci en faisant:

wget http://howto.wared.fr/wp-content/uploads/2015/02/veracrypt_1.0f-1_Source.tar.bz2

Une fois cela fait il faut également récupérer wxwidgets:

wget http://downloads.sourceforge.net/project/wxwindows/3.0.2/wxWidgets-3.0.2.tar.bz2

On décompresse le tout:
tar xvjf veracrypt_1.0f-1_Source.tar.bz2
tar xvjf wxWidgets-3.0.2.tar.bz2

tu compiles:

cd src
make NOGUI=1 WX_ROOT=/home/pi/wxwidgets/wxWidgets-3.0.2/ wxbuild
make NOGUI=1 WXSTATIC=1

et tu installes:

cd Setup/Linux
./veracrypt-1.0f-1-setup-console-unknown

Et après… ben t’as plus qu’à lire la doc!..

J’ai déroulé le code et arrivé à :

pi@raspberrypi ~ $ cd src
pi@raspberrypi ~/src $ make NOGUI=1 WX_ROOT=/home/pi/wxwidgets/wxWidgets-3.0.2/ wxbuild
Error: WX_ROOT must point to wxWidgets source code directory
Makefile:307: recipe for target 'wxbuild' failed
make: *** [wxbuild] Error 1
pi@raspberrypi ~/src $

j’ai l’erreur 1 ci-dessus.

Que faire?

T’assurer que /home/pi/wxwidgets/wxWidgets-3.0.2/

existe. Dans quel dossier as tu fais la commande tar

Le tuto
howto.wared.fr/raspberry-pi-arch … veracrypt/

dit ça
Compilez les sources (ne pas oublier de modifier ${PATH} en fonction de votre arobrescence, il faut préciser ici un chemin absolu de vos dépendances graphiques téléchargées précédemment) :

cd src
sudo make NOGUI=1 WX_ROOT=${PATH}/wxWidgets-3.0.2 wxbuild
sudo make NOGUI=1 WXSTATIC=1

Autant pour moi!.. C’est moi là qui suis allé très vite. le tuto précise en effet que le chemin vers wxwidget doit être un chemin ABSOLU (c’est-à-dire le chemin vers le répertoire “wxWidgets-3.0.2” indiqué depuis la racine /. j’avais pris l’exemple “/home/pi…” mais chez toi ça peut parfaitement être autre chose.

Bonjour,

Le dossier xxwidgets n’existe pas : j’ai directement /home/pi/wxWidgets-3.0.2/

La commande tar (les commandes tar), je les ai faites dans le répertoire /home/pi car une fois terminé la commande cd src m’a emmené dans /home/pi/src

OK, Je vais mettre le PATH à jour dans le code (à /home/pi/) et lancer le code

j’ai dû mettre sudo avant le make pour éliminé l’erreur 1

pi@raspberrypi ~ $ cd src
pi@raspberrypi ~/src $ make NOGUI=1 WX_ROOT=/home/pi/wxWidgets-3.0.2/ wxbuildmkdir: impossible de créer le répertoire « /home/pi/src/wxrelease »: Permission non accordée
Makefile:311: recipe for target 'wxbuild' failed
make: *** [wxbuild] Error 1
pi@raspberrypi ~/src $ sudo make NOGUI=1 WX_ROOT=/home/pi/wxWidgets-3.0.2/ wxbuild
Configuring wxWidgets library...
Building wxWidgets library...

Mais le make suivant me donne 2 erreurs : 1 et 2

pi@raspberrypi ~/src $ make NOGUI=1 WXSTATIC=1
Package fuse was not found in the pkg-config search path.
Perhaps you should add the directory containing `fuse.pc'
to the PKG_CONFIG_PATH environment variable
No package 'fuse' found
Package fuse was not found in the pkg-config search path.
Perhaps you should add the directory containing `fuse.pc'
to the PKG_CONFIG_PATH environment variable
No package 'fuse' found
Compiling FuseService.cpp
FuseService.cpp:12:18: fatal error: fuse.h: Aucun fichier ou dossier de ce type
 #include <fuse.h>
                  ^
compilation terminated.
/home/pi/src/Build/Include/Makefile.inc:20: recipe for target 'FuseService.o' failed
make[1]: *** [FuseService.o] Error 1
Makefile:287: recipe for target 'all' failed
make: *** [all] Error 2

Que faire?

OK!.. Il semblerait qu’il te manque encore un paquet pour procéder à la compilation. On va l’installer:

sudo apt-get install libfuse-dev

et tu recommences la compil

le tuto dit

sudo make NOGUI=1 WXSTATIC=1

j’ai effectué : sudo apt-get install libfuse-dev : c’est OK
j’ai lancé make NOGUI=1 WXSTATIC=1 : ce n’est pas ok : manque permission
j’ai relancé avec : sudo make NOGUI=1 WXSTATIC=1: c’est OK
j’ai suivi le reste du tuto :

pi@raspberrypi ~/src $ cd Setup/Linux
pi@raspberrypi ~/src/Setup/Linux $ ./veracrypt-1.0f-1-setup-console-unknown
Verifying archive integrity... All good.
Uncompressing VeraCrypt 1.0f-1 Installer  100%  
e[3;J
VeraCrypt 1.0f-1 Setup
____________________


Installation options:

 1) Install veracrypt_1.0f-1_console_Unknown.tar.gz
 2) Extract package file veracrypt_1.0f-1_console_Unknown.tar.gz and place it to /tmp

To select, enter 1 or 2: 1

J’ai choisi 1 et ENTER et la licence :

Do you accept and agree to be bound by the license terms? (yes/no): yes

Uninstalling VeraCrypt:
-----------------------

To uninstall VeraCrypt, please run 'veracrypt-uninstall.sh'.

Installing package...
usr/
usr/bin/
usr/bin/veracrypt
usr/bin/veracrypt-uninstall.sh
usr/share/
usr/share/veracrypt/
usr/share/veracrypt/doc/
usr/share/veracrypt/doc/VeraCrypt User Guide.pdf
usr/share/veracrypt/doc/License.txt

Press Enter to exit... 
pi@raspberrypi ~/src/Setup/Linux $

Maintenant comment lancer VERACRYPT?

Pour info, j’ai essayé par le MENU, ACCESSOIRES et un clic sur la ligne VERACRYPT ,
la souris tourne pendant 10s mais stop et il ne se passe rien. J’ai tjrs la main.

Avec ton terminal tape :

$ which veracrypt

Tu devrais avoir un truc du genre "/usr/bin/veracrypt"
Si c’est le cas tape juste “veracrypt” et ça devrait être Ok

En console??

:~$ usr/bin/veracrypt

Et jette un oeil sur
usr/share/veracrypt/doc/VeraCrypt User Guide.pdf

Ok, je fais :

pi@raspberrypi ~/src/Setup/Linux $ which veracrypt
/usr/bin/veracrypt

et j’ai tapé :

pi@raspberrypi ~/src/Setup/Linux $ veracrypt
Usage: veracrypt [--auto-mount <str>] [--backup-headers] [--background-task] [-C] [-c] [--create-keyfile] [--current-hash <str>] [--delete-token-keyfiles] [-d] [--display-password] [--encryption <str>] [--explore] [--export-token-keyfile] [--filesystem <str>] [-f] [--fs-options <str>] [--hash <str>] [-h] [--import-token-keyfiles] [-k <str>] [-l] [--list-token-keyfiles] [--load-preferences] [--mount] [-m <str>] [--new-keyfiles <str>] [--new-password <str>] [--non-interactive] [-p <str>] [--protect-hidden <str>] [--protection-hash <str>] [--protection-keyfiles <str>] [--protection-password <str>] [--random-source <str>] [--restore-headers] [--save-preferences] [--quick] [--size <str>] [--slot <str>] [-tc <str>] [--test] [-t] [--token-lib <str>] [-v] [--version] [--volume-properties] [--volume-type <str>] [Volume path] [Mount point]
  --auto-mount=<str>         	Auto mount device-hosted/favorite volumes
  --backup-headers           	Backup volume headers
  --background-task          	Start Background Task
  -C, --change               	Change password or keyfiles
  -c, --create               	Create new volume
  --create-keyfile           	Create new keyfile
  --current-hash=<str>       	Current hash algorithm for change password/keyfiles operation
  --delete-token-keyfiles    	Delete security token keyfiles
  -d, --dismount             	Dismount volume
  --display-password         	Display password while typing
  --encryption=<str>         	Encryption algorithm
  --explore                  	Open explorer window for mounted volume
  --export-token-keyfile     	Export keyfile from security token
  --filesystem=<str>         	Filesystem type
  -f, --force                	Force mount/dismount/overwrite
  --fs-options=<str>         	Filesystem mount options
  --hash=<str>               	Hash algorithm
  -h, --help                 	Display detailed command line help
  --import-token-keyfiles    	Import keyfiles to security token
  -k, --keyfiles=<str>       	Keyfiles
  -l, --list                 	List mounted volumes
  --list-token-keyfiles      	List security token keyfiles
  --load-preferences         	Load user preferences
  --mount                    	Mount volume interactively
  -m, --mount-options=<str>  	VeraCrypt volume mount options
  --new-keyfiles=<str>       	New keyfiles
  --new-password=<str>       	New password
  --non-interactive          	Do not interact with user
  -p, --password=<str>       	Password
  --protect-hidden=<str>     	Protect hidden volume
  --protection-hash=<str>    	Hash algorithm for protected hidden volume
  --protection-keyfiles=<str>	Keyfiles for protected hidden volume
  --protection-password=<str>	Password for protected hidden volume
  --random-source=<str>      	Use file as source of random data
  --restore-headers          	Restore volume headers
  --save-preferences         	Save user preferences
  --quick                    	Enable quick format
  --size=<str>               	Size in bytes
  --slot=<str>               	Volume slot number
  -tc, --truecrypt=<str>     	Enable TrueCrypt mode. Should be put first to avoid issues.
  --test                     	Test internal algorithms
  -t, --text                 	Use text user interface
  --token-lib=<str>          	Security token library
  -v, --verbose              	Enable verbose output
  --version                  	Display version information
  --volume-properties        	Display volume properties
  --volume-type=<str>        	Volume type
pi@raspberrypi ~/src/Setup/Linux $ 

et que fait-on avec tout ceci?
J’ai peut-être oublié de préciser : je voudrais VERACRYPT en mode graphique avec des fenêtres

Avec l’option de make : NOGUI=1 je pense que tu n’as pas le GUI :slightly_smiling:

Qu’est ce le GUI?

Dans le guide.doc, il est dit :

1er: "the launch veracrypt by double-cliking the file veracrypt.exe…"
Où est le fichier?

et 2e : "…or by cliking the veracrypt shortcut in your windows start menu"
J’ai bien dans le MENU ACCESSOIRES la ligne VERACRYPT mais comme expliqué plus haut lorsque je clique dessus la souris tourne 10s et rien ne se passe

Oui ça c’est pour Windows, là t’es dans le monde Linux.
GUI graphical user interface

tu dois etre en mode console du genre

veracrypt -t -c

it-connect.fr/linux-veracryp … -commande/