# Manual install (/en/realtime-media/rtm/reference/downloads/linux-java)

> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).

To install the Signaling SDK for Linux Java using Maven:

1. Create a file named `pom.xml` in `RTM_quickstart` with the following content:

   ```xml
   <?xml version="1.0" encoding="UTF-8"?>
   <project xmlns="http://maven.apache.org/POM/4.0.0"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
       <modelVersion>4.0.0</modelVersion>

       <groupId>io.agora</groupId>
       <artifactId>RTM-Java-Demo</artifactId>
       <version>1.0-SNAPSHOT</version>

       <properties>
           <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
           <maven.compiler.source>1.8</maven.compiler.source>
           <maven.compiler.target>1.8</maven.compiler.target>
       </properties>

       <!-- [!code highlight:7] -->
       <dependencies>
           <dependency>
               <groupId>io.agora</groupId>
               <artifactId>rtm-java-aarch64</artifactId>
               <version>x.y.z</version>
           </dependency>
       </dependencies>

       <build>
           <plugins>
               <plugin>
                   <groupId>org.apache.maven.plugins</groupId>
                   <artifactId>maven-shade-plugin</artifactId>
                   <version>3.2.0</version>
                   <executions>
                       <!-- Attach the shade into the package phase -->
                       <execution>
                           <phase>package</phase>
                           <goals>
                               <goal>shade</goal>
                           </goals>
                           <configuration>
                               <transformers>
                                   <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
                                       <mainClass>io.agora.RtmJavaDemo</mainClass>
                                   </transformer>
                               </transformers>
                           </configuration>
                       </execution>
                   </executions>
               </plugin>
           </plugins>
       </build>
   </project>
   ```

   Replace `x.y.z` with the specific SDK version number, such as `2.3.0`. To get the latest version number, check the [Release notes](/en/realtime-media/rtm/reference/release-notes).

   The `artifactId` is architecture-specific. Use `rtm-java-aarch64` for aarch64 (arm64) devices, or `rtm-java-x86_64` for x86-64 devices.

2. Maven doesn't distribute the native libraries the SDK depends on, so [download](/en/api-reference/sdks?product=signaling\&platform=linux-java) the SDK package separately, unzip it, and copy the `*.so` files to the `lib` folder.

    
  
      
  
      
  
      
  
      
  
