How to Install Apache Derby on Ubuntu 14.04 Trusty LTS Linux Easy Guide

December 18, 2014 | By the+gnu+linux+evangelist.

Ubuntu 14.04 Trusty Derby DB Quick Start

Hi! The Tutorial shows you Step-by-Step How to Install and Getting-Started with the Apache Derby Java Database on Ubuntu 14.04 Trusty Tahr LTS i386/amd64 Desktop/Server.

Apache Derby, an Apache DB subproject, is an Open Source Relational Database implemented entirely in Java.

Apache Derby main Features List:

  • Small Footprint
  • Based on Java, JDBC and SQL Standards
  • Embedded JDBC Driver to Easy Integrate in Java Projects
  • Support the Client/Server Mode with Derby Network Client JDBC
  • Easy to Install, Deploy and Use
How to Enable Apache 2 Mod_rewrite on Ubuntu 22.04
  1. Download the Latest Apache Derby Database Release

    Apache Derby bin.tar.gz Archive
  2. Double-Click on Archive
    Extract into /tmp.

    Installing Apache Derby on Ubuntu 14.04 Trusty LTS - extract
    Or from Command Line:

    tar xvzf $HOME/Downloads/db-derby*.bin.tar.gz -C /tmp/
  3. Open a Command Line Console Window
    Ctrl+Alt+t
    (Press “Enter” to Execute Commands)

    Apache Derby Quick Start for Ubuntu 14.04 Trusty LTS - Open Terminal

    In case first see: Terminal QuickStart Guide.
    Or Login into Server Shell Shell.

  4. Setting Derby Ownership.

    sudo su -c "chown -R root:root /tmp/db-derby*"
  5. Relocating Derby Folder.

    sudo su -c "mv /tmp/db-derby* /opt/db-derby"
  6. Setting Derby Environment Variables

    nano $HOME/.bashrc

    Append:

    /nexport DERBY_HOME=/opt/db-derby/nexport PATH=$PATH:$DERBY_HOME/bin
    

    Ctrl+x to Save &exit; from nano Editor :)

    bash

    To Load new Setup

  7. How to Install Required Oracle Java JDK on Ubuntu

    Install Oracle JDK for Ubuntu
  8. Getting-Started with Derby Database on Ubuntu

    Derby DB Quick Start Guide

QuickChic Theme • Powered by WordPress