Tags » Ubuntu.

How to compile and install both CUDA 6.5 and truecrack 3.5 in Ubuntu 14.04 LTS 64-bit using a bash script

How to compile and install CUDA 6.5 and truecrack 3.5 in Ubuntu 14.04 LTS 64-bit using a bash script:

# Required software: CUDA 6.5, in order to be able to compile truecrack 3.5 source code afterwards WITH Nvidia graphics card support
# Required GNU/Linux distribution: Ubuntu 14.04 LTS 64-bit
# Required free disk space: at least 5 gigabytes free disk space on your root (/) partition
sudo apt-get update
sudo apt-get install unp build-essential checkinstall wget
# Install cuda 6.5 first:
cd /tmp
rm cuda-downloads
wget --no-check-certificate https://developer.nvidia.com/cuda-downloads
URL=`grep 1404 cuda-downloads |grep x86_64|head -n 1|cut -d"\"" -f4`
VERSION=`grep 1404 cuda-downloads |grep x86_64|head -n 1|cut -d"\"" -f4|cut -d"_" -f3|cut -d"-" -f1`
wget `echo $URL`
sudo dpkg -i cuda*.deb
sudo apt-get update
sudo apt-get install cuda
export PATH=/usr/local/cuda-`echo $VERSION`/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda-`echo $VERSION`/lib64:$LD_LIBRARY_PATH
echo "export PATH=/usr/local/cuda-`echo $VERSION`/bin:$PATH" >> ~/.bashrc
echo "export LD_LIBRARY_PATH=/usr/local/cuda-`echo $VERSION`/lib64:$LD_LIBRARY_PATH" >> ~/.bashrc
cd /usr/local/cuda-`echo $VERSION`/samples
# Next compilation step will take at least 30 minutes:
# Have a cup of coffee :-)
sudo make
# Check if you have a graphics card that supports CUDA :
/usr/local/cuda-`echo $VERSION`/samples/bin/x86_64/linux/release/deviceQuery
/usr/local/cuda-`echo $VERSION`/samples/bin/x86_64/linux/release/bandwidthTest
# Then install truecrack v3.5:
cd /tmp
rm list
rm truecrack*
wget --no-check-certificate https://code.google.com/p/truecrack/downloads/list
FILENAME=`grep gz list|head -n 1 | cut -d"\"" -f2|cut -d"/" -f5`
wget --no-check-certificate truecrack.googlecode.com/files/`echo $FILENAME`
unp truecrack*
cd true*
# use following ./configure line , if you do NOT have an Nvidia graphics card that supports CUDA:
sudo ./configure --enable-cpu
# use following ./configure line instead, if you DO have an Nvidia graphics card that supports CUDA:
# sudo ./configure 
sudo make
sudo checkinstall
# Before building and installing the truecrack package, make sure to first set the 'Version' value to 3.5 during checkinstall configuration
# checkinstall will fail to build the package if you do not set a valid Version first
# Verify that truecrack is correctly installed:
apt-cache show truecrack
#Package: truecrack
#Status: install ok installed
#Priority: extra
#Section: checkinstall
#Installed-Size: 276
#Maintainer: root
#Architecture: amd64
#Version: 3.5-1
#Provides: truecrack
#Description: Package created with checkinstall 1.6.2
#Description-md5: 556b8d22567101c7733f37ce6557412e
truecrack
Ubuntu

Sending emails from command-line using Gmail & SSMTP

I wanted to send email reports from my computers. For that, the easiest is to create additional Gmail account (so your private email is safe) and… 99 more words

General

OpenStack Summit Vancouver: Ubuntu OpenStack team presentations

Amongst the numerous submissions for speaking slots at the OpenStack Summit in Vancouver in May, you’ll find a select number of submissions from my team: 436 more words

Ubuntu

Memasang Krita di Kubuntu 14.04

Krita merupakan perangkat lunak pengolah gambar opensource yang didesain dengan penempatan menu dan tool mirip dengan sotosop. Krita juga bisa sebagai alternatif bagi yang terlalu bingung menggunakan… 79 more words

Linux

Placing script output in a dialog box with Zenity

From Wikipedia:

Zenity is free software and a cross-platform program that allows the execution of GTK+ dialog boxes in command-line and shell scripts.

Scripts run from the command line generally by default print results to the command line.

209 more words
Ubuntu

How to install Skype 4.3 on ubuntu or Linux platfrom ?

Install From Ubuntu Software Center

As of August 2, 2014, you can now install Skype 4.3 directly from the Ubuntu Software Center.

To do this, you must first enable the Canonical Partner Repository, using the following steps (based on steps provided by OMG! 205 more words

News

How to compile and install xinvest 2.6 in Ubuntu 14.04 LTS 64-bit

cd
sudo apt-get update
sudo apt-get install checkinstall build-essential unp libmotif-dev libxpm-dev xorg-dev
wget http://distro.ibiblio.org/amigolinux/download/XApps/xinvest-2.6/xinvest-2.6.tar.bz2
unp xinvest-2.6.tar.bz2
cd xinvest-2.6
sudo mkdir /usr/X11R6
sudo ln -s /usr/include/X11 /usr/X11R6/include
sudo make
sudo ln -s ~/xinvest-2.6/Xinvest /usr/bin/Xinvest
Ubuntu