rtl_tcp command not found

In this troubleshooting guide we learn how to fix rtl_tcp command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

rtl_tcp: command not found

or when using sudo you get the following error message

sudo: rtl_tcp: command not found

Solutions to rtl_tcp: command not found

How To Fix rtl_tcp: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu rtl_tcp is provided by rtl-sdr package.

rtl-sdr is:

rtl-sdr is a software defined radio (SDR) receiver software for certain low-cost DVB-T/DAB(+) USB dongles based on the Realtek RTL2832U chip.

This package contains a set of command line utilities:

  • rtl_adsb: a simple ADS-B decoder for RTL2832 based DVB-T receivers
  • rtl_eeprom: an EEPROM programming tool for RTL2832 based DVB-T receivers
  • rtl_fm: a narrow band FM demodulator for RTL2832 based DVB-T receivers
  • rtl_sdr: an I/Q recorder for RTL2832 based DVB-T receivers
  • rtl_tcp: an I/Q spectrum server for RTL2832 based DVB-T receivers
  • rtl_test: a benchmark tool for RTL2832 based DVB-T receivers

To fix this problem, we can install more using the command below.

sudo apt-get -y install rtl-sdr

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install rtl-sdr.

sudo apt -y install rtl-sdr

Or if you have aptitude installed you can use the following command.

sudo aptitude install rtl-sdr

Summary

In this tutorial we learn how to fix rtl_tcp command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.