- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi. I want to install the 'locale' package on Xeon Phi. How to do this?
It's not like a library, which I can cross-compile and upload it to the board. 'locale' is related to environmental variables and files. How can I install it? Is there a way to add this package to the Linux image of Xeon Phi on the host?
Thanks!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you're referring to the prebuilt glibc-locale-* RPMs provided in the mpss-X.Y.Z-k1om tarball, you should be able to install them into the card's filesystem using the same methods you can use to install a library's RPM--that the RPM contains locale database files instead of shared libraries doesn't change how it's installed. Once you've done that, SSHing to the card and setting the environment variables should also work as expected, as should modifying /etc/bashrc (provided you still login with SSH). If modifying the environment won't work for your situation, modifying programs to use setlocale() from locale.h should also work.

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