NativeCam raspberry Pi 4
08 Jun 2017 02:19 - 10 Jun 2017 12:17 #94274
by FernV
Use NativeCAM as a deb package now was created 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
Open a terminal where it is downloaded (do not rename this file)
Copy this command and run :
That's all there is, run LinuxCNC as you did before
You can now delete old ~/NativeCAM directory
Fern
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
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
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.
08 Jun 2017 11:14 #94285
by gmouer
Replied by gmouer on topic Use NativeCAM as a deb package now
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
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.
08 Jun 2017 12:20 #94292
by grump
Replied by grump on topic Use NativeCAM as a deb package now
Damn, now the Ncam tab has gone blank again.
Please Log in or Create an account to join the conversation.
08 Jun 2017 13:57 #94294
by FernV
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
Replied by FernV on topic Use NativeCAM as a deb package now
Change directory to where your inifile is and restore your inifile backup....the Ncam tab has gone blank again.
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.
08 Jun 2017 14:27 #94296
by grump
Replied by grump on topic Use NativeCAM as a deb package now
Please Log in or Create an account to join the conversation.
08 Jun 2017 15:49 - 08 Jun 2017 15:58 #94301
by FernV
Replied by FernV on topic Use NativeCAM as a deb package now
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
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.
08 Jun 2017 17:12 - 08 Jun 2017 17:15 #94303
by grump
Replied by grump on topic Use NativeCAM as a deb package now
Last edit: 08 Jun 2017 17:15 by grump.
Please Log in or Create an account to join the conversation.
08 Jun 2017 17:52 #94308
by FernV
Replied by FernV on topic Use NativeCAM as a deb package now
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 :
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
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.
09 Jun 2017 11:11 #94329
by Clive S
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?
Replied by Clive S on topic Use NativeCAM as a deb package now
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.
- copy this command (it will setup your repository) :
and enter pwd when askedcurl -s https://packagecloud.io/install/repositories/FernV/NativeCAM/script.deb.sh | sudo bash- 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.
09 Jun 2017 13:33 - 09 Jun 2017 16:59 #94342
by FernV
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
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
Replied by FernV on topic Use NativeCAM as a deb package now
It can be run from any directory.I have done my update from 2.7.8 to 2.7.9
I have tried to run the commandfrom a terminal and I get the error "curl" command not found"curl -s https://packagecloud.io/install/repositories/FernV/NativeCAM/script.deb.sh | sudo bash"
Dose it matter which directory it is run from?
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.225 seconds