Create a file called /etc/apt/sources.list.d/linux
- captain chaos
- Offline
- Premium Member
-
Less
More
- Posts: 107
- Thank you received: 3
08 Jul 2014 17:25 - 08 Jul 2014 17:28 #48524
by captain chaos
Create a file called /etc/apt/sources.list.d/linux was created by captain chaos
Hi
I have a spare old computer and decided to put it to use as a trial 12.04 precise with LinuxCNC 2.6.
I can't get around "Create a file called /etc/apt/sources.list.d/linuxcnc.list." I've tried the followingterminal just hangs
andpermission denied
I'm not reel good at this Linux thing and can't figure out how to get root permissions.
After a lot of 'DuckDuckGoing' all I could find was this stackoverflow.com/questions/10409235/cre...c-apt-sources-list-d
A little pointer in the right direction would be greatly appreciated
All the update and upgrade have been done.
I have used 12.04 for a couple of years and run my gantry router on 10.4 so I thought I would get in on the ground floor with 12.04 and 2.6 with a bit of practice and testing.
Maybe help with a little trial and testing, though I may be more of a hindrance than help.
I have a spare old computer and decided to put it to use as a trial 12.04 precise with LinuxCNC 2.6.
![:woohoo: :woohoo:](/media/kunena/emoticons/w00t.png)
sudo vi /etc/apt/sources.list.d/linuxcnc.list
and
sudo echo "deb http://linuxcnc.org precise base" > /etc/apt/sources.list.d/linuxcnc.list
![:blush: :blush:](/media/kunena/emoticons/blush.png)
After a lot of 'DuckDuckGoing' all I could find was this stackoverflow.com/questions/10409235/cre...c-apt-sources-list-d
A little pointer in the right direction would be greatly appreciated
![:) :)](/media/kunena/emoticons/smile.png)
I have used 12.04 for a couple of years and run my gantry router on 10.4 so I thought I would get in on the ground floor with 12.04 and 2.6 with a bit of practice and testing.
Maybe help with a little trial and testing, though I may be more of a hindrance than help.
Last edit: 08 Jul 2014 17:28 by captain chaos. Reason: added space omitted
Please Log in or Create an account to join the conversation.
08 Jul 2014 17:49 - 08 Jul 2014 17:50 #48527
by ArcEye
Replied by ArcEye on topic Create a file called /etc/apt/sources.list.d/linux
Hi
Open a terminal, enter sudo gedit
What happens, are you asked for a password?
Enter your password and you should have gedit open with root privilages.
Type deb linuxcnc.org precise base, carraige return and then File>Save-As /etc/apt/sources.list.d/linuxcnc.list
Ubuntu does not enable the root account by default and gives users sudo access
If you don't have sudo access, something went wrong on the install and you are going to have to enable root access to get it, but that is another story.
regards
Open a terminal, enter sudo gedit
What happens, are you asked for a password?
Enter your password and you should have gedit open with root privilages.
Type deb linuxcnc.org precise base, carraige return and then File>Save-As /etc/apt/sources.list.d/linuxcnc.list
Ubuntu does not enable the root account by default and gives users sudo access
If you don't have sudo access, something went wrong on the install and you are going to have to enable root access to get it, but that is another story.
regards
Last edit: 08 Jul 2014 17:50 by ArcEye.
Please Log in or Create an account to join the conversation.
- captain chaos
- Offline
- Premium Member
-
Less
More
- Posts: 107
- Thank you received: 3
09 Jul 2014 06:20 #48553
by captain chaos
Replied by captain chaos on topic Create a file called /etc/apt/sources.list.d/linux
Thanks ArcEye.
< sudo gedit> worked great all good
Yes, on entering password I'm told I have no superuser privileges.What happens, are you asked for a password?
< sudo gedit> worked great all good
![:whistle: :whistle:](/media/kunena/emoticons/whistling.png)
Please Log in or Create an account to join the conversation.
- captain chaos
- Offline
- Premium Member
-
Less
More
- Posts: 107
- Thank you received: 3
09 Jul 2014 06:56 #48554
by captain chaos
Replied by captain chaos on topic Create a file called /etc/apt/sources.list.d/linux
Ok sorry next problem
seems it needs the http://part in deb linuxcnc.org precise base
when I type http:// into that line ie:- deb linuxcnc.org precise base
the http:// part shows up in draft but not in the post which I suppose is what happened in your post.
Anyway minors, how do I go about editing the file /etc/apt/sources.list.d/linuxcnc.list
Thanks
Type deb linuxcnc.org precise base, carraige return and then File>Save-As /etc/apt/sources.list.d/linuxcnc.list
seems it needs the http://part in deb linuxcnc.org precise base
when I type http:// into that line ie:- deb linuxcnc.org precise base
the http:// part shows up in draft but not in the post which I suppose is what happened in your post.
Anyway minors, how do I go about editing the file /etc/apt/sources.list.d/linuxcnc.list
Thanks
Please Log in or Create an account to join the conversation.
09 Jul 2014 13:52 #48561
by ArcEye
I think you have the required editor already
Replied by ArcEye on topic Create a file called /etc/apt/sources.list.d/linux
Anyway minors, how do I go about editing the file /etc/apt/sources.list.d/linuxcnc.list
I think you have the required editor already
< sudo gedit> worked great all good
The following user(s) said Thank You: captain chaos
Please Log in or Create an account to join the conversation.
- captain chaos
- Offline
- Premium Member
-
Less
More
- Posts: 107
- Thank you received: 3
09 Jul 2014 14:08 - 10 Jul 2014 06:18 #48563
by captain chaos
Replied by captain chaos on topic Create a file called /etc/apt/sources.list.d/linux
you're so right gedit would'nt let me edit, but now on reboot it does, silly me for not thinking of rebooting ![:blush: :blush:](/media/kunena/emoticons/blush.png)
Thanks again.
![:blush: :blush:](/media/kunena/emoticons/blush.png)
Thanks again.
Last edit: 10 Jul 2014 06:18 by captain chaos. Reason: change "it6" to "it"
Please Log in or Create an account to join the conversation.
Time to create page: 0.081 seconds