first install uhd and gnuradio. you can reference this to install uhd and gnuradio:

http://zhixun-wireless.top/install-uhd-and-gnuradio-on-ubuntu-1604

then install gr-osmocom. just run:

git clone git://git.osmocom.org/gr-osmosdr.git
cd gr-osmosdr/
git checkout gr3.7
mkdir build
cd build/
cmake ../
make
sudo make install
sudo ldconfig

then install gr-iridium, just run:

git clone https://github.com/muccc/gr-iridium.git
cd gr-iridium
git checkout maint-3.7
mkdir build
cd build
cmake ..
make
sudo make install
sudo ldconfig

run gr-iridium with usrp b210. open gr-iridium/examples/usrp.conf. edit like this:

[osmosdr-source]

#device_args='driver=remote,remote=192.168.1.186'

sample_rate=2000000
center_freq=1626000000

gain=80
ADC-pga_gain=10


bandwidth=8000000

then run

iridium-extractor -D 4 examples/usrp.conf | grep "A:OK" > output.bits

if you want to use b210 external 10mhz clock you need to modify the source code.

open python/iridium_extractor_flowgraph.py and add source.set_clock_source("external") below source.set_center_freq(self._center_frequency, 0), so the code finally looks like:

source.set_sample_rate(self._input_sample_rate)
source.set_center_freq(self._center_frequency, 0)
source.set_clock_source("external")

then make and make install