# Install gpsd on R13.01

**URL:** <https://forum.legato.io/t/install-gpsd-on-r13-01/6620>\
**Category:** Legato Linux distribution (Yocto project)\
**Created:** [November 3, 2023, 1:00pm UTC](https://forum.legato.io/t/install-gpsd-on-r13-01/6620 "2023-11-03T13:00:43Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [March 1, 2025, 7:23am UTC](https://forum.legato.io/t/install-gpsd-on-r13-01/6620/11 "2025-03-01T07:23:33Z")

</div>

I can make it work with WP76 R17 by the following procedure:

1. follow this document to run python3 in WP76 FW R17

> [@Example on running python3 with boto3 library in WP76 modules](https://forum.legato.io/t/example-on-running-python3-with-boto3-library-in-wp76-modules/6539):
>
> Boto3 is a software development kit (SDK) designed to improve the use of the Python programming language in Amazon Web Services. Here is an example on how to import Boto3 library in python3 with WP76 module R17 firmware:

1. download “python3-gpsd-py3\_0.3.0.bb” from following link and put to ./meta-openembedded/meta-python/recipes-devtools/python

[https://git.openembedded.org/meta-openembedded/tree/meta-python/recipes-devtools/python/python3-gpsd-py3\_0.3.0.bb?h=nanbield](https://git.openembedded.org/meta-openembedded/tree/meta-python/recipes-devtools/python/python3-gpsd-py3_0.3.0.bb?h=nanbield)

1. add the following in ./meta-swi/meta-swi-mdm9x28/recipes-core/images/mdm9x28-image.inc

`IMAGE_INSTALL_append = " python3 python3-gpsd-py3"`

1. make (there will be error as the image is too big to put into yocto cwe image)

2. the gpsd libarary is located here:  
yocto/build\_bin/tmp/work/armv7a-neon-poky-linux-gnueabi/python3-gpsd-py3/0.3.0-r0/image/usr/lib/python3.8/site-packages

use scp to transfer the whole “site-packages” folder to /usr/lib/python3.8 in module

1. also we need to use scp to transfer the followings to /usr/lib/python3.8 in module:

yocto/build\_bin/tmp/work/armv7a-neon-poky-linux-gnueabi/python3/3.8.13-r0/image/usr/lib/python3.8/lib-dynload  
yocto/build\_bin/tmp/work/armv7a-neon-poky-linux-gnueabi/python3/3.8.13-r0/image/usr/lib/python3.8/collections  
yocto/build\_bin/tmp/work/armv7a-neon-poky-linux-gnueabi/python3/3.8.13-r0/image/usr/lib/python3.8/json  
yocto/build\_bin/tmp/work/armv7a-neon-poky-linux-gnueabi/python3/3.8.13-r0/image/usr/lib/python3.8/logging

1. now gpsd library can be imported in python3:

```auto
root@fx30:~# python3 --version
Python 3.8.13
root@fx30:~# python3
Python 3.8.13 (default, Mar 16 2022, 13:02:57)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import gpsd
>>>

```

---

_[View the full topic](https://forum.legato.io/t/install-gpsd-on-r13-01/6620)._
