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.
- 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:
- #rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
- #rpm -ivh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
Setting up repos from livna.org
- #rpm -ivh http://rpm.livna.org/livna-release.rpm
- #rpm – -import /etc/pki/rpm-gpg/RPM-GPG-KEY-livna
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
- 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>
- 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.
- 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
- 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
- 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
- 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:
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
- Download Real Player for Linux at http://www.real.com/linux. Download the rpm file ‘RealPlayer11GOLD.rpm’
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
- 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.
- First you need to download the repository file for yum located at http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo
- Then you need to move or copy the repo file to yum depository folder:
- #mv virtualbox.repo /etc/yum.repos.d/
- Install dkms using the command: #yum install dkms
- Proceed with the command: #yum install VirtualBox
- 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:
- For 64-bit Linux Guest use the program below:
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
- 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
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 $@
- 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.