Community
cancel
Showing results for 
Search instead for 
Did you mean: 
JBond2
Beginner
1,738 Views

Yocto image not complete - Sudo command not found

Jump to solution

1) Board was successfully setup.

2) the Yocto image was flashed on to the board.

3) the serial communication and wifi were setup with no complication

4) we connected to the board using ssh.

Now, the issue we are facing is that when we try to download certain packages using the "sudo apt-get" command it says not found. Also, we have ran the repo libraries using the opkg update and upgrade by editing the base_feed.conf file. As far as we need the Yocto image runs Linux and as such all the Linux commands such be found by default.

1 Solution
Diego_V_Intel
Employee
378 Views

Hello Team007,

The Yocto image used in Edison doesn't use apt-get as package management command. It uses the opkg command instead. This means that you have to use the opkg command to install packages. In the following thread you will find an opkg repo for Edison, it might be interesting for you:

Additionally, the Yocto image doesn't include all the packages that you would find in a regular Linux distribution, for example Ubuntu. Actually, Yocto is not a Linux distribution itself, but it allows you to create one for you to be used in embedded applications. If you need a package that is not included in the default Yocto image, you could install it (through the opkg package management command). In the repo I mentioned above you will find useful packages. If you need a package that is not listed there, you can post a request for it in that thread.

Regards,

Diego.

View solution in original post

1 Reply
Diego_V_Intel
Employee
379 Views

Hello Team007,

The Yocto image used in Edison doesn't use apt-get as package management command. It uses the opkg command instead. This means that you have to use the opkg command to install packages. In the following thread you will find an opkg repo for Edison, it might be interesting for you:

Additionally, the Yocto image doesn't include all the packages that you would find in a regular Linux distribution, for example Ubuntu. Actually, Yocto is not a Linux distribution itself, but it allows you to create one for you to be used in embedded applications. If you need a package that is not included in the default Yocto image, you could install it (through the opkg package management command). In the repo I mentioned above you will find useful packages. If you need a package that is not listed there, you can post a request for it in that thread.

Regards,

Diego.

View solution in original post

Reply