A easy way to install RXTX on Ubuntu is using Synaptic Package Manager (Synaptic Package Manager is available in Ubuntu Software Center).
Simple search rxtx in Synaptic Package Manager, and mark to install
|Install RxTx on Ubuntu with Synaptic Package Manager|
The jars will be installed in /usr/share/java folder.
- Alternatively, you can use the command in Terminal:
$sudo apt-get install librxtx-java
Remark: It copy the files only. To make it work with Java, you have to "Setup RxTx jar and .so for Ubuntu".