Support => Installation Help => Topic started by: blowlamp on April 12, 2012, 12:12:07 pm

Title: How do you get CamBam on to Ubuntu?
Post by: blowlamp on April 12, 2012, 12:12:07 pm
I've got Linuxcnc (Ubuntu 10.04) installed on my system and I reckon it makes sense to have the linux version of CamBam alongside it for quick generation of code.

So, I've downloaded the files and that's about as far as I can get, because tarballs, permissions and all the other gobbledygook associated with this operating system is way over my head.

Can anyone please spare the time to do a simple - make that really simple - installation guide to help me and others on our way?


Title: Re: How do you get CamBam on to Ubuntu?
Post by: 10bulls on April 12, 2012, 20:03:02 pm
I'll flesh this out a little more and add it to the main Linux reference page, but in the meantime here are some notes on what I did to get CamBam running on an Ubuntu 10.0.4 (Lucid Lynx) installation (this was installed using the LinuxCNC live CD).

First of all I made sure all my installed packages were up to date. 
You can do this using the 'System - Administration - Update Manager', but I used the following command lines
from a terminal window:
Code: [Select]
sudo apt-get update
sudo apt-get upgrade

If you haven't done this for a while, this step can take a while.

Next we need to install the Mono framework and libraries.

Open the 'Ubuntu Software Center' application.

The default source repositories have out of date copies of Mono, so we need to add another source.

Edit - Software Sources

Click the Other Software tab, then the Add button.

Add the following apt line, then click Add Source:

deb lucid main

Next we need to authenticate this source.

The following link contains more details on using the badgerports repository as well as a link to a key file that
needs to be downloaded:

In the Ubuntu Software Center, Software Sources section, select the Authentication tab, then Import Key File and select the PGP key you downloaded : (directhex.ppa.asc)

Close the software sources window and the packages cache should then rebuild.

Now click 'Get Software' then search for and install the following packages:
(Before you click install, select the More info button.  The version reported should read ... if not then the adding the new source repository didn't work).


That's it for the Software Center for now.

From the CamBam linux page, download the two tar archives.

Open the Ubuntu file manager for the next steps.

Copy the tar archives into your home folder.
Right click each archive and select 'Extract here'

You should now have two new folders under your home directory:

CamBam plus 0.9.8

Use View - Show hidden files (or CTRL + H).  Move or cut and paste the 'CamBam plus 0.9.8' folder into the .config hidden folder.
Note: This is the CamBam system folder.  I'm not too happy with the default location this has ended up, but it was the closest match to the Windows convention for now.

That's pretty much it.  If you have a CamBam license (CamBamPro.lic) file, now would be a good time to copy this into the CamBam0.9.8 folder under your home directory.

Start a terminal window (Applications - Accessories - Terminal).
You should be in your home directory.

Code: [Select]
cd CamBam0.9.8

and then...

Code: [Select]
mono CamBam.exe

The next step is to load the Mesa packages to get OpenGL working and hardware 3D acceleration (hopefully), but I haven't written that up yet.

I hope this helps!

Oh, in 10.0.4 you can do
System - Preferences - Windows
Then set the Movement key to use the Super (Windows Logo) key, rather than Alt.  This will
allow you to use Alt - Dragging for rotation in CamBam.
Title: Re: How do you get CamBam on to Ubuntu?
Post by: 10bulls on April 12, 2012, 20:10:21 pm
One more thing to mention:

From the badgerports news page, it looks like their hosting of the Ubuntu 10.0.4 Mono packages will end some time soon to make way for new Ubuntu versions.  He's already removed the pacakges for earler Ubuntu (Hardy Heron).

I will investigate alternative repositories, but if you are thinking of trying this out some time, sooner might be better than later.

For later versions of Ubuntu, the standard repositories hold the correct versions of the mono framework and libraries (I think they are a little out of date 2.10.5 rather than 2.10.8 but they seem to work OK).
Title: Re: How do you get CamBam on to Ubuntu?
Post by: toplakd on April 15, 2012, 22:19:54 pm
To add your newly installed CamBam to your Ubuntu desktop you should do the following.

1. Open terminal end enter
gnome-desktop-item-edit ~/Desktop/ --create-new

2. When "Create Launcher" window opens, you enter following command to "Command" field:
mono /home/yourusername/CamBam0.9.8/CamBam.exe

Title: Re: How do you get CamBam on to Ubuntu?
Post by: swarfing on April 16, 2012, 06:13:27 am

Just to let you know i got mine working following these instructions in the end.

Many thanks

Title: Re: How do you get CamBam on to Ubuntu?
Post by: blowlamp on April 16, 2012, 19:22:01 pm
Thanks for the extra instructions, Andy.

Well I've somehow managed to get CamBam running on Ubuntu 10.04, but I didn't find it easy!

My system already had mono-runtime installed, but not
libmono-system-windows-forms4.0-cil, libmono-system-web4.0-cil, libmono-system-design4.0-cil or libmono-system-numerics4.0-cil and they would not install with the method given - they seemed to do be doing the right thing, but never quite made it. In the end I did it through the Update Manager (or something  ;D) and used the Search box to find the right files, which then loaded up just fine... Success ;)

When CamBam starts, there are 4-5 error messages that appear in the Terminal window such as #GUID and #Blop (where do they get these words? ???)
However it appears to be working pretty well :)

Thanks for your time and effort.

Title: Re: How do you get CamBam on to Ubuntu?
Post by: submicro on April 25, 2012, 23:54:33 pm
Thanks that really helped. I have it working but still having a few issues. It sometimes refuses to escape from an action such as polyline. The escape nor the enter key will work.  I have to close it out.

Title: Re: How do you get CamBam on to Ubuntu?
Post by: Bob La Londe on October 11, 2013, 01:02:59 am
I just downloaded and installed CB on the Linux box on my desk.  There is only one directory in the archive.  The CB 098 program directory, but not the CB plus 098 directory with everything else.  

Never mind.  I just realized I had to download two archives separately. 

It appears to be working ok.  Tested out the thread mop plugin and the tool bar views plugin.  They seem to work.  Thank goodness for the views toolbar or I would go batty trying to figure out how to rotate the view of work.