US DoD CAC Setup Instructions for Ubuntu 10.4 LTS (32-bit)

2013-04-21: I received a lot of mail recently about problems on Debian derived distros about Firefox crashing on CAC insertion. Please see this post about it. I need more information about the problem before I can do anything or recommend a fix. If you have this problem please leave a note on the post indicating your distro name, version, Firefox version, coolkey package version, etc. to help others out.

CAC on Ubuntu 10.4 LTS is cake. In addition to just the CAC install, the commands below will also add multimedia capabilities for closed codecs, DVD playback and install whatever the latest Flash player is in the Ubuntu repository at the moment.

I am aware, by the way, that I update and upgrade through apt-get twice below. That is because Ubuntu 10.4 has a checkered history with its updater in my experience. I assume you are doing this on a freshly installed (unpatched) system and therefore update twice to make sure there's no updates missing to the updater before we proceed. You never know what sort of patch madness will occur over the next year...

Here is the command listing from the prompt:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install ubuntu-restricted-extras flashplugin-nonfree gimp coolkey pcsc-tools
sudo add-apt-repository “deb lucid partner”
sudo apt-get update
sudo apt-get install sun-java6-jre sun-java6-plugin
sudo update-java-alternatives -s java-6-sun

The above commands make no attempt to verify that anything works correctly.

Have your CAC reader connected during all of the above.

You should run the command ”java -version” and see what comes up (should not be “OpenJDK” or anything like that) and probably should stick your CAC in the reader and run pcsc scan” to make sure that coolkey can recognize your card and your reader.

Beyond that you should head back to the main guide if you don't already know the ins and outs of registering Coolkey in Firefox or don't understand what DTS is asking of you when that big setup screen pops up the first time you log in.

And finally... DVD playback:

sudo /usr/share/doc/libdvdread4/

I left DVD playback until last because of the MPAA and RIAA faggotry infecting the rest of the world's math (lulz).

CAC Guide IndexMain zxq9 page

All contents copyright 2010 zxq9.
If you want to reuse something, just contact me.
I'm nice.