Can't install Panda3d Ubuntu


#1

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 (2.7.6.1-2) …
/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:
panda3d1.9


#2

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


#3

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


#4

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:
https://www.panda3d.org/download.php?platform=artful&version=devel&sdk

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

#5

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


#6

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.


Getting PStats for a Pip-based installation
#7

Ok. I understand. thank you