First, make a folder to hold the repository.
cd $HOME mkdir workarea-uhd cd workarea-uhd
Next, clone the repository and change into the cloned directory.
git clone https://github.com/EttusResearch/uhd cd uhd
Next,
git tag -l
Example truncated output of git tag -l
:
$ git tag -l ... release_003_009_004 release_003_009_005 release_003_010_000_000
Note: As of UHD Version 3.10.0.0, the versioning scheme has changed to be a quadruplet format. Each element and version will follow the format
After identifying the version and corresponding release tag you need, check it out:
# Example: For UHD 3.9.5: git checkout release_003_009_005
# Example: For UHD 3.10.1.0: git checkout release_003_010_001_000
Next, create a build folder within the repository.
cd host mkdir build cd build
Next, invoke CMake to create the Makefiles.
cmake ../
Next, run Make to build UHD.
make
Next, you can optionally run some basic tests to verify that the build process completed properly.
make test
Next, install UHD, using the default install prefix, which will install UHD under the /
sudo make install
Next, update the system's shared library cache.
sudo ldconfig
Finally, make sure that LD_LIBRARY_PATH
$HOME/.bashrc
file:
export LD_LIBRARY_PATH=/usr/local/lib
On Fedora 22/23/24/25 you will need to set LD_LIBRARY_PATH
/usr/local/lib64
export LD_LIBRARY_PATH=/usr/local/lib64
If LD_LIBRARY_PATH
$HOME/.bashrc
$HOME/.bashrc
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
For Fedora 21/22/23/24/25
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib64