Monday, October 22, 2018

software installation - Error get while installing ardupilot on virtualbox ubuntu 14.04.3


I want to implement ardupilot. I installed ubuntu-14.04.3-desktop-64 bit version via VirtualBox on windows8.1 on D drive and username is jaydeep.


Still this all fine. Now as per above link the first thing is, Download ardupilot, so I open terminal in ubuntu and run (without "sudo apt-get install" its gives error and suggest to use this, so append this code before actual command )


sudo apt-get install git clone git://github.com/diydrones/ardupilot.git


jaydeep@jaydeep-VirtualBox:~$ sudo apt-get install git clone
git://github.com/diydrones/ardupilot.git


[sudo] password for jaydeep:


Reading package lists... Done Building dependency tree Reading
state information... Done E: Unable to locate package clone E: Unable
to locate package git E: Couldn't find any package by regex
'git://github.com/diydrones'


jaydeep@jaydeep-VirtualBox:~$



I can not figure it out. So how to resolve the error.



Well, the command that you have typed has a little typo. Here's the command to install git:


sudo apt-get install git

And to clone the git repository, you have to type the command:


git clone git://github.com/diydrones/ardupilot.git

EDIT: If you want to combine the commands then, type:


sudo apt-get install git && git clone git://github.com/diydrones/ardupilot.git

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...