Install Apache Directory Studio From Source on Rasberry Pi
- Shawn McKinney
- Feb 20
- 1 min read
This post includes instructions to download Apache Directory Studio source code and install to a Linux machine. The instructions are tailored for a Raspberry Pi.
It includes an extra step to modify the pom.xml to add Eclipse runtime on Linux desktop for ARM processor.
It’s expected that the next release of Apache Directory Studio will include binaries for Linux ARM and so it won’t be necessary to build from source.

1. Preq it
sudo apt-get install git java2. Git it
3. Arm it
cd directory-studiovi pom.xmlAdd (around line 167):
<environments>
...
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>aarch64</arch>
</environment>
...
</environments>
...Save and exit.
4. Build it
mvn -f pom-first.xml clean installmvn install -DskipTests=true5. Install it
cp ./product/target/products/ApacheDirectoryStudio*.tar.gz ~/Toolscd ~/Toolstar -zxvf ApacheDirectoryStudio*.tar.gzWhere *Tools* is your target for applications.
6. Run it
cd ApacheDirectoryStudiosudo ./ApacheDirectoryStudio7. Script it
Because Apache Directory Studio has to run as root we have to create a bash script to execute.
# alter the paths to match your env:vi ~/Tools/ApacheDirectoryStudio/start.shAdd:
sudo /home/user/Tools/ApacheDirectoryStudio/ApacheDirectoryStudioSave and exit.
8. Execute it
chmod a+x start.sh9. Launch it
sudo vi /usr/share/applications/studio.desktop# Paste info:
[Desktop Entry]
Type=Application
Name=Apache Directory Studio
Comment=LDAP Browser
Icon=/home/user/Tools/ApacheDirectoryStudio/configuration/org.eclipse.osgi/78/0/.cp/studio.png
Exec=/home/user/Tools/ApacheDirectoryStudio/start.sh
Terminal=false
Categories=Application;Development;Save and exit. Where “/home/user/Tools” is where you put the binaries. Launcher will be under the “Programming” menu item.
