How To Install firebird3.0-utils on Ubuntu 18.04

In this tutorial we learn how to install firebird3.0-utils on Ubuntu 18.04. firebird3.0-utils is Firebird command line utilities

Introduction

In this tutorial we learn how to install firebird3.0-utils on Ubuntu 18.04.

What is firebird3.0-utils

firebird3.0-utils is:

This package contains the utilities for managing Firebird databases:

  • isql-fb – interactive console (original name isql)
  • gbak – backup and restore databases
  • gfix – check and repair databases
  • gsec – manage users and roles
  • fbstat – analyze databases (original name gstat)
  • nbackup – incremental backup and file-level copy
  • gpre – preprocess sources with embedded SQL

There are three methods to install firebird3.0-utils on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install firebird3.0-utils Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install firebird3.0-utils using apt-get by running the following command:

sudo apt-get -y install firebird3.0-utils

Install firebird3.0-utils Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install firebird3.0-utils using apt by running the following command:

sudo apt -y install firebird3.0-utils

Install firebird3.0-utils Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install firebird3.0-utils using aptitude by running the following command:

sudo aptitude -y install firebird3.0-utils

How To Uninstall firebird3.0-utils on Ubuntu 18.04

To uninstall only the firebird3.0-utils package we can use the following command:

sudo apt-get remove firebird3.0-utils

Uninstall firebird3.0-utils And Its Dependencies

To uninstall firebird3.0-utils and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove firebird3.0-utils

Remove firebird3.0-utils Configurations and Data

To remove firebird3.0-utils configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge firebird3.0-utils

Remove firebird3.0-utils configuration, data, and all of its dependencies

We can use the following command to remove firebird3.0-utils configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge firebird3.0-utils

References

Summary

In this tutorial we learn how to install firebird3.0-utils package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.