sudo apt update
sudo apt install python3-pip
pip3 install rpi-rf

Wiring Up The Transmit And Receive Modules:

Transmit Wiring:

   GND --> GND On Pi
   VCC --> 5V On Pi
  DATA --> GPIO17 On Pi    #Different GPIO Pins Can Be Used

Receive Wiring:

   VCC --> 5V On Pi
  DATA --> GPIO27 On Pi    #Different GPIO Pins Can Be Used
   GND --> GND On Pi
To Receive:

rpi-rf_receive -g 27  

Change GPIO Number If Needed
To Send:

rpi-rf_send -g 17 -p 275 -t 1 16380641

Change -p And -t To Match