Fixing Real Player 11 Problem in 64-bit Fedora

June 8, 2011

List below are some of the Real Player problem I’ve encountered on the web or solved.

Real Player Installation Problem

Please check out my post Install and Playing Real Player in Fedora 15 (Lovelock)

Real Player Problem: Got Audio, No Video! (Solved)

If you encounter such situation where the Real Player plays audio perfectly but there is no video. Use the solution below:

  • First you need to install the gstreamer plugins:
 $sudo yum install gstreamer-plugins-ugly
  • Since Real Player is a 32-bit application playing in 64-bit operating system, you need to install 32-bit libraries:
$sudo yum install gstreamer-plugins-ugly.i686
  • If you still do not have video after installing the plugins. In the Real Player, go to Tools >> Preference >> Hardware and toggle with “Use XVideo”. Usually the video works when the XVideo is NOT CHECKED.

Real Player Problem: Got Video, No Audio!

Personally, I’ve never encountered any problem with audio. However, I’ve learned some solution from the web:

  • Switch ALSA audio driver with OSS driver. You can do this by going to Tools >> Preference >> Hardware
  • Under Tools >> Preference >> Hardware, you can also toggle the setting “Force stereo playback”. In some situation, audio works by un-checking “Force stereo playback”.
  • Another solution is to hack the realplay script, you can get the details from here http://ubuntuforums.org/showthread.php?t=954664. I wonder if it works on Fedora.

Troubleshooting Real Player Problem

If you have any problem playing real media, you can troubleshoot Real Player problem by running Real Player from the terminal.

cd /opt/real/RealPlayer
./realplay

Check the error message from the terminal and search the web for solution if you can’t find solution in this post.

Cannot Load GTK Module

While fixing my video problem, I’ve encountered some error messages as shown below. Although I’ve fixed these problems; I found that I could still play rm files perfectly without fixing the problem.

  • Gtk-WARNING **: Unable to locate theme engine in module_path: “clearlooks”,
$sudo yum install gtk2-engines gtk2-engines.i686
  • Gtk-Message **: Failed to load module “pk-gtk-module”
$sudo yum install PackageKit-gtk-module PackageKit-gtk-module.i686
  • Gtk-Message **: Failed to load module “canberra-gtk-module”
$sudo yum install libcanberra-gtk2 libcanberra-gtk3 libcanberra-gtk2.i686
libcanberra-gtk3.i686

When All Else Failed! Use Mplayer

I found that MPlayer plays rm files quite well, you need to install all the codecs before able to play rm files.

***End***


Install and Playing Real Player in Fedora 15 (Lovelock)

June 7, 2011

Get Real Player for Linux

Download the latest Real Player for Linux at http://www.real.com/linux. Select “Download the RPM Installer”. The rpm file should be ‘RealPlayer11GOLD.rpm’

Installing Real Player (64-bit)

Since we are installing the 32-bit Player into 64-bit OS, we need to install 32-bit version of lsb as follows:

$sudo yum install -y redhat-lsb redhat-lsb.i686
$sudo rpm -ivh RealPlayer11GOLD.rpm

Note: Alternatively, you could use mplayer or vlc player instead of installing Real Player. I found that mplayer does play rm files well while vlc player play the rm files well, the image get distorted when fast forward.

Real Player Problem: No Video

If you encounter such situation where the Real Player plays audio perfectly but there is no video. Use the solution below:

  • First you need to install the gstreamer plugins:
 $sudo yum install gstreamer-plugins-ugly
  • Since Real Player is a 32-bit application playing in 64-bit operating system, you need to install 32-bit libraries:
$sudo yum install gstreamer-plugins-ugly.i686
  • If you still do not have video after installing the plugins. In the Real Player, go to Tools >> Preference >> Hardware and toggle with “Use XVideo”. Usually the video works when the XVideo is NOT CHECKED.

Automation

I’ve created a script to download and install Real Player. You can download here.

You also need to give execution permission to the script using the command

$sudo chmod +x <script name>

To run the script use the command:

$sudo ./<script name>

Troubleshooting Real Player Problem

If you have any problem playing real media, you can troubleshoot Real Player problem by running Real Player from the terminal.

cd /opt/real/RealPlayer
./realplay

Check the error message from the terminal and search the web for solution.You can also check my post Fixing Real Player Problem in 64-bit Fedora

***End***


Installing VirtualBox on Fedora 15 (Lovelock) Host

June 7, 2011

Update 16 Nov 2011

Hi, check out my new post Install VirtualBox on Fedora 16 Host. The procedure is very much the same, you can use the instructions below for Fedora 15 and Fedora 16.

Installing VirtualBox on Fedora 15 Host System Using YUM

$sudo cp virtualbox.repo /etc/yum.repos.d/
  • Install dkms using the command
$sudo yum install dkms
  • Unlike the previous practice, now you need to specify the version number in order to install VirtualBox. This allows user flexibility to install the previous version of VirtualBox instead of the latest version. The following versions are available:
  • virtualbox-4.0 (latest)
  • virtualbox-3.2
  • virtualbox-3.1
  • virtualbox-3.0
  • virtualbox-2.2
  • virtualbox-2.1
  • virtualbox-2.0
  • To install the latest version of VirtualBox use the command
$sudo yum install virtualbox-4.0

Automation

An installation script was created to automatically configures the repository file and install VirtualBox 4.0. If you would like to use earlier version of VirtualBox, please modify the script yourself. You can download the script at FC15-vbox-install-noarch

***End***


Installing Adobe AIR in Fedora 15 (Lovelock)

June 6, 2011

Update 15 Nov 2011

Please note that Adobe has decided not to support Adobe Air for Linux any more. The installation instructions below is no longer applicable. You could still install the last version of Adobe Air for Linux (version 2.6) from Adobe Archive. Although this version of Adobe works well with most Air apps, please note that you will not be getting any security updates. 

Please check my post Install Adobe Air on Fedora 16 for the installation instructions.

***************************************************************************************************

You need to install Adobe AIR (64-bit) in order to run some Tweeter applications such as TweetDeck and Twhirl. The following is a step by step instructions to install Adobe AIR in Fedora 15 (64-bit):

Configuring Adobe Yum Repository File

  • Please note that you can skip this section if you have already done this part when installing other Adobe products such as Adobe Flash Player. Please continue if you have never configured Adobe repository file for Linux.
  • Download the rpm file yum configuration from http://get.adobe.com/air/ and select “YUM for Linux”.
  • Save the rpm file “adobe-release-i386-1.0-1.noarch.rpm” and close your browser.
  • Use the following command, to install Adobe Flash Player:
$sudo rpm -vhi adobe-release-i386-1.0-1.noarch.rpm
$sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
  • The above command setup the Adobe repository so that you could use yum to download the latest Adobe AIR from Adobe repository.
  • To verify the setup of the repository data make sure that the file /etc/yum.repos.d/adobe-linux-i386.repo is available

Install 32-bit and 64-bit Libraries

  • Before you install Adobe AIR, you need to ensure that all the necessary libraries (32-bit and 64-bit) are properly installed in the system. The command is (single line):
$sudo yum install -y ld-linux.so.2 gtk2-devel.i686 libdbus-glib-1.so.2
libhal.so.1 rpm-devel.i686 libXt.so.6 gnome-keyring-devel.i686
libDCOP.so.4 libxml2-devel.i686 nss-devel.i686 libxslt.i686
xterm rpm-build

Installing Adobe AIR

  • After you have ensure that all the necessary libraries are downloaded and installed, you can proceed to install Adobe AIR using the command:
$sudo yum install -y adobeair

Automation

I have included a simple script for installing Adobe AIR. You can download the script here. Please read the note before running the script.

You also need to give execution permission to the script using the command

$sudo chmod +x <script name>

To run the script use the command:

$sudo ./<script name>

(Update) Additional Problem Running TweetDeck

After installing Adobe AIR, I could install Twhirl and TweetDeck on my system. However, I encountered additional problem when using Tweetdeck. It produce the following error:

Sorry, Adobe AIR has a problem running on this computer.
TweetDeck is having trouble storing your passwords securely..... etc

Following the instructions from Adobe does not help either. The solution is you need to install the following 32-bit library before running Tweetdeck:

$sudo yum install libgnome-keyring.i686

***End***


									

Software Application Installation and Configuration of Fedora 15 (Lovelock)

June 6, 2011

Update 14 Nov 2011

Please check my latest post

Fedora Software Installation and Configuration Guide (Fedora 15/16)

Updating Fedora 15 (64-bit)

  • Updating Fedora is as easy as Windows. After you start using Fedora for a while, you will notice a message indicating that you need to update the OS.
  • Follow the direction in the message will bring you to the update manager. Follow the instruction in the update manager.
  • You can also use command yum to update the system. Open a terminal window, type
$sudo yum update
  • You need to reboot the system if you have installed new kernel.

Installation and Configuration of Commonly used Applications (64-bit)

  • Most of the popular applications are preloaded with Fedora; you might need to add some plug-ins.
  • For additional software you can install using Activities >> Applications >> System Tools >> Add/Remove Software. The utility will search for the application you intended, download it and install it automatically.
  • You can also use command line (yum) to install the software packages.
  • Fedora uses yum to install and update its software. When connected to the internet it will automatically determine all application dependencies.

Configuring Yum

  • Yum automatically connect to the official mirror sites of Fedora to retrieve latest software packages.
  • You might want to add additional repositories that provide additional software. Two additional sites are recommended, one is rpmfusion.org, the other is livna.org
  • To setup repos from rpmfusion:
$sudo rpm -ivh http://download1.rpmfusion.org/free/fedora/
rpmfusion-free-release-stable.noarch.rpm
$sudo rpm -ivh http://download1.rpmfusion.org/nonfree/fedora/
rpmfusion-nonfree-release-stable.noarch.rpm
  • Setting up repos from livna.org
$sudo rpm -ivh http://rpm.livna.org/livna-release.rpm
$sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-livna

Using Yum

  • To install software using yum just use the command:
$sudo yum install <software packages>
  • To find out details about the software packages use the command:
$sudo yum info <keyword or software packages>
  • You can also perform group install using
$sudo yum groupinstall <group software packages>

Web Browsing

Productivity Suite

  • We don’t use OpenOffice now. The existing developers have start a new project called LibreOffice.
  • However, LibreOffice is not included in the “Desktop Edition” (LiveCD). To install it go to Activities >> Applications >> System Tools  >> Add/Remove Software.
  • Type libreoffice in the search box and click find. With the list given, select the package you want.
  • You also can use command line as follows:
$sudo yum install -y libreoffice-based
$sudo yum install -y libreoffice-writer
$sudo yum install -y libreoffice-calc
$sudo yum install -y libreoffice-draw
$sudo yum install -y libreoffice-impress
$sudo yum install -y libreoffice-math

Utilities

There are some useful utilities such as:
  • Wget is a utility that allows you to download http files from the web using command line. This is a useful tools for automating download.
$sudo yum install -y wget
  • Gparted is a utility that manages disk partition. You can resize your disk partition on the fly. To install this software:
$sudo yum install -y gparted
  • Gnochm is a chm viewer. The command to install this utilities is:
$sudo yum install -y gnochm
  • Unrar is a utility to unpack rar compressed folders. Issue the command:
$sudo yum install -y unrar
  • GCC is GNU C/C++ compiler. Kernel-devel is the kernel headers required to compile kernel files. Both files are required to rebuilt kernel or install drivers.
$sudo yum install -y gcc kernel-devel

PDF Document

  • Fedora has default PDF reader so no installation is required.
  • Fedora has built-in PDF writer; here is the direction of how to use it.
  • For Firefox, select Print >> Print to File, make sure you specify the document type as PDF and also specify the filename and location of the file.
  • For LibreOffice, use ‘Export to PDF’ function.
  • You will need a PDF writer if you intend to use it on any other application that do not have print to PDF or export to PDF capabilities. In this case, you need to install cups-pdf.
  • The command line to install is $sudo yum install -y cups-pdf. PDF writer usually tie to the print function. You just need to use the print function and select PDF writer as the printer. Please search the web if you encounter any problem.

Playing Multimedia Files

  • To play the most common multimedia formats, including mp3, mpeg, rm, QuickTime, WMA and WMV, you need to install additional codec.
  • I would recommend VLC Media Player. When you install VLC Media Player, it includes all the necessary codec.
  • Installing VLC Media Player
$sudo yum install -y vlc
  • To set VLC as the default player, right-click any media file. Select “Properties” and go to “Open With” tab. Click “Show other Application”. Highlight the application you want to set and click “Set as Default”

Installing DvD Playing Applications

  • Playing DVD is more complicated because it involves restricted format. In addition to media player,  you need to install CSS Packages.
  • To check your region setting you need the package “regionset”.
$sudo yum install -y regionset
  • After installation, use the command $regionset. Your region setting will be shown.
  • To install the CSS packages use the command:
$sudo yum install -y libdvdcss

DVD Ripping

  • In the event you need to rip or backup your DVD; you can install various DVD ripper.
  • In this section we will install k9copy
$sudo yum install -y k9copy
  • Please search for k9copy on direction of usage.

Additional Applications

For additional applications, please check my other post:

Automation (For Advanced User)

As I am repeating this process whenever I need to install Fedora in a new system. I’ve created a script to automate the installation.

  • You can download the script FC15-software-install-noarch.
  • After downloading the script, please read the script carefully and hash (#) out any installation option or command that you do not want to use. Any command with a hash (#) in front will not be executed.
  • My script also includes installation of Dropbox and Google Chrome.
  • You need to change the permission to executable by using the command:
$sudo chmod +x FC15-software-install-noarch
  • To run the script use the command:
$sudo ./FC15-software-install-noarch

***End***


Installation of Fedora 15 using Fedora Desktop Edition (Live CD)

June 5, 2011

This installation guide is provided for those who would like to install Fedora 15 (code name: Lovelock) on a PC.

Fedora 15 (64-bit) was installed on a Core 2 Dual PC with 4GB of memory using the media “Fedora 15 Desktop Edition (64-bit)”.

Getting Fedora 15

  • You can download the latest Fedora distribution at http://fedoraproject.org/en/get-fedora-options
  • Select the 64-bit version and download the ISO. The file name is ‘Fedora-15-x86_64-Live-Desktop.iso’.
  • Proceed to burn Fedora Live Desktop into a CD. You can search the web on how to burn an ISO image to a CD.

Hardware Requirement 

Ensure that your hardware meets the minimum requirement:

  • Recommended for text-mode: 200 MHz Pentium Pro or better
  • Recommended for graphical: 400 MHz Pentium Pro or better
  • Minimum RAM for text-mode: 256MB
  • Minimum RAM for graphical: 512MB
  • Recommended RAM for graphical: >512MB
  • The hard disk space required depends on what application you choose to install. For Desktop Edition installation, you will require 2-3GB of hard disk space. You might need up to 6GB of disk space after updates and installation of additional applications.
  • It is recommended you have a hard disk space of 9GB to 15GB for the operating system and applications. You might need additional hard disk space for user data.

Getting Help

Important Features and Changes

  • The most obvious changes to Fedora 15 is the inclusion of GNOME 3. This is an entirely new desktop interface.
  • Other system enhancement includes replacing SysVinit and Upstart with systemd, inclusion of /run directory, provides a dynamic firewall management and improving virtualization support.

Installing Fedora 15

  • You can try out Fedora 15 without making any changes to the hard disk by booting up and running the Desktop Edition.
  • The new interface from GNOME 3 looks like this:
  • To install the operating system to the hard disk. Go to Activities and on the sidebar (left hand side), there is a short cut icon “Install to Hard Drive”. Alternatively, you could select Applications >> System Tools and select “Install to Hard Drive”.
  • The installation program starts with the screen below. You are required to select the type of keyboard
  • The next screen allows you to choose the disk storage system. Choose “Basic Storage System”.
  • Next, you are required to enter the host name of your computer. You need to supply the host name using the internet format localhost@domain.com. Local host is the name of the computer; domain name is use when you have an Internet domain. For personal use and home use, you can use the defaults.
  • Select your time zone
  • Enter the root password
  • The next stage, is to designate the drive partition where Fedora is to be installed.
  • If you have only one primary drive, you should let the system configure the drive by selecting the defaults.
  • If you are familiar with the Linux partition, you could customize your drive system.
  • In addition, you have the option to encrypt the whole hard disk or a single partition.

Fedora Partition and Customization

By default, Fedora create a 500MB boot partition (/boot), then it allocates the rest of free space to LVM Group. Under LVM Group, besides few gigabytes of hard disk space is allocated to swap file, the rest of disk space is allocated between root partition (/) and home partition (/home).

  • Standard Partition – boot partition (/boot) 500MB
  • LVM Group
  • root partition (/)
  • home or user data partition (/home)
  • swap file (usually equivalent to your memory size)

LVM (Logical Volume Manager) is a partition management technology that allows multiple physical hard disk to be logically bind into a single volume. This is beneficial especially in a server environment or if you have huge data that span into multiple hard disk

At a minimum, you need to have a boot partition, a root partition and a swap file. The following is my custom configuration. Please note that I use standard partition instead of LVM technology.

  • Standard Partition – boot partition (/boot) 500MB
  • Standard Partition – root partition (/) the rest of hard disk space
  • Standard Partition – swap file (usually equivalent to your memory size)

Using Default: Replace Existing Linux System

  • If you let the system configures the hard disk for you, you can select “Replace Existing Linux System”. If you want to know what how the system is going to configure your hard disk, check “Review and modifying partition layout” and click next.

  • If you have a system with multiple hard disk, you have to choose which hard disk do you want your operating system and boot loader to be installed.
  • This screen shows you how the system configures the hard disk. Those partitions with a tick are the ones the system will change.

Customize and Create Partition

  • The following section is for customizing disk partition, you can skip this section of you are letting the system configures the disk partition for you.
  • Select “Create Custom Layout” from the previous screen.
  • If you have multiple hard disk in the system, you will not be asked which hard disk to installed the operating system or boot loader. The boot loader will automatically installed in sda (the first disk in your SATA system). To select the target device to install the operating system and boot loader, you need to select “Replace Existing Linux System, configure that target device for OS and boot loader. Click “Back” button and select “Create custom Layout”.
  • The following screen show all your hard disk and partition information. You need to understand how Linux named the hard disk and partitions.
  • Depends on the position in the SATA channel, your physical hard disk is labelled as sda, sdb, sdc…and so on. The system will display the hard disk model such as WD4000AAKS with the label (sda or sdb..). It would be a challenge if you have multiple hard disks of same make and model in the same system. You need to identify which physical hard disk belongs to sda or sdb etc. Within a physical drive such as sda, the partitions are labelled sda1, sda2, sda3…etc.
  • Select “Create” to create new partition. You need to specified if it is a LVM volume or standard partition.

  • Then you need to configure the partition by selecting the mount point, physical disk and the size of partition as shown below:
  • Note: Please select”ext 4″ for file system when configuring the boot partition and root partition. The file system for swap file is swap.
  • The partition summary shows how the hard disk is partitioned. Please note that at this point nothing has been written yet, you can make changes.

  • Finally you need to confirm the settings and make the changes

Configuring Boot Loader

  • After the partition is set up, you need to configures the boot loader.

  • You can also choose to list operating system from other partitions or remove the listing. I choose to remove the lisitng of other operating system.

Special Note: Usually, I place the boot loader on the same physical disk that I’ve installed the operating system. If you’ve use the option “Replace Existing Linux System”, you have the choice to specify which hard disk to configures the boot loader. If you’ve use the option “Create Custom Layout”, the boot loader is automatically install in sda. If you want to change from sda to sdc, you need to use the option  “Replace Existing Linux System” and click back and choose “Create Custom Layout” again.

Completion of Installation

  • After configuration of the disk system, the installation program proceeds with the installation of the operating system by copying live image to the hard disk.
  • Once the operating system is copied to the hard disk, you will be asked to exit the operating system and reboot.
  • At this stage the installation is 90% complete. However, you still need to complete the final phase of installation after reboot.

Post Installation Setup

  • First you need to accept the license agreement.
  • Then you need to register a user. Check the box “Add to administrative group”. This allows you to perform sudo command.
  • Next, configures the system date and time
  • I prefer to synchronize the system time with the Internet.
  • And finally you are asked to send hardware profile.
  • The installation is completed when the system prompt the user for login ID.
  • Once is system is up and running, you need to update the operating system IMMEDIATELY and  reboots the virtual machine as new kernels are updated on the system.
  • Please note that the system is mute by default, you need to clear the mute check box before hearing sound.

After the Installation

  • After the installation you need to update the system by selecting Applications >> System Tools >> Software Updates.
  • Alternatively, you can use terminal window and run the command $sudo yum update.
  • Please check the post on Application Installation and Configuration of Fedora 15 (Lovelock) on how to install various useful applications.
  • You could also check the following post for various types of configuration:

*** End ***


Fedora 12 Software Installation and Configuration Guide

December 10, 2009

Updating Fedora (32-bit/64-bit)

  • Updating Fedora is as easy as Windows and it is automated. You will notice a message indicate that you need to update the OS.
  • Follow the direction in the message will bring to the update manager and follow the instruction.
  • You can also use command yum to update the system.
  • Open a terminal window, type $su
  • Enter root password
  • Type #yum update

Installation and Configuration of Commonly used Applications (32-bit/64-bit)

  • Most of the popular applications are preloaded with Fedora; you might need to add some plug-ins.
  • For additional software you can install using System >> Administration >> Add/Remove Software. The utility will search for the application you intended, download it and install it automatically.
  • You can also use command line (yum) to install the software packages.
  • Fedora uses yum to install and update its software. When connected to the internet it will automatically determine all application dependencies.

Configuring Yum

  • Yum automatically connect to the official mirror sites of Fedora to retrieve latest software packages.
  • You might want to add additional repositories that provide additional software. Two additional sites are recommended, one is rpmfusion.org, the other is livna.org

To setup repos from rpmfusion:

Setting up repos from livna.org

Installing Yum plugins

  • Yum has many plugins available, the default plugins is presto. This plugins reduce download time by downloading only the changes in the software packages.
  • I would also recommended you to install the fastestmirror plugin, it speeds up downloads by attempting to find faster sources.
  • To install the plugin:# yum install yum-plugin-fastestmirror

Using Yum

  • To install software using yum just use the command: #yum install <software package>
  • To find out details about the software packages use the command: #yum info <keyword/name software package>
  • You can also perform group install using #yum groupinstall <software group>

Web Browsing

  • Firefox is preloaded with Fedora; you just need to install additional plug-ins.

Firefox Plug-ins: Google Toolbar

  • Go to the site where Google toolbar is hosted and install directly from the web.

Productivity Suite

  • OpenOffice is not included in the LiveCD. To install it go to System >> Administration >> Add/Remove Software.
  • Type openoffice in the search box and click find. With the list given, select the OpenOffice package you want.
  • You also can use command line as follows:
    • #yum install -y openoffice.org-impress
    • #yum install -y openoffice.org-calc
    • #yum install -y openoffice.org-writer

Utilities

There a a couple of useful utilities such as:
  • Gparted is a utility that manages disk partition. You can resize your disk partition on the fly. To install this software:
    • #yum install -y gparted
  • Gnochm is a chm viewer. The command to install this utilities is:
    • #yum install -y gnochm
  • Unrar is a utility to unpack rar compressed folders. Issue the command:
    • #yum install -y unrar
  • GCC is GNU C/C++ compiler. Kernel-devel is the kernel headers required to compile kernel files. Both files are required to rebuilt kernel or install drivers.
    • #yum install -y gcc kernel-devel

PDF Document

  • Fedora has default PDF reader (evince) so no installation is required.
  • For 32-bit OS, you might consider install Adobe PDF reader or Foxit PDF reader.
  • Fedora has built in PDF writer; here is the direction of how to use it.
    • For Firefox, select print >> print to file, make sure you specify the document type as PDF and also specify the filename and location of the file.
    • For OpenOffice, use ‘Export to PDF’ function.
  • You will need a PDF writer if you intend to use it on any other application that do not have print to PDF or export to PDF capabilities. In this case, you need to install cups-pdf.
  • The command line to install is #yum install cups-pdf. Please search the web for direction of usage and configuration.

Playing Multimedia Files

  • To play the most common multimedia formats, including MP3, Mpeg, rm, QuickTime, WMA and WMV, you need to install additional packages; when you install VLC Media Player, yum install will includes all the necessary codec.
  • Playing DVD is more complicated because it involves restricted format. In addition to media player such as Xine or VLC, you need to install CSS Packages.
  • Although Fedora comes with Totem Movie Player, it lacks DVD functions such as navigation through the menu, titles etc. I would recommend using VLC Player or Xine.

Installing Media Player

  • To install VLC Media Player: #yum install vlc
  • To set VLC as the default player, open any File Browser. Select Edit >> Preference >> Media
  • To install Xine: #yum install xine xine-lib-extras xine-lib-extras-freeworld

Check Region Setting

  • To check your region setting you need the package “regionset”.
  • Open a terminal window with root access
  • #yum install regionset
  • After installation, from command line enter: $regionset. Your region setting will be shown.

Installing CSS Packages

  • To install the CSS packages use the command: #yum install libdvdcss

DVD Ripping

  • In the event you need to rip or backup your DVD; you can install various DVD ripper.
  • In this section we will install k9copy
  • #yum install k9copy
  • Please search for k9copy on direction of usage.

*****

Installing Adobe Flash Player

Pre-Installation Setup (32-bit/64-bit)

  • Download the yum configuration from http://get.adobe.com/flashplayer/ and select ‘YUM for Linux’
  • Save the rpm file ‘adobe-release-i386-1.0-1.noarch.rpm’. Quit your browser.
  • Open a terminal window and enter su. Enter the root password to gain root access.
  • Enter #rpm -vhi adobe-release-i386-1.0-1.noarch.rpm
  • Enter #rpm – -import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
  • The above command setup the adobe repository so that you could use yum to download the lastest from adobe repository.
  • To verify the setup of the repository data make sure that the file /etc/yum.repos.d/adobe-linux-i386.repo is available

Installing Flash Player (32-bit)

  • For 32-bit Fedora issue the command:
    • #yum install flash-plugin nspluginwrapper alsa-plugins-pulseaudio libcurl
  • Launch your browser to verify in the flash player is properly installed.

Installing Flash Player (64-bit)

  • For 64-bit Fedora, you need to install a 32-bit plugin that will work with the 64-bit browser by being “wrapped” with nspluginwrapper. The command is:
    • #yum install flash-plugin nspluginwrapper.x86_64 nspluginwrapper.i686 alsa-plugins-pulseaudio.i686 libcurl.i686
  • Launch your browser to verify in the flash player is properly installed.

*****

Installing Adobe AIR

Pre-Installation Setup A (32-bit/64-bit)

  • Adobe AIR 1.5 for Linux is available at http://get.adobe.com/air/. The file name is ‘AdobeAIRInstaller.bin’
  • You might want to setup the installation log so that you could review the log if you encounter any problem. To do this, you need to create the log file at your home directory instead of root. Do not use root access for the following command:
    • $touch ~/.airinstall.log
    • $touch ~/.airappinstall.log
  • You need to change the permission of AdobeAIRInstaller.bin. You need root access to change permission.
    • #chmod +x AdobeAIRInstaller.bin

Pre-Installation Setup B (32-bit)

  • For 32-bit installation of Adobe AIR. You need to install xterm:
    • #yum install xterm

Pre-Installation Setup B (64-bit)

  • For 64-bit installation, we are installing 32-bit Adobe AIR in the 64-bit OS. Addition libraries and software are required as follows:
    • #yum install -y gtk2-devel.i686 nss.i686 nss-softokn.i686 libxml2-devel.i686 libxslt.i686 gnome-keyring.i686 rpm-devel.i686 alsa-plugins-pulseaudio.i686 PackageKit-gtk-module.i686 libXt.i686 gtk2-engines.i686 libcanberra-gtk2.i686 xterm

Running Adobe AIR Installation Program (32-bit/64-bit)

  • This is an interactive setup. For any error please refer to the .airinstall.log located at your home directory. You launch installation program from the folder where the software is located. Install the program as follows:
    • ./AdobeAIRInstaller.bin

Problems Running AIR Application (32-bit/64-bit)

  • On Fedora 12, you would not be able to install or run any AIR application. This is probably due to SELinux security policy.
  • To resolve this issue, we need to rename the crypt folder under the certificates folder. Use the following command:
    • #mv /etc/opt/Adobe/certificates/crypt /etc/opt/Adobe/certificates/crypt_bkp

Installing AIR Application (32-bit/64-bit)

  • You should be able to install any AIR application directly from the web.
  • During the installation, user will be prompt for root password.

Removing AIR Application (32-bit/64-bit)

  • Removing AIR application is a bit tricky. First you need to search for the full application name as follows:
    • #rpm -qa | grep twhirl
  • Then you remove the application using rpm as follows:
    • #rpm -e de.makesoft.twhirl.0ea062bc275e7ed1e6ec3762effd73c7158adf33.1-0.9.4-1.i386
  • Alternatively, you can use the following command to erase and query the application name at the same time.
    • #rpm -e `rpm -qa | grep twhirl`
    • #rpm -e `rpm -qa | grep tweetdeck`
    • Note: Please note that the quote is a back tick, the key is above [Tab] key.

*****

Installing Real Player

Get Real Player 11 for Linux

Installing Real Player for 32-bit Fedora

  • To install Real Player, you need to install redhat-lsb before installing the player:
    • #yum install -y redhat-lsb
    • #rpm -ivh RealPlayer11GOLD.rpm

Installing Real Player for 64-bit Fedora

  • Since we are installing the 32-bit Player into 64-bit OS, we need to install 32-bit version of lsb as well:
    • #yum install -y redhat-lsb redhat-lsb.i686
    • #rpm -ivh RealPlayer11GOLD.rpm

Note: Alternatively, you could use mplayer or vlc player instead of installing Real Player. I found that mplayer or vlc player do not play the rm files well.

*****

Installing Virtual Box (32-bit/64-bit)

Installing VirtualBox on Fedora 12 Using YUM

  1. Before installation please make sure that you are using the latest kernel. If you have just updated a new kernel, you must boot into the new kernel before proceed with the installation.
  2. First you need to download the repository file for yum located at http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo
  3. Then you need to move or copy the repo file to yum depository folder:
  4. #mv virtualbox.repo /etc/yum.repos.d/
  5. Install dkms using the command: #yum install dkms
  6. Proceed with the command: #yum install VirtualBox
  7. Reboot the PC since kernel file has been modified

Installing Linux Guest

You can install any guest OS including Windows or other distribution of Linux. Please consult the installation guide on installing the operating system you want.

Installing Linux Guest Addition

Before installing Linux Guest Addition, make sure the guest OS is updated.

  • To install Linux guest addition, you’ll need GCC compiler, Linux kernel header and dkms. Use the command:
    • #yum install gcc kernel-devel dkms
  • Next, you need to mount the CD ISO and proceed to the main folder. Run the appropriate guest addition base on your guest OS architecture. For 32-bit Linux guest use:
    • #./VBoxLinuxAdditions-x86.run
  • For 64-bit Linux Guest use the program below:
    • #./VBoxLinuxAdditions-amd64.run

After installation of guest additions, you can move your mouse freely between guest and host OS. You can expand your screen size by resizing the virtual OS windows.

Sharing Folder with Host System

To share network folders, you need to configure a share folder with a share name in the virtual machine settings.

  • Then in Linux, you need to mount the share folder using VirtualBox file system:
    • #mount –t vboxfs name_of_share_folder /mnt/mount_point
  • Please note that the above mounted folder is owned by root. To allow user to own the files and folder use the command:
    • #mount -t vboxsf -o uid=1000,gid=1000 name_of_share_folder /mnt/mount_point
    • Where uid is the user id and gid is the group id.
  • If you want to have it mount automatically upon each boot, put the mount command in /etc/rc.local. Using /etc/fstab has little effect, because that  file is processed before the SF module is loaded and will fail to mount the share.

*****

Installing Compiz (32-bit/64-bit)

Installing Proprietary Nvidia Driver

Important: This procedure involves in modifying the kernel. You need to reboot the PC if you have just updated your kernel before starting this procedure.

  • Open a terminal with root access. Then proceed with the following command:
    • #yum install kmod-nvidia xorg-x11-drv-nvidia
  • After installing the drivers, you need to change some security setting on SELinux:
    • #setsebool -P allow_execstack on
  • Then you need to perform the following to disabled nouveau driver:
    • #mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nouveau.img
    • #dracut /boot/initramfs-$(uname -r).img $(uname -r)

Important: Reboot your PC and ensure that the Nvidia driver is working properly

Installing Compiz

  • Issue the following command to install Compiz:
    • #yum install emerald-themes compiz-fusion-extras emerald compiz-fusion compiz-manager compiz-fusion-extras-gnome gnome-compiz-manager libcompizconfig compiz-fusion-gnome ccsm

Configuring Compiz

You can change the settings using CompizConfig Settings Manager (ccsm) under System >> Preference. However, due to some bug, the changes in ccsm will not affect the system. To rectify this problem you need to change the script file for Compiz in /usr/bin/compiz-gtk

  • Once you open this file, change the following line from:
    • exec compiz –ignore-desktop-hints glib gconf gnomecompat $@
  • to:
    • exec compiz –ignore-desktop-hints glib gconf gnomecompat ccp $@

Enabling, Configuring and Using Compiz

  • You enabled Compiz by select System >> Preference >> Desktop Effect. Choose Compiz.
  • You can change the effects using System >> Preference >> CompizConfig Settings Manager
  • To rotate the Window Cube, press Ctrl+Alt and simultaneously use your mouse to rotate the window.

End.