Can't install Panda3d Ubuntu

here is the terminal output
gravit@Gravit-PC:~/Downloads$ sudo dpkg -i panda.deb
Selecting previously unselected package panda3d1.9.
(Reading database … 365930 files and directories currently installed.)
Preparing to unpack panda.deb …
Unpacking panda3d1.9 (1.9.4~precise) …
dpkg: dependency problems prevent configuration of panda3d1.9:
panda3d1.9 depends on libavcodec53 (>= 4:0.8-1~) | libavcodec-extra-53 (>= 4:0.8-1~); however:
Package libavcodec53 is not installed.
Package libavcodec-extra-53 is not installed.
panda3d1.9 depends on libavformat53 (>= 4:0.8-1~) | libavformat-extra-53 (>= 4:0.8-1~); however:
Package libavformat53 is not installed.
Package libavformat-extra-53 is not installed.
panda3d1.9 depends on libavutil51 (>= 4:0.8-1~) | libavutil-extra-51 (>= 4:0.8-1~); however:
Package libavutil51 is not installed.
Package libavutil-extra-51 is not installed.
panda3d1.9 depends on libode1; however:
Package libode1 is not installed.
panda3d1.9 depends on libpng12-0 (>= 1.2.13-4); however:
Package libpng12-0 is not installed.
panda3d1.9 depends on libswscale2 (>= 4:0.8-1~) | libswscale-extra-2 (>= 4:0.8-1~); however:
Package libswscale2 is not installed.
Package libswscale-extra-2 is not installed.
panda3d1.9 depends on libtiff4; however:
Package libtiff4 is not installed.

dpkg: error processing package panda3d1.9 (–install):
dependency problems - leaving unconfigured
Processing triggers for man-db ( …
/usr/bin/mandb: can’t open /usr/share/man/man1/pfm-bba.1: Permission denied
Processing triggers for shared-mime-info (1.8-1) …
Processing triggers for gnome-menus (3.13.3-6ubuntu5) …
Processing triggers for desktop-file-utils (0.23-1ubuntu3) …
Processing triggers for mime-support (3.60ubuntu1) …
Errors were encountered while processing:

Which version of Ubuntu are you using? And which exact .deb file did you download?

Thank you for reply. Ubuntu 17.10. and panda3d1.9_1.9.4~precise_amd64.deb
Codename: artful

That .deb file is for Ubuntu “Precise” 12.04, so that will definitely not work. You will want a more recent .deb file than that.

I’m not sure if the “zesty” .deb will work. We don’t provide a .deb for Ubuntu Artful of Panda3D 1.9.4, but you can get a development build from here:

Alternatively, it may be simpler to install Panda3D via the pip package manager. (You can only do one or the other; otherwise they will conflict!) To do this, just type this command:

sudo pip install panda3d

Thank you. I installed it with pip. Is there any differences? I lose something?

When you install via pip, you can’t develop Panda3D programs using C++. It is meant for Python users only.

Also, the PStats performance monitoring tool is not included with the Linux pip installation.

Ok. I understand. thank you