LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-02-2009, 12:43 PM   #1
dcsmith300
LQ Newbie
 
Registered: Oct 2008
Location: San Antonio, TX
Distribution: Slackware
Posts: 15

Rep: Reputation: 3
TrueCrypt for Slackware How-To


I couldn't find any good info on compiling truecrypt on slackware but I figured it out and though I would share.

Note: you need to be root.

1. Download truecrypt source from www.truecrypt.org and expand it in a temporary folder.

2. Ftp the files below from ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20 and copy them into the truecrypt source directory.
/opt/truecrypt/truecrypt-6.1a-source in my case.

cryptoki.h
ct-kip.h
opt-pkcs11.h
pkcs-11v2-20a3.h
pkcs-11v2-20a3d3.h
pkcs11.h
pkcs11f.h
pkcs11t-consolidated-d1.h
pkcs11t.h
pkcs11t.h.org

3. Download wxWidgets from: http://www.wxwidgets.org/downloads/ wxAll is what you want.

4. unpack wxWidgets in the truecrypt source directory.

5. run the following command from the truecrypt source directory /opt/truecrypt/truecrypt-6.1a-source# make WX_ROOT=/opt/truecrypt/truecrypt-6.1a-source/wxWidgets-2.8.10 wxbuild

Note: change directories to match your installation

6. run the following command: make WXSTATIC=1

7. see the readme file in the truecrypt source directory for the rest of the info.

Good Luck.

Last edited by dcsmith300; 04-02-2009 at 12:54 PM.
 
Old 04-02-2009, 04:27 PM   #2
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
Helpful
 
Old 04-03-2009, 12:01 AM   #3
TwinReverb
Member
 
Registered: Sep 2008
Location: Misawa AB, Japan
Distribution: Slackware
Posts: 191
Blog Entries: 2

Rep: Reputation: 40
Why do we need TrueCrypt? Just an honest question, since LUKS woks fine and there's a README_CRYPT.TXT on most Slackware mirrors that shows you how to install Slackware using LUKS and LVM2. The README works great, and I'm using mine "fully" encrypted (i.e. except for /boot).
 
Old 04-03-2009, 02:01 PM   #4
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
Quote:
Why do we need TrueCrypt?
(1) Plausible deniability
(2) Windows intraoperability

I use LUKS too.
 
Old 04-04-2009, 10:27 AM   #5
dcsmith300
LQ Newbie
 
Registered: Oct 2008
Location: San Antonio, TX
Distribution: Slackware
Posts: 15

Original Poster
Rep: Reputation: 3
[QUOTEHelpful
__________________
Your manuscript is both good and original. But the part that is good is not original, and the part that is original is not good. [attributed to Samuel Johnson] [/QUOTE]

I was trying to be helpful, I require TrueCrypt. I won't make that mistake again.

--peace out.
 
Old 04-04-2009, 11:03 AM   #6
bl0tt0
Member
 
Registered: Aug 2005
Location: The Glorious People's Republic of Austin
Posts: 178

Rep: Reputation: 62
I don't know where the best place to post it would be, but a while back I threw together a handy SlackBuild script for truecrypt that pulls all of this together. If anyone is interested, let me know.
 
Old 04-04-2009, 02:24 PM   #7
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104
Quote:
Originally Posted by dcsmith300 View Post
Your manuscript is both good and original. But the part that is good is not original, and the part that is original is not good. [attributed to Samuel Johnson]

I was trying to be helpful, I require TrueCrypt. I won't make that mistake again.

--peace out.
The part which goes "Your manuscript is both..." is the signature message of the poster and was not meant as a comment towards your instructions. The only thing he really said was "Helpful".

Eric
 
Old 04-05-2009, 10:51 AM   #8
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
I knew that sig was going to get taken personally sooner or later. Dang, I'll have to change it. Guess maybe I should remove my thanks too.

Last edited by mostlyharmless; 04-05-2009 at 11:04 AM.
 
Old 04-06-2009, 11:55 AM   #9
dcsmith300
LQ Newbie
 
Registered: Oct 2008
Location: San Antonio, TX
Distribution: Slackware
Posts: 15

Original Poster
Rep: Reputation: 3
Sorry, I misread your post - No hard feelings.

---Dennis
 
Old 04-06-2009, 01:45 PM   #10
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
bl0tt0: I'd be interested, but I'm sure others would be too - here's what I think, try
http://slackbuilds.org/guidelines/
dcsmith300: I guess it's pretty funny actually. Sorry about the misunderstanding and welcome to LQ.
 
Old 04-08-2009, 03:10 AM   #11
brooky9999
Member
 
Registered: May 2006
Location: Marlow, UK
Distribution: Slackware 12.2
Posts: 232

Rep: Reputation: 30
I use Luks too and it works well.

I also use TrueCrypt so I can create encrypted containers to share with my Windows friends.
 
Old 06-08-2009, 07:41 PM   #12
emrysm
LQ Newbie
 
Registered: Jun 2009
Posts: 9

Rep: Reputation: 1
Two things

Two things that might help other people:

1)
opt-pkcs11.h isn't on the ftp server - it's called otp-pkcs11.h on there. I have no idea which is correct, so I just copied otp-pkcs11.h to opt-pkcs11.h so I had both JIC.

2)
If you are building from CLI (like me), you need to add NOGUI=1 to both 'make' commands like this:

Code:
make NOGUI=1 WX_ROOT=/wx_path/ wxbuild
make NOGUI=1 WXSTATIC=1
works like a charm.

-Rigor Mortis
Spigot 37 Development Team
 
Old 06-08-2009, 08:21 PM   #13
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,158

Rep: Reputation: 62
I used truecrypt in the past for cross-platform compatibility but I've since found FreeOTFE which works great on Windows with luks volume created under Linux.
 
Old 06-11-2009, 06:52 AM   #14
akiku
Member
 
Registered: Jun 2009
Distribution: Slackware
Posts: 62

Rep: Reputation: 17
Quote:
Originally Posted by dcsmith300 View Post
I couldn't find any good info on compiling truecrypt on slackware but I figured it out and though I would share.
If you prefer not to compile your own version, slacky.eu has a v6.2 package http://repository.slacky.eu/slackwar...2-i486-1ng.tgz ready for installation.
 
Old 06-26-2009, 09:19 AM   #15
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
An alternative method:

1) Download and install wxGTK (or another on if you want), and compile with these options:

Code:
./configure --prefix=/usr --enable-shared --with-opengl --enable-unicode
(note: the unicode is necessary, in case you think it isn't)

2) Download truecrypt, extract, open a terminal in the extracted directory.

3) Run:

Code:
wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/*.h*
make
That's it just run it, looks like there isn't any way to install it properly.
 
  


Reply

Tags
build, cli, command, compile, encryption, howto, interface, line, make, slackware, truecrypt


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Truecrypt Permissions dauphinfay Linux - Software 2 02-13-2009 06:57 AM
truecrypt and SLED 10 anurnberg SUSE / openSUSE 6 05-16-2008 02:22 PM
truecrypt koker Grafpup 1 01-03-2008 10:55 AM
TrueCrypt vs. CFS kurrupt Linux - Security 4 10-10-2006 05:43 AM
TrueCrypt for linux? rpz Linux - Software 14 05-19-2006 09:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration