In PPStream Linux, only the installation package of the i386 architecture is available. However, due to the change in the package division of 64-bit Ubuntu11.10, directly installing the official deb package of PPStream will prompt the dependency problem. Install PPStream successfully on my machine through the following steps: Install 32-bit support library: Shell code sudoapt-getinstallia32-libss PPStream Linux version only has the i386 architecture installation package, however, because the package division of 64-bit Ubuntu 11.10 has changed, installing the official deb package of PPStream will prompt the dependency problem. Follow these steps to install PPStream on my machine:
Install the 32-bit support Library:Shell code
- Sudo apt-get install ia32-libs
Sudo apt-get install ia32-libs
Download the PPStream deb package:Shell code
- Wget http://download.ppstream.com/linux/PPStream.deb
Wget http://download.ppstream.com/linux/PPStream.deb
Remove invalid dependencies and then install:Shell code
- # Extracting deb package files
- Dpkg-deb-x PPStream. deb ppstream
- # Deb package Metadata Extraction
- Dpkg-deb-e PPStream. deb ppstream/DEBIAN
- # Modify ppstream/DEBIAN/control, delete the Depends:... line, and save
- # Repackaging
- Dpkg-deb-B ppstream PPStream-hacked.deb
- # Install a new package
- Sudo dpkg-I PPStream-hacked.deb
# Extract the deb package file dpkg-deb-x PPStream. deb ppstream # extract deb package metadata dpkg-deb-e PPStream. deb ppstream/DEBIAN # modify ppstream/DEBIAN/control and delete Depends :... this line and save # repackage dpkg-deb-B ppstream PPStream-hacked.deb # install the new package sudo dpkg-I PPStream-hacked.deb
At this time, the mplayer provided by PPStream cannot be started because of the lack of a 32-bit libgif4 Library (this is because the video cannot be played after PPStream is started and the next video is continuously skipped ), however, the 32-bit version libgif4 and 64-bit versions cannot be directly installed at the same location. This should be a Packaging Problem in the apt source. We need to fix it ourselves:Shell code
- # Download32Bits libgif4 package
- Apt-get download libgif4: i386
- # Extracting deb package files
- Dpkg-deb-x libgif4 *. deb libgif4
- # Deb package Metadata Extraction
- Dpkg-deb-e libgif4 *. deb libgif4/DEBIAN
- # Modify the installation location
- Mv libgif4/usr/lib {,32}
- Mv libgif4/usr/share/doc/libgif4 {,-i386}
- # Modify libgif4/DEBIAN/md5sums, replace usr/lib with usr/lib32, usr/share/doc/libgif4 with usr/share/doc/libgif4-i386, save
- # Repackaging
- Dpkg-deb-B libgif4 libgif4-hacked.deb
- # Install a new package
- Sudo dpkg-I libgif4-hacked.deb
# Download the 32-bit libgif4 package apt-get download libgif4: i386 # extract the deb package file dpkg-deb-x libgif4 *. deb libgif4 # extract deb package metadata dpkg-deb-e libgif4 *. deb libgif4/DEBIAN # modify the installation location mv libgif4/usr/lib {, 32} mv libgif4/usr/share/doc/libgif4 {, -i386} # modify libgif4/DEBIAN/md5sums, change usr/lib to usr/lib32, usr/share/doc/libgif4 to usr/share/doc/libgif4-i386, save # repackage dpkg-deb-B libgif4 libgif4-hacked.deb # Install new package sudo dpkg-I libgif4-hacked.deb
PPStream can be started now. If there is no sound, you can adjust the audio device in the option to alsa, if there is no image, you can adjust the video device in the option to xv (you can find a better performance option based on your system environment)
Enjoy it!