How to Install Davis on MXLinux Latest

Davis is a simple command-line interface for Google Assistant. It is an open-source project available on GitHub. This tutorial will guide you through the steps to install Davis on MXLinux Latest.

Prerequisites:

Installation Steps:

  1. Open the Terminal by pressing Ctrl + Alt + T on your keyboard.

  2. Update the package list and upgrade the system by running the following command:

sudo apt update && sudo apt upgrade
  1. Install the necessary dependencies required for building the Davis package by running the following command:
sudo apt install git nodejs-npm libasound2-dev libssl-dev libavahi-compat-libdnssd-dev libkrb5-dev ffmpeg
  1. Change the directory to your preferred location where you want to download the Davis package by running the following command:
cd /path/to/your/preferred/location
  1. Clone the Davis repository by running the following command:
git clone https://github.com/tchapi/davis.git
  1. Change the directory to the cloned repository by running the following command:
cd davis
  1. Install the required node modules using the following command:
sudo npm install
  1. Create a config.json file by running the following command:
cp config.example.json config.json
  1. Edit the configuration file (config.json) to add your Google Assistant credentials, such as clientId, clientSecret, refreshToken, and deviceId. You can obtain these credentials by following the instructions on the Google Cloud Console.

  2. Run the following command to start Davis:

npm start
  1. If everything is working correctly, you should see a message in the terminal that says "Davis is listening..."

  2. You can now start giving voice commands to Davis and get responses from Google Assistant on the terminal.

Congratulations! You have successfully installed Davis on MXLinux Latest. You can now use it to interact with Google Assistant through the command line interface.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!