Netty-all-4.0.23.Final
Installing APR
- Download the apr-1.5.2 source package.
1wget https://archive.apache.org/dist/apr/apr-1.5.2.tar.gz - Decompress apr-1.5.2.tar.gz.
1tar -xvzf apr-1.5.2.tar.gz
- Go to the apr-1.5.2 directory.
1cd apr-1.5.2
- Install APR to the /usr/local/apr directory.
1 2
./configure --prefix=/usr/local/apr make && make install
Installing netty-tcnative-1.1.30.Fork2
- Download the netty-tcnative-1.1.30.Fork2 source package.
1 2
wget https://codeload.github.com/netty/netty-tcnative/tar.gz/netty-tcnative-1.1.30.Fork2 mv netty-tcnative-1.1.30.Fork2 netty-tcnative-1.1.30.Fork2.tar.gz
- Decompress the source package.
1tar -zxvf netty-tcnative-1.1.30.Fork2.tar.gz
- Go to the directory where the Netty source package is decompressed.
1cd netty-tcnative-netty-tcnative-1.1.30.Fork2
- Compile and package the file to the local Maven repository.
1mvn install
Installing netty-4.0.23
- Download the netty-4.0.23 source package.
1wget https://github.com/netty/netty/archive/netty-4.0.23.Final.tar.gz - Decompress the source package.
1tar -zxvf netty-4.0.23.Final.tar.gz
- Go to the directory where the Netty source package is decompressed.
1cd netty-netty-4.0.23.Final
- Compile and generate netty-all-4.0.23.Final.jar in the all/target directory, and netty-transport-native-epoll-4.0.23.Final.jar and netty-transport-native-epoll-4.0.23.Final-linux-aarch64_64.jar in the transport-native-epoll/target directory.
1mvn package -DskipTests
Parent topic: Compilation