- Posts: 3
- Thank you received: 0
Missing command on installing_on_ubuntu_precise?
While working through the instructions on to install linuxcnc on Ubuntu Precise located here:
linuxcnc.org/docs/html/getting-started/g...ng_on_ubuntu_precise
Step 4 says:
Add a new apt source
deb linuxcnc.org/ precise base 2.7-rtai
This returns the error
deb command not found
Shouldn't the command be something like:
sudo add-apt-repository " linuxcnc.org/ precise base 2.7-rtai"
Thanks,
Marc
Please Log in to join the conversation.
Shouldn't the command be something like:
sudo add-apt-repository "linuxcnc.org/ precise base 2.7-rtai"
No, the docs just assume too much knowledge
Should read something like:
Add a new apt source to the /etc/apt/sources.list file with
echo "deb linuxcnc.org/ precise base 2.7-rtai" >> /etc/apt/sources.list
or by opening /etc/apt/sources.list in an editor and inserting manually.
Your solution would probably work except that add-apt-repository is not a default package on most distros, so would have to be installed specially.
The above will work wherever.
regards
Please Log in to join the conversation.
I'm new to the community, where does one submit a bug report for this sort of thing?
Thanks,
Marc
Please Log in to join the conversation.
Software bugs go to github.com/LinuxCNC/linuxcnc/issues . I fix most document errors as I read about them... when I don't forget.
JT
Please Log in to join the conversation.
Or it could read "open the Synaptic Package Manager" and add the deb...
Yes, or that too
Please Log in to join the conversation.
>>sudo echo "deb linuxcnc.org/ precise base 2.7-rtai" >> /etc/apt/sources.list
>>sudo apt-get update
E: Malformed line 9 in source list /etc/apt/sources.list (URI parse)
E: The list of sources could not be read.
I spent sometime looking but could not find the sources themselves. What is the URL for the deb sources to add to /etc/apt/sources.list?
Thanks,
Marc
Please Log in to join the conversation.
www.linuxcnc.org/dists/precise/
You probably need to remove the base section so it reads
http://deb linuxcnc.org/ precise 2.7-rtai
[strike]There are normally only 2 arguments suite and components[/strike]
EDIT:
Actually not true, ignore, see next post
Please Log in to join the conversation.
me_cnc wrote: Still having a problem, the deb URL needs to be modified.
>>sudo echo "deb linuxcnc.org/ precise base 2.7-rtai" >> /etc/apt/sources.list
>>sudo apt-get update
E: Malformed line 9 in source list /etc/apt/sources.list (URI parse)
E: The list of sources could not be read.
I spent sometime looking but could not find the sources themselves. What is the URL for the deb sources to add to /etc/apt/sources.list?
Suddenly realised the whole confusion was being caused by this forum, which removes the http:// section
from what it recognises as being a URL in the body text
What you want on a line in your sources.list is:
This works even when added to a Jessie amd64 system, insofar as fetching the Packages and Release files anyway
regards
Please Log in to join the conversation.
