Two things are necessary to get this job done : djvulibre et ps2pdf.
# From inside the extracted folder.
./configure
make
make install
# That's all ! Check if it is properly installed :
man djvu # You should see the documentation.
For most linux distributions, a package should be already available. If not, or if you are using another system (mac or windows) check the documentation.
# For most linux distribution, just install it.
# using your package manager
sudo apt install ghostscript
# Check the installation by getting the documentation :
man ps2pdf
# Quite simple !
# For linux (and almost certainly for mac systems too) :
# Fist convert the djvu file to PostScript.
djvups your_file.djvu your_file.ps
# Finally convert the postscript file to a pdf :
ps2pdf your_file.ps your_file.pdf
That is all. You should note that the conversion from PostScript to pdf might take a long time for huge files.