- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
I want to install a python library on my Edison. The library says to install dependencies using:
$ sudo apt-get install cmake build-essential python-dev bluetooth libbluetooth-dev libboost-python-dev libboost-thread-dev
There's no apt-get in Yocto. I know there's something called opkg, but I'm not sure how to configure it. How would I install these dependencies on Yocto?
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hello SiddRajput,
How you install packages would depend on what you'd like to install. I mean, if the package is on the opkg repos for Edison, then it the simpler procedure would be for you to set the repo if it's not set up already and install it with opkg, as you mentioned. But if the package is not on the repos, then you have two main options, build the package from source or build your own image that includes the package. Of the two options mentioned, the one that is usually simpler is to build the package from source, however, there are exceptions and in those exceptions (I can't remember any at the time, but I have definitely experienced them) it is a lot easier to build the package into the image using the BSP.
If you'd like to learn more about how to set up the repos or how to add packages into the image, then I'd suggest you read the following documents:
http://alextgalileo.altervista.org/edison-package-repo-configuration-instructions.html http://alextgalileo.altervista.org/edison-package-repo-configuration-instructions.html
http://www.intel.com/content/www/us/en/support/boards-and-kits/000005616.html http://www.intel.com/content/www/us/en/support/boards-and-kits/000005616.html
Peter.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi.
You should install python and the rest dependencies on the host system to build target image!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hello SiddRajput,
How you install packages would depend on what you'd like to install. I mean, if the package is on the opkg repos for Edison, then it the simpler procedure would be for you to set the repo if it's not set up already and install it with opkg, as you mentioned. But if the package is not on the repos, then you have two main options, build the package from source or build your own image that includes the package. Of the two options mentioned, the one that is usually simpler is to build the package from source, however, there are exceptions and in those exceptions (I can't remember any at the time, but I have definitely experienced them) it is a lot easier to build the package into the image using the BSP.
If you'd like to learn more about how to set up the repos or how to add packages into the image, then I'd suggest you read the following documents:
http://alextgalileo.altervista.org/edison-package-repo-configuration-instructions.html http://alextgalileo.altervista.org/edison-package-repo-configuration-instructions.html
http://www.intel.com/content/www/us/en/support/boards-and-kits/000005616.html http://www.intel.com/content/www/us/en/support/boards-and-kits/000005616.html
Peter.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page