# Can't get LimeSDR mini / Soapy working Ubuntu 19

**URL:** <https://discourse.myriadrf.org/t/cant-get-limesdr-mini-soapy-working-ubuntu-19/5816>\
**Category:** LimeSDR\
**Created:** [1 March 2020 22:43 UTC](https://discourse.myriadrf.org/t/cant-get-limesdr-mini-soapy-working-ubuntu-19/5816 "2020-03-01T22:43:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cal70](https://yyz2.discourse-cdn.com/flex034/user_avatar/discourse.myriadrf.org/cal70/32/2714_2.png) [@cal70](https://discourse.myriadrf.org/u/cal70)\
**Post date:** [1 March 2020 22:43 UTC](https://discourse.myriadrf.org/t/cant-get-limesdr-mini-soapy-working-ubuntu-19/5816/1 "2020-03-01T22:43:09Z")

</div>

I have had the system working a while back - been away from it for about a yr. Now re-install a clean Ubuntu, install the drivers / etc (Soapy, LimeSuite, …) and trying to get up and running. BUT gqrx, cubic, and others don’t see the device??

SoapySDRUtil --info

 ![image](https://canada1.discourse-cdn.com/flex034/uploads/myriadrf/original/2X/a/a4a67fdc5f88fea1e90c670edd78c40f1fd7edd8.png)

I have followed the details on the forum, or at least the ones that I have found. BUT I can’t for the life of me figure it out. ☹ REALLY could use a nudge in the right direction pls.

Cheers!

---

<div class="post-metadata">

**Author:** ![jonah1](https://avatars.discourse-cdn.com/v4/letter/j/bc79bd/32.png) [@jonah1](https://discourse.myriadrf.org/u/jonah1)\
**Post date:** [2 March 2020 07:57 UTC](https://discourse.myriadrf.org/t/cant-get-limesdr-mini-soapy-working-ubuntu-19/5816/2 "2020-03-02T07:57:20Z")

</div>

I am not sure what exactly the problem is, but yiu have to install Soapy and Lime in the correct order. Maybe this is the problem. I wrote a simple bash script for it, maybe you can try it with a fresh install:

#!/bin/sh  
if [“$(id -u)” == “0”]; then  
echo “This script must be run as normal User” 1\>&2  
exit 1  
fi

user="$USER"  
sudo add-apt-repository -y ppa:myriadrf/drivers  
sudo apt update -y  
sudo apt upgrade -y  
sudo apt install g++ -y  
sudo apt install libcurl4-openssl-dev -y  
sudo apt install libssl-dev -y  
sudo apt install libsqlite3-dev -y  
sudo apt install libboost-program-options-dev -y  
sudo apt install zlib1g-dev -y  
sudo apt install plink -y  
sudo apt install libpython-dev -y  
sudo apt install python-numpy -y  
sudo apt install swig -y  
sudo apt install libjsoncpp-dev -y  
sudo apt install libusb-1.0-0-dev -y  
sudo apt install git -y  
sudo apt install cmake -y  
sudo apt install build-essential -y  
sudo apt install libmbedtls-dev -y  
sudo apt install libconfig+±dev -y  
sudo apt install libsctp-dev -y  
sudo apt install libfftw3-dev -y  
sudo apt install libi2c-dev -y  
sudo apt install libboost-all-dev -y

if [-d /home/$user/SoapySDR]; then  
echo " - SoapySDR already exists. Skipping it."

else  
git clone [https://github.com/pothosware/SoapySDR.git](https://github.com/pothosware/SoapySDR.git)  
cd SoapySDR || exit  
#git pull origin master  
git pull [https://github.com/pothosware/SoapySDR](https://github.com/pothosware/SoapySDR) soapy-sdr-0.7.1  
git checkout soapy-sdr-0.7.1  
mkdir build  
cd build || exit  
cmake …  
make -j4  
sudo make install  
sudo ldconfig #needed on debian systems  
cd /home/$user/ || exit  
fi

if [-d /home/$user/LimeSuite]; then  
echo " - LimeSuite already exists. Skipping it."

else  
sudo apt install libwxgtk3.0-dev -y  
sudo apt install freeglut3-dev -y

git clone [https://github.com/myriadrf/LimeSuite.git](https://github.com/myriadrf/LimeSuite.git)  
cd LimeSuite || exit  
git checkout stable  
mkdir builddir && cd builddir || exit  
cmake …/  
make -j4  
sudo make install  
sudo ldconfig  
cd /home/$user/LimeSuite/udev-rules || exit  
chmod +x install.sh  
sudo ./install.sh  
cd /home/$user/ || exit  
fi

---

<div class="post-metadata">

**Author:** ![JanHolm](https://avatars.discourse-cdn.com/v4/letter/j/76d3ee/32.png) [@JanHolm](https://discourse.myriadrf.org/u/JanHolm)\
**Post date:** [10 March 2020 13:08 UTC](https://discourse.myriadrf.org/t/cant-get-limesdr-mini-soapy-working-ubuntu-19/5816/3 "2020-03-10T13:08:30Z")

</div>

I have installed Soapy and Lime on a “clean” Mint 19.3 (Ubuntu 18.04) with this script and I thanks you very much for providing it.

I have found the following issues using it:

- script must be run from home-dir (/home/$user)
- when script is taken with copy/paste from web-page, I got an error in the two cmake-statements (change to … to … or …/)
- script can’t be rerun without deleting Soapy and Lime-dir (/home/$user/SoapySDR and /home/$user/LimeSuite)

73 OZ1OY, Jan
