Install PPStream in 64-bit Ubuntu11.10

Source: Internet
Author: User
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
    1. Sudo apt-get install ia32-libs
    Sudo apt-get install ia32-libs
  • Download the PPStream deb package:
  • Shell code
    1. Wget http://download.ppstream.com/linux/PPStream.deb
    Wget http://download.ppstream.com/linux/PPStream.deb
  • Remove invalid dependencies and then install:
  • Shell code
    1. # Extracting deb package files
    2. Dpkg-deb-x PPStream. deb ppstream
    3. # Deb package Metadata Extraction
    4. Dpkg-deb-e PPStream. deb ppstream/DEBIAN
    5. # Modify ppstream/DEBIAN/control, delete the Depends:... line, and save
    6. # Repackaging
    7. Dpkg-deb-B ppstream PPStream-hacked.deb
    8. # Install a new package
    9. 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
    1. # Download32Bits libgif4 package
    2. Apt-get download libgif4: i386
    3. # Extracting deb package files
    4. Dpkg-deb-x libgif4 *. deb libgif4
    5. # Deb package Metadata Extraction
    6. Dpkg-deb-e libgif4 *. deb libgif4/DEBIAN
    7. # Modify the installation location
    8. Mv libgif4/usr/lib {,32}
    9. Mv libgif4/usr/share/doc/libgif4 {,-i386}
    10. # Modify libgif4/DEBIAN/md5sums, replace usr/lib with usr/lib32, usr/share/doc/libgif4 with usr/share/doc/libgif4-i386, save
    11. # Repackaging
    12. Dpkg-deb-B libgif4 libgif4-hacked.deb
    13. # Install a new package
    14. 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!
    Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.