Run TerminusDB on your Android phone

Get TerminusDB running on your Android phone

TerminusDB now supports ARM64 following a recent release, you can read why we added support for ARM64 here. Most phones run ARM64 processors. I have a curious mind, so the natural progression was for me to see if TerminusDB works on my phone. My phone is an Android device and we don’t have an Android version of TerminusDB, however, it is still possible to compile it yourself.

On Android, there is a Linux environment and terminal emulator called Termux. It features the apt package manager and can be installed without having to root your device. You can find instructions on how to install Termux on their website: https://termux.dev/en/

If you spawn a new Termux shell, be sure to install the dependencies by executing:

				
					pkg install make git rust swi-prolog clang curl
				
			

After installing those packages, you can clone TerminusDB by executing the following commands:

				
					git clone https://github.com/terminusdb/terminusdb.git
cd terminusdb
make install-depends
make
				
			

This should give you a nice binary that you can now call with `./terminusdb`

If you’ve tried this yourself, congratulations. You got TerminusDB running on your Android device!

Here you can see mine. I’ve fetched the system graph documents and this took 88ms. This is pretty speedy.

TerminusDB performance on Android

Latest Stories

Vector database and vector embeddings

Building a Vector Database to Make Use of Vector Embeddings

Vector databases are all the rage at the moment and it’s not just hype. The advance of AI, which is making use of vector embeddings, has significantly increased the buzz. This article talks about how we implemented a vector database in Rust in a week to give us semantic indexing and entity resolution using OpenAI to define our embeddings.

Read More »
Change Requests in TerminusCMS

Change Requests in TerminusCMS

https://youtu.be/wZkMnKFTu9o A video describing how change request workflows function in the TerminusCMS dashboard. TerminusCMS features change request workflows at the database layer.  Users are prompted

Read More »
Back link graph queries using GraphQL

Graph Back Link Queries

Graph back link queries find objects pointing at a particular object. This is useful for understanding the impacts of relationships, for example, in the supply chain back link queries can show the product impacted by a particular component shortage.

Read More »