How to Install Dolibarr on Linux Mint (Latest)

Step-by-Step Guide

Prerequisites

Before proceeding with the installation, you need to make sure that the following requirements are met:

Install Required Dependencies

  1. Open the terminal using the shortcut Ctrl+Alt+T.

  2. Update the package list by running the following command:

    sudo apt update
    
  3. Install the required packages by running the following command:

    sudo apt install php-curl php-common php-cli php-gd php-intl php-json php-mbstring php-mysql php-xml php-zip curl
    
  4. Install the required database server. You can use MariaDB or MySQL.

    For MariaDB, run the following command:

    sudo apt install mariadb-server
    

    For MySQL, run the following command:

    sudo apt install mysql-server
    

Download and Install Dolibarr

  1. Download the latest version of Dolibarr from their official website at https://www.dolibarr.org/download/.

  2. Extract the downloaded file to a directory on your system. For example, if you extracted the file in the Downloads folder, run the following command:

    sudo mv ~/Downloads/dolibarr-*.zip /var/www/html/
    sudo unzip /var/www/html/dolibarr-*.zip -d /var/www/html/
    
  3. Next, set the required file permissions by running the following command:

    sudo chown -R www-data:www-data /var/www/html/dolibarr/
    sudo chmod -R 755 /var/www/html/dolibarr/
    

Configure Dolibarr

  1. Open your web browser and enter http://localhost/dolibarr/ in the address bar.

  2. Click on the "Install Dolibarr" button.

  3. Follow the on-screen instructions to set up the database connection, admin account, and other configuration settings.

  4. Once the installation is complete, you can access the Dolibarr dashboard by entering http://localhost/dolibarr/htdocs/index.php in your web browser.

Congratulations! You have successfully installed Dolibarr on your Linux Mint system.

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!