How To Install tanidvr on Debian 12

Learn how to install tanidvr on Debian 12 with this tutorial. tanidvr is tool for DVRs and IP cameras based on DVR-IP protocol used by Dahua

Introduction

In this tutorial we learn how to install tanidvr on Debian 12.

What is tanidvr

tanidvr is:

TaniDVR is a CLI tool for accessing DVRs and IP cameras used for CCTV surveillance systems based on the proprietary DVR-IP protocol (port 37777/TCP).

The main use of TaniDVR is to dump video from a device. With this, it can record to a Matroska (MKV) file or dump the video in realtime to play in an external player.

TaniDVR works with OEM DVRs and IP cameras produced by Dahua, sold under several brands, such as:

  • Apollo
  • Acorn F&S
  • BCS
  • C2Max
  • DVR365
  • GWave
  • Intelbras
  • IntelliPix
  • Kompsos
  • Mace S. P.
  • New Surway
  • NextVision
  • Q-See
  • WatchNet (and dozens more)

But if the device works with the DVR-IP protocol, it is expected to work.

TaniDVR is confirmed to work with the following devices:

  • BCS BCS-DVR0801QE II
  • BCS BCS-DVR1602Q
  • BCS BCS-DVR3208M
  • BCS BCS-IPC-HFW2100
  • BCS BCS-NVR0802
  • BCS BCS-TIP1130IR
  • Dahua DH-DVR0404HF-AN
  • Dahua DH-DVR1604HF-U-E
  • Dahua DH-NVR3816
  • Dahua IPC-HDB3200C
  • Intelbras VD 8E 240
  • Intelbras VD 16E 480C
  • QVIS Apollo (see updated list at TaniDVR’s website)

There are three methods to install tanidvr on Debian 12. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install tanidvr Using apt-get

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

sudo apt-get update

After updating apt database, We can install tanidvr using apt-get by running the following command:

sudo apt-get -y install tanidvr

Install tanidvr Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install tanidvr using apt by running the following command:

sudo apt -y install tanidvr

Install tanidvr 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install tanidvr using aptitude by running the following command:

sudo aptitude -y install tanidvr

How To Uninstall tanidvr on Debian 12

To uninstall only the tanidvr package we can use the following command:

sudo apt-get remove tanidvr

Uninstall tanidvr And Its Dependencies

To uninstall tanidvr and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove tanidvr

Remove tanidvr Configurations and Data

To remove tanidvr configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge tanidvr

Remove tanidvr configuration, data, and all of its dependencies

We can use the following command to remove tanidvr configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge tanidvr

Dependencies

tanidvr have the following dependencies:

References

Summary

In this tutorial we learn how to install tanidvr package on Debian 12 using different package management tools: apt, apt-get and aptitude.