Hi!

For a long time, i used the default UHD installation that ships with Ubuntu 
which is version 4.1.0.5.3 and I wanted to upgrade it (e.g. 4.9.0.0). It seems 
that the best option is using the next commands:\
\
sudo add-apt-repository ppa:ettusresearch/uhd\
sudo apt-get update\
sudo apt-get install libuhd-dev uhd-host

While this is very convenient, I’d like to install the exact same UHD version 
across differents devices and even in a devcontainer. The problem is that **PPA 
builds for Jammy and other versions change quickly** (e.g. \~jammy1, \~jammy2, 
\~jammy3), so I’m worried this could break reproducibility over time. I need to 
match my N310 and X410 images with a stable UHD version.

I also tried **building from source**, which works:\
\
git clone <https://github.com/EttusResearch/uhd.git>

cd uhd

git checkout v4.9.0.0

cd host

mkdir build && cd build

cmake ..

make -j$(nproc)

sudo make install

sudo ldconfig

However, this approach feels too heavy to repeat frequently, and I additionally 
needed the Python API. 

After installing, **import uhd** initially failed:\
\
>>> import uhd

Traceback (most recent call last):

  File "<stdin>", line 1, in <module>

ModuleNotFoundError: No module named 'uhd'

Could you recommend any other way to achieve this goal? I’m fine with using a 
version other than 4.9.0.0, but I’d like to test the improvements you 
introduced over my current version, especially regarding RFNoC.

Best Regards,

Álvaro
_______________________________________________
USRP-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to