![]() ![]() ![]() The following commands install a udev rule so that non-root users may access the device. On Linux, udev handles USB plug and unplug events. usr/local), the make install command does not require sudo privileges. Note: Since this installation is not being installed to a system level directory (e.g. ![]() $ cmake -DCMAKE_INSTALL_PREFIX=~/workarea/installs. Note: The CMake parameter CMAKE_INSTALL_PREFIX is added in the configuration step, which points to our desired installation prefix of ~/workarea/installs. Update the git submodules after checking out the tagged branch: To identify git tags, either look at /ettusresearch/uhd or run $ git clone -recursive $ cd ~/workarea/src/uhd We will target an arbitary directory ~/workarea/installs for the installation prefix. This will be used to clone the sources and build UHD and GNU Radio. In this step we will create a workarea directory. Installing Dependencies sudo apt-get -y install git swig cmake doxygen build-essential libboost-all-dev libtool libusb-1.0-0 libusb-1.0-0-dev libudev-dev libncurses5-dev libfftw3-bin libfftw3-dev libfftw3-doc libcppunit-1.14-0 libcppunit-dev libcppunit-doc ncurses-bin cpufrequtils python-numpy python-numpy-doc python-numpy-dbg python-scipy python-docutils qt4-bin-dbg qt4-default qt4-doc libqt4-dev libqt4-dev-bin python-qt4 python-qt4-dbg python-qt4-dev python-qt4-doc python-qt4-doc libqwt6abi1 libfftw3-bin libfftw3-dev libfftw3-doc ncurses-bin libncurses5 libncurses5-dev libncurses5-dbg libfontconfig1-dev libxrender-dev libpulse-dev swig g++ automake autoconf libtool python-dev libfftw3-dev libcppunit-dev libboost-all-dev libusb-dev libusb-1.0-0-dev fort77 libsdl1.2-dev python-wxgtk3.0 git libqt4-dev python-numpy ccache python-opengl libgsl-dev python-cheetah python-mako python-lxml doxygen qt4-default qt4-dev-tools libusb-1.0-0-dev libqwtplot3d-qt5-dev pyqt4-dev-tools python-qwt5-qt4 cmake git wget libxi-dev gtk2-engines-pixbuf r-base-dev python-tk liborc-0.4-0 liborc-0.4-dev libasound2-dev python-gtk2 libzmq3-dev libzmq5 python-requests python-sphinx libcomedi-dev python-zmq libqwt-dev libqwt6abi1 python-six libgps-dev libgps23 gpsd gpsd-clients python-gps python-setuptoolsÄependencies for other operating systems including Ubuntu 14.x to 17.x and Fedora can be found here: (UHD_and_GNU_Radio)_on_Linux#Update_and_Install_dependencies Create Workarea Directory and Installation Directory ![]() Update and Install Dependencies Update your OS sudo apt update Lrwxrwxrwx 1 root root 4 Apr 2 22:00 /bin/sh -> bash* Choose No when prompted by the first command and the second command will validate the that Bash will be used. It is recommended to set the shell to Bash by running the following commands in the terminal. Ubuntu) Dash is set as default shell, which may cause some issues. Switch your default shell on the host computer from Dash to Bash. Other versions of Ubuntu and Linux will be similar in process. This application note uses Ubuntu 18.x for an example. This is often useful if you desire to have multiple UHD and GNU Radio installations on the same system. This application note will cover the details of installing UHD and GNU Radio from source, into a local directory on Linux systems. This application note provides step-by-step instructions on building and installing UHD and GNU Radio to a local directory. 7 Create Workarea Directory and Installation Directory. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |