Install PPS on Fedora14

Source: Internet
Author: User
System Environment: Fedora14 download pps installation package: [linuxidc@www.linuxidc.com ~] $ Wgethttp: // response System Environment: Fedora 14

Download the pps installation package:

 
 
  1. Linuxidc@www.linuxidc.com ~ $ Wget http:// Download.ppstream.com/ppstream_1.0.0-1_i386.deb 
  2. # However, this package is a deb package of debian. What pps says on the official website is only for ubunt.
  3. # An installation tutorial on the Internet is to install a deb package to rpm package tool alien. However, if the English language is really hard to understand, it will not be installed.
  4. # Install the tool manually. If you are interested, try alien;

 

After the package is downloaded, right-click "open with achive manager" (the archive manager releases data.tar.gzand .tar.gz to the custom location), decompress the two tar packages, and obtain the following three files and folders:

 
 
  1. [root@www.linuxidc.com pps]# ll 
  2. total 24 
  3. -rwxr-xr-x. 1 mo mo  402 Apr  5 13:07 control 
  4. drwxr-xr-x. 2 mo mo 4096 Nov  4 11:55 etc 
  5. drwxr-xr-x. 3 mo mo 4096 Nov  4 11:55 opt 
  6. -rwxr-xr-x. 1 mo mo  451 Apr  5 13:23 postinst 
  7. -rwxr-xr-x. 1 mo mo  153 Apr  5 12:52 postrm 
  8. drwxr-xr-x. 3 mo mo 4096 Nov  4 11:55 usr

 

View several files:

 
 
  1. [Root@www.linuxidc.com pps] # cat control
  2. Package: PPStream
  3. Version: 1.0.0
  4. Architecture: i386
  5. Maintainer: www. PPS. TV
  6. Depends: libc6 (> = 2.1.3), libgpc3 (> =. 1.1-21), libqt4-core (> = 4.4.0), libqt4-gui (> = 4.4.0), libqt4-network (> = 4.4.0), libqt4-webkit (> = 4.4.0), libqt4-xml (> = 4.4.0 ), libstdc ++ 6 (> = 4.1.1-21), libfuse2 (> = 2.7.2), mplayer | mplayer-nogui
  7. Section: base
  8. Priority: optional
  9. Description: PPStreamForGNU/Linux Ubuntu 8.04 + Distro.
  10. # This file should be the instruction control file during installation, including the name and version number. Of course, it is mainly the following Depends:
  11. # Dependency requirement; however, the name is a bit strange. If the yum list is used for matching, it cannot be matched at all, but it is probably
  12. # Libc/libgcc/libqt-core/libqt-gui/libqt-network/libqt-webkit/libqt-xml/
  13. # Libstdc ++ and other packages, which seem to require mplayer support
  14. # (At this time, my mplayer has been installed. The next article describes how to compile and install mplayer ); 
  15.  
  16. [Root@www.linuxidc.com pps] # cat postinst
  17. #! /Bin/sh 
  18. Rm-f/usr/bin/PPStream
  19. Rm-f/usr/lib/libemsnet. so
  20. Rm-f/usr/lib/libemscore. so
  21. Rm-f/usr/lib/libemsnet. so.0
  22. Rm-f/usr/lib/libemscore. so.0
  23. Ln-sv/opt/pps/bin/PPStream/usr/bin/PPStream
  24. Ln-sv/opt/pps/lib/libemscore. so.0.1. */usr/lib/libemscore. so
  25. Ln-sv/opt/pps/lib/libemsnet. so.0.1. */usr/lib/libemsnet. so
  26. Ln-sv/opt/pps/lib/libemscore. so.0.1. */usr/lib/libemscore. so.0
  27. Ln-sv/opt/pps/lib/libemsnet. so.0.1. */usr/lib/libemsnet. so.0
  28. # This script file is the install control file, and some library files are deleted earlier. These files are the residual Library link files that have been installed with pps; create a new library link file; 
  29.  
  30. # Cat postrm [root@www.linuxidc.com pps]
  31. #! /Bin/sh 
  32. Rm-f/usr/bin/PPStream
  33. Rm-f/usr/lib/libemsnet. so
  34. Rm-f/usr/lib/libemscore. so
  35. Rm-f/usr/lib/libemsnet. so.0
  36. Rm-f/usr/lib/libemscore. so.0
  37. # This script should be the ku file clearing script executed when the pps is uninstalled; 
  38.  
  39. ### The configuration files, library files, binary files, and Icon files in Several folders must be copied later.
  40. ### Place the time in the specified position;


Start installation: (permission issues may occur during the installation and copy process. It is best to switch to the root user)

Copy EMS. conf in etc to/etc;
Copy the pps folder in opt to/opt;
Copy PPStream. desktop in usr/share/applications to/usr/share/applications;
Copy the pps folder in usr/share/icons to/usr/share/icons;

Replication completed;
Execute the installation script to automatically create a link to the library file. Of course, it is not acceptable to execute the ln command one by one according to the definition in the file. I changed the command to ln-sv to facilitate viewing the link creation status;

 
 
  1. [root@www.linuxidc.com pps]# ./postinst  
  2. `/usr/bin/PPStream' -> `/opt/pps/bin/PPStream' 
  3. `/usr/lib/libemscore.so' -> `/opt/pps/lib/libemscore.so.0.1.1676' 
  4. `/usr/lib/libemsnet.so' -> `/opt/pps/lib/libemsnet.so.0.1.1676' 
  5. `/usr/lib/libemscore.so.0' -> `/opt/pps/lib/libemscore.so.0.1.1676' 
  6. `/usr/lib/libemsnet.so.0' -> `/opt/pps/lib/libemsnet.so.0.1.1676'

View: Applications -- "Internet --" ppstream; the pps icon is already in the program. Open it and no error is reported. No result is returned;
Check the log: tai/var/log/messages, with no records. Why is there no log record when the logging is dying? (the default log level is to be studied. The problem cannot be found here, temporarily ignore)


View the dependent database status of the pps binary file:

  1. [Root@www.linuxidc.com pps] # ldd/opt/pps/bin/PPStream
  2. Linux-gate.so.1 => (0x0090b000)
  3. Libemscore. so.0 =>/usr/lib/libemscore. so.0 (0x007e7000)
  4. Libz. so.1 =>/lib/libz. so.1 (0x00d21000)
  5. LibQtWebKit. so.4 => not found
  6. LibQtXml. so.4 => not found
  7. LibQtGui. so.4 => not found
  8. LibQtNetwork. so.4 => not found
  9. LibQtCore. so.4 => not found
  10. Libpthread. so.0 =>/lib/libpthread. so.0 (0x00cc6000)
  11. Libstdc ++. so.6 =>/usr/lib/libstdc ++. so.6 (0x05897000)
  12. Libm. so.6 =>/lib/libm. so.6 (0x00cf5000)
  13. Libgcc_s.so.1 =>/lib/libgcc_s.so.1 (0x00d38000)
  14. Libc. so.6 =>/lib/libc. so.6 (0x00b3a000)
  15. /Lib/ld-linux.so.2 (0x00b19000)
  16. # Found that many databases are not found; the names are very familiar, and many are the Depends package libraries required in the control;
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.