Missing command on installing_on_ubuntu_precise?

More
10 years 9 months ago #68694 by me_cnc
Greetings,

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 or Create an account to join the conversation.

More
10 years 9 months ago - 10 years 9 months ago #68696 by ArcEye

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
Last edit: 10 years 9 months ago by ArcEye.

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

More
10 years 9 months ago #68718 by me_cnc
Thanks for the reply, much appreciated.

I'm new to the community, where does one submit a bug report for this sort of thing?

Thanks,
Marc

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

More
10 years 9 months ago #68720 by BigJohnT
Or it could read "open the Synaptic Package Manager" and add the deb...

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 or Create an account to join the conversation.

More
10 years 9 months ago #68740 by ArcEye

Or it could read "open the Synaptic Package Manager" and add the deb...


Yes, or that too :) I never tend to think of doing things in Synaptic

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

More
10 years 9 months ago #68762 by me_cnc
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?

Thanks,
Marc

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

Time to create page: 0.335 seconds
Powered by Kunena Forum