1. Lazarus menu-->Package-->Install/Uninstall packages...
2. Go to "Available for installation", type onlinepackagemanager, "Install selction" then click "Save and rebuild"
3. After the IDE restarts, go to Lazarus menu-->Package-->Online package manager, locate RX, click the install button