Wednesday, February 11, 2009

Install Visio 2003 on Ubuntu 8.10

I can accross this beauty on how to install Visio 2003 onto Ubuntu with Wine. The trick is on the wincfg on the Libraries tab. Make sure you have what is in the picture on the link.

Tuesday, February 10, 2009

Make an ISO image from the command line.

This is a command that I ALWAYS forget... go figure?!?! To make an iso from your CD/DVD place the disk into your drive and make sure it is NOT mounted. Then from a terminal window run the following:

sudo dd if=/dev/cdrom of=Name_Of_ISOFile.iso

where /dev/cdrom id the name of your device. I.e. if the device is a SCSI cd rom change it to

sudo dd if=/dev/scd0 of=Name_Of_ISOFile.iso

Since dd is not specific to CDs, it will also create disk images of floppies, hard drives, zip drives, etc.

To make an ISO from files on your hard drive, create a directory which holds the files you want. Then use the mkisofs command.

mkisofs -o /tmp/MyISO.iso /tmp/DirToMakeIsoFrom/

This results in a file called MyISO.iso in folder /tmp which contains all the files and directories in /tmp/DirToMakeIsoFrom/.

To test that the ISO was created successfully all you need to do is mount it.

sudo mount -o loop -t iso9660 Name_Of_ISOFile.iso /mnt/test

Monday, February 9, 2009

Ubuntu Package Missing GPG Key

So, I got the repos to update from Open Office 2.4 to Open Office 3.0

deb intrepid main

which I added to my /etc/apt/sources.lst

However I kept getting the NO GPG key authentication error when I was trying

sudo apt-get upgrade

I stumbled onto this GEM. Thanks to lvlo.

Firstly run:

gpg --keyserver --recv-keys $KEY

then run:

gpg --export --armor $KEY | sudo apt-key add -

$KEY is the value of the package you are not authenticated for.

For Open Office 3.0 I got 60D11217247D1CFF

This worked for me... Hopefully it works for you also.