Creating a LibreOffice Music Database

Tune Finder

Article from Issue 258/2022

LibreOffice Calc and Base are all you need to create a simple database for organizing the songs in your music collection.

MySQL is the most commonly used open source database management system. Developers often use MySQL and its cousin MariaDB to build database applications for organizing office records, managing inventories, and other common tasks. However, MySQL is often too complex and too much trouble for personal, home-office uses. LibreOffice offers a simpler alternative for users who just want to create a small, simple database to address a specific need. This article describes how to create a quick and easy database solution using LibreOffice tools. In this case, I'll show you how to set up a music database from an iTunes library.

The Plan

I'll use two tools from the LibreOffice integrated suite to create my music database: LibreOffice Calc (spreadsheet) and LibreOffice Base (database management). With these two applications plus iTunes, the general process is as follows:

  1. Export library from iTunes as a tab-separated text file.
  2. Import library into LibreOffice Calc for minor edits.
  3. Copy modified library data into LibreOffice Base.
  4. Create SQL queries.
  5. Run queries and filters to display results.


Use Express-Checkout link below to read the full article (PDF).

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • LibreOffice Office Suite

    The LibreOffice Writer word processing tool offers all the basic functionality you expect, along with a couple of features that really make it stand out. We also look at the other LibreOffice components: Calc, Impress, and Base.

  • LibreOffice Macros with ScriptForge

    ScriptForge helps you automate LibreOffice by building portable macros.

  • SQLite Tutorial

    Several databases likely reside on your desktop and smartphone, and it is easy to manage the data in these files or to create similar databases yourself.

  • Kexi vs. Glom

    Kexi and Glom aim to create databases with little overhead. We compare the power of these two tools.

  • LibreOffice vs. OpenOffice

    The development paths of OpenOffice and LibreOffice parted in 2010. Which of the two office suites is leading the way?

comments powered by Disqus

Direct Download

Read full article as PDF:

Price $2.95

Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Find SysAdmin Jobs