NativeCam raspberry Pi 4

More
08 Jun 2017 02:19 - 10 Jun 2017 12:17 #94274 by FernV
Hi,

LinuxCNC has released version 2.7.9 that fully support applications like NativeCAM as deb package.

If your version is updated to 2.7.9, you should now change your setup to use the deb with automatic updates
Download this script that will do everything for you, setting up your repository and install NativeCAM

File Attachment:

File Name: ncam_debsetup.txt
File Size:5 KB

Open a terminal where it is downloaded (do not rename this file)
Copy this command and run :
sudo bash ncam_debsetup.txt

That's all there is, run LinuxCNC as you did before

You can now delete old ~/NativeCAM directory

Fern
Attachments:
Last edit: 10 Jun 2017 12:17 by FernV. Reason: Replaced commands with a single sh script

Please Log in or Create an account to join the conversation.

More
08 Jun 2017 11:14 #94285 by gmouer
Hi Fern,
I will follow your instructions this morning when I go into the shop. I do have a question: For future automatic deb updates, do I have to add that location to my repository lists in Debian? I am not very proficient with linux but it appears NativeCam code is stored at a different repository url than linuxcnc and wouldn't be found without adding it to the repository list.

Thanks.
George

Please Log in or Create an account to join the conversation.

More
08 Jun 2017 12:20 #94292 by grump
Damn, now the Ncam tab has gone blank again.

Please Log in or Create an account to join the conversation.

More
08 Jun 2017 13:57 #94294 by FernV

...the Ncam tab has gone blank again.

Change directory to where your inifile is and restore your inifile backup.
Then : ncam -t -i (inifilename)
This is the fastest way to re-initialize it.

ncam.ui is in a new directory and it should be reflected in your inifile

Fern

P.S. Your repository has been updated

Please Log in or Create an account to join the conversation.

More
08 Jun 2017 14:27 #94296 by grump
I didn't want to do this just when it was all sorted and working great after all the aggro we had to get it working.

Just a note that I am still on previous version after updating everything, tell me it's me doing it wrong again.



Attachments:

Please Log in or Create an account to join the conversation.

More
08 Jun 2017 15:49 - 08 Jun 2017 15:58 #94301 by FernV
Not a good idea to revert to pre-release version but if you really want to do it, be aware that nondeb_setup.py is not part of NativeCAM github anymore and I will not make it possible in the future to use as a non-deb.

You make me giving you support much more complicated.

First, issue the same command : ./nondeb_setup.py
Then I need to see your inifile

Fern
Last edit: 08 Jun 2017 15:58 by FernV.

Please Log in or Create an account to join the conversation.

More
08 Jun 2017 17:12 - 08 Jun 2017 17:15 #94303 by grump
Ok so I'll just wipe the Hdd and start again. Again.
It's not me reverting it's the git won't give me 2.9 nor does synaptic.
I give in.

Attachments:
Last edit: 08 Jun 2017 17:15 by grump.

Please Log in or Create an account to join the conversation.

More
08 Jun 2017 17:52 #94308 by FernV
If you have not erased your HDD yet, don't.

I had a version for development that was not in continuity with any other

Here what I did and succeeded the first time

The information you need is here :
http://linuxcnc.org/docs/html/getting-started/getting-linuxcnc.html#_installing_on_debian_wheezy_with_preempt_rt_kernel

but I did not follow all steps and I did not reboot at all.

First in Synaptic remove completely linuxcnc-uspace,
Then I followed only steps 7 to 10

Voila, I had version 2.7.9 installed

I was then able to install NativeCAM as described in the first post

Fern

Please Log in or Create an account to join the conversation.

More
09 Jun 2017 11:11 #94329 by Clive S

Hi,

LinuxCNC has released version 2.7.9 that fully support applications like NativeCAM as deb package.

If your version is updated to 2.7.9, you should now change your setup to use the deb with automatic updates
Follow these simple steps.
  1. copy this command (it will setup your repository) :
    curl -s https://packagecloud.io/install/repositories/FernV/NativeCAM/script.deb.sh | sudo bash
    and enter pwd when asked
  2. copy this command : sudo apt-get install nativecam
    and enter pwd when asked

That's all there is
You can now delete ~/NativeCAM directory

Fern


First a big thank you to Fern for a great package.

I have done my update from 2.7.8 to 2.7.9
I have tried to run the command "curl -s packagecloud.io/install/repositories/Fer...iveCAM/script.deb.sh | sudo bash" from a terminal and I get the error "curl" command not found

Dose it matter which directory it is run from?

Please Log in or Create an account to join the conversation.

More
09 Jun 2017 13:33 - 09 Jun 2017 16:59 #94342 by FernV

I have done my update from 2.7.8 to 2.7.9
I have tried to run the command
"curl -s https://packagecloud.io/install/repositories/FernV/NativeCAM/script.deb.sh | sudo bash"
from a terminal and I get the error "curl" command not found

Dose it matter which directory it is run from?

It can be run from any directory.

It seems not installed in your distribution, what is it ?

Your can try to locate it with : "locate curl"
usually you should have "/usr/bin/curl" in the list

then try "man curl"

I do not know if another command can be used to replace it at this moment

Fern

P.S. maybe this command can install it
sudo apt-get install -q -y curl

Btw, script.deb.sh should install curl if not found but the script can not be imported by curl, I will check with packagecloud.io
Last edit: 09 Jun 2017 16:59 by FernV.

Please Log in or Create an account to join the conversation.

Time to create page: 0.123 seconds
Powered by Kunena Forum