mc@mc:~$ sudo apt-get install libXp.so.6
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libXp.so.6
E: Couldn't find any package by glob 'libXp.so.6'
E: Couldn't find any package by regex 'libXp.so.6'
mc@mc:~$ and there is no package related to libxp6 for ubuntu 17.04
54 Answers
I had this issue when trying to run an old app on Ubuntu 18.04. The workaround that I used was to create a symbolic link named libXp.so.6 pointing to file libXpm.so.4.11.0
Search for the package containing the file pattern libXpm
sudo dpkg -S libXpm
libxpm4:amd64: /usr/lib/x86_64-linux-gnu/libXpm.so.4
libxpm4:amd64: /usr/lib/x86_64-linux-gnu/libXpm.so.4.11.0Then install the found package - libxpm4 (if not already installed)
sudo apt-get install libxpm4Create the symbolic link:
cd /usr/lib/x86_64-linux-gnu
ls -l libXp*
lrwxrwxrwx 1 root root 16 Dec 22 2016 libXpm.so.4 -> libXpm.so.4.11.0
-rw-r--r-- 1 root root 72520 Dec 22 2016 libXpm.so.4.11.0
sudo ln -s libXpm.so.4.11.0 libXp.so.6
ls -l libXp*
lrwxrwxrwx 1 root root 16 Dec 22 2016 libXpm.so.4 -> libXpm.so.4.11.0
-rw-r--r-- 1 root root 72520 Dec 22 2016 libXpm.so.4.11.0
lrwxrwxrwx 1 root root 16 Nov 7 18:25 libXp.so.6 -> libXpm.so.4.11.0If it's still worth for anybody...
Open the software sources config in a text editor with root permission, for example
sudo vim /etc/apt/sources.listAppend this line:
deb precise-security mainThen run
sudo apt update
sudo apt install libxp6 0 I haven't found any library that would support this package for Ubuntu 17.04. However there is a temporal solution that works OK for me:
Download libxp6 package from earlier Ubuntu version:
Then install it manually using
sudo dpkg -i ./libxp6_1.0.2-1ubuntu1_amd64.deb
sudo apt-get install -fIt seems the package is compatible (enough) with 17.04.
A working solution for installing libXp.so.6:
First provide multiarch support by
wget sudo dpkg -i multiarch-support_2.27-3ubuntu1.2_amd64.debProceed to install
libXp.so.6wget sudo dpkg -i libxp6_1.0.2-2_amd64.deb
Cheers.