System Environment: Fedora14 download pps installation package: [linuxidc@www.linuxidc.com ~] $ Wgethttp: // response System Environment: Fedora 14
Download the pps installation package:
- Linuxidc@www.linuxidc.com ~ $ Wget http:// Download.ppstream.com/ppstream_1.0.0-1_i386.deb
- # However, this package is a deb package of debian. What pps says on the official website is only for ubunt.
- # 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.
- # 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:
- [root@www.linuxidc.com pps]# ll
- total 24
- -rwxr-xr-x. 1 mo mo 402 Apr 5 13:07 control
- drwxr-xr-x. 2 mo mo 4096 Nov 4 11:55 etc
- drwxr-xr-x. 3 mo mo 4096 Nov 4 11:55 opt
- -rwxr-xr-x. 1 mo mo 451 Apr 5 13:23 postinst
- -rwxr-xr-x. 1 mo mo 153 Apr 5 12:52 postrm
- drwxr-xr-x. 3 mo mo 4096 Nov 4 11:55 usr
View several files:
- [Root@www.linuxidc.com pps] # cat control
- Package: PPStream
- Version: 1.0.0
- Architecture: i386
- Maintainer: www. PPS. TV
- 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
- Section: base
- Priority: optional
- Description: PPStreamForGNU/Linux Ubuntu 8.04 + Distro.
- # This file should be the instruction control file during installation, including the name and version number. Of course, it is mainly the following Depends:
- # 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
- # Libc/libgcc/libqt-core/libqt-gui/libqt-network/libqt-webkit/libqt-xml/
- # Libstdc ++ and other packages, which seem to require mplayer support
- # (At this time, my mplayer has been installed. The next article describes how to compile and install mplayer );
-
- [Root@www.linuxidc.com pps] # cat postinst
- #! /Bin/sh
- Rm-f/usr/bin/PPStream
- Rm-f/usr/lib/libemsnet. so
- Rm-f/usr/lib/libemscore. so
- Rm-f/usr/lib/libemsnet. so.0
- Rm-f/usr/lib/libemscore. so.0
- Ln-sv/opt/pps/bin/PPStream/usr/bin/PPStream
- Ln-sv/opt/pps/lib/libemscore. so.0.1. */usr/lib/libemscore. so
- Ln-sv/opt/pps/lib/libemsnet. so.0.1. */usr/lib/libemsnet. so
- Ln-sv/opt/pps/lib/libemscore. so.0.1. */usr/lib/libemscore. so.0
- Ln-sv/opt/pps/lib/libemsnet. so.0.1. */usr/lib/libemsnet. so.0
- # 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;
-
- # Cat postrm [root@www.linuxidc.com pps]
- #! /Bin/sh
- Rm-f/usr/bin/PPStream
- Rm-f/usr/lib/libemsnet. so
- Rm-f/usr/lib/libemscore. so
- Rm-f/usr/lib/libemsnet. so.0
- Rm-f/usr/lib/libemscore. so.0
- # This script should be the ku file clearing script executed when the pps is uninstalled;
-
- ### The configuration files, library files, binary files, and Icon files in Several folders must be copied later.
- ### 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;
- [root@www.linuxidc.com pps]# ./postinst
- `/usr/bin/PPStream' -> `/opt/pps/bin/PPStream'
- `/usr/lib/libemscore.so' -> `/opt/pps/lib/libemscore.so.0.1.1676'
- `/usr/lib/libemsnet.so' -> `/opt/pps/lib/libemsnet.so.0.1.1676'
- `/usr/lib/libemscore.so.0' -> `/opt/pps/lib/libemscore.so.0.1.1676'
- `/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:
- [Root@www.linuxidc.com pps] # ldd/opt/pps/bin/PPStream
- Linux-gate.so.1 => (0x0090b000)
- Libemscore. so.0 =>/usr/lib/libemscore. so.0 (0x007e7000)
- Libz. so.1 =>/lib/libz. so.1 (0x00d21000)
- LibQtWebKit. so.4 => not found
- LibQtXml. so.4 => not found
- LibQtGui. so.4 => not found
- LibQtNetwork. so.4 => not found
- LibQtCore. so.4 => not found
- Libpthread. so.0 =>/lib/libpthread. so.0 (0x00cc6000)
- Libstdc ++. so.6 =>/usr/lib/libstdc ++. so.6 (0x05897000)
- Libm. so.6 =>/lib/libm. so.6 (0x00cf5000)
- Libgcc_s.so.1 =>/lib/libgcc_s.so.1 (0x00d38000)
- Libc. so.6 =>/lib/libc. so.6 (0x00b3a000)
- /Lib/ld-linux.so.2 (0x00b19000)
- # Found that many databases are not found; the names are very familiar, and many are the Depends package libraries required in the control;