Fedora Core Getting Started

What is Fedora Core?
Installation
Out-Of-The-Box Experience
Filling In The Gaps
A Word About Permissions
Software Installation Made Easy
Common Requirements

This article is about how to use Fedora Linux as an operating system instead of Windows 2000 or XP. What programs to run, what programs to install, how to install those programs easily, and some other tips that might help you with specific tasks.

What is Fedora Core?

Fedora Core is a new open source group project to create a distribution of Linux based on the old consumer version of Red Hat Linux. Since Red Hat no longer intends to sell to the consumer market and wants to focus instead on enterprise sales, they spawned this new project together with some people who were working on making software available for consumer Red Hat. It is called Core because it will form the core of the new Linux releases Red Hat will be selling (including the aforementioned enterprise version).

It is free, it comes with some of the very latest software included (e.g. Gnome 2.4, Open Office 1.1, etc.) and it is slick. You can download it here and I recommend using BitTorrent to download it if you can, I was able to get all three of the necessary binary discs in around five hours over a cable modem. That's very very fast for almost two gigabytes of data. If you do not have high speed access to the Internet to download Fedora you can get commercial companies to mail you the burned discs containing the software for as little as $6(US) (it's legal because the open source licenses allow anybody to duplicate the software and make it available). Look on the DistroWatch.com site, they normally have two or three vendors advertising discs at any given time.

Installation

If you aren't already familiar with installing consumer Linux distributions like Red Hat 9.0 the installation of Fedora Core may take you by surprise. It's graphical, it's simple (at least as simple as installing any recent Windows release), and the final result is graphical, user friendly in lots of areas, and often quite attractive. It's not perfect yet, but it's hard not to think that by the time Microsoft gets around to releasing Longhorn (their codename for the next Windows version) in the 2005-2006 timeframe that Linux will have done a lot of catching up.

When you boot with the first install disc in your drive Fedora doesn't start with these nice graphical screens. Instead, like Windows, you will first see a couple of test screens which let you check the memory in your machine if you want to or check to make sure your discs are all readable and will work for the installation. After that it will start up the graphical installer you see below to perform all the real installation.

Install Screens From Fedora Core
Screenshots in this section courtesy of the LinuxInstall.org Project

After the installation your computer will reboot and you will go through a simple configuration procedure to get your computer ready for use. It includes such things as setting the time, setting the password for the "root" user, and creating other user accounts.

Post Installation Setup on Fedora Core
Screenshots in this section courtesy of the LinuxInstall.org Project

Out-Of-The-Box Experience

A fresh Fedora desktop.


Screenshots in this section courtesy of the LinuxInstall.org Project

Note: All of the following assumes that you used the defaults during installation of Fedora Core. If you picked different defaults then you might not have pieces like XMMS (an audio player like WinAmp) already installed and you'll need to add those as you go along. It doesn't really hurt anything, it will just add a few extra steps here and there.

Many of the tools you are likely to need for everyday use come with Fedora Core but you might not recognize them if you are more familiar with Windows tools. For example, Mozilla is the most commonly used browser under Linux. It takes the place of Microsoft's Internet Explorer (IE) and in my opinion does a much better job than IE does. Here's a quick table listing some common equivalences:

Internet Explorer
Mozilla
Adobe Photoshop
The GIMP
Adobe Acrobat Reader
GPDF
WinAmp
XMMS
Microsoft Outlook
Ximian Evolution
Microsoft Word
OpenOffice Writer
Microsoft PowerPoint
OpenOffice Impress
WinZip
File Roller
Notepad
gedit
ICQ/AIM/MSN Messenger/Trillian
Gaim
Audiograbber
Sound Juicer

As time goes by I hope to talk about all of these applications and provide screenshots and some basic information for each one, in the meantime though I've singled out just a few for further attention. Click on the links to see more information on each one.

Filling In The Gaps

As a long time Windows user there are certain pieces of software and certain capabilities that I really expect to have. For example, I expect to be able to view and interact with the same multimedia elements as my Windows counterparts. Music files (.MP3, .WAV, and .OGG), video files in various formats (.WMV, .MPG, .MOV, .RM, .AVI), video discs (VCD, SVCD, DVD), etc. are all things you can hardly go three clicks on the Internet without stumbling across. I need to be able to view/listen to all of them.

The following software addresses many of those needs and installation of it is really really simple. In fact it is easier than installing similar software on Windows usually is. To get to that level of ease does take a couple of steps though so you will want to read the sections below entitled A Word About Permissions and Software Installation Made Easy eventually to add the Apt and Synaptic software to your machine. In the meantime, first read about some of the software that Apt and Synaptic can get for you.

Video (Totem)

As soon as you install Totem it is capable of displaying a wide variety of videos including SVCD and VCD discs, .MPG files, as well as certain kinds of .AVI and .WMV files. But with the addition of various codec (coder-decoder) packs which are easily installed you can make it display anything from a .MOV file to .RM, .ASF and lots more.

Totem plays video quite well, in this case handling MPEG2 with ease.

Installing: Use Synaptic to search for totem, install, proceed. Note: It will ask you about adding a slew of other packages which Totem needs to be able to function. Just say OK.

Now go to MPlayer's download site for Windows 32 bit Video Codecs and download the links Latest Win32 codecpack, QuickTime6 DLLs (should be faster), and RealPlayer9 codecs (including RV40). Create a directory called /usr/lib/win32 and put all of the contents of the ZIP files you just downloaded. Note: All of the files must go directly into the win32 directory. If you put them into subdirectories under win32 (which is how they come in the ZIP files) then Totem will not see the codecs and you will not be able to play all the different kinds of video.

Running: The program is located on the Fedora menu under Sound & Video/Totem Movie Player.

Flash

Flash is a kind of interactive scripting tool with a heavy orientation towards graphics and animation. As you browse the web you will encounter many sites which use it for visual interest, interactive menus, advertisements, games, etc. Not having the plugin can definitely put a crimp in some otherwise enjoyable web surfing so you want to have it installed and working.

Installing: With Synaptic installed, getting the flash plugin is as easy as searching for "flash" in the "Find Package field on Synaptic's user interface. It will locate the package you want, you select it, and then click the "Install" button to add it to the list of items to install followed by the "Proceed" button to execute the installs/removes you've requested.

Running: Since it's a Mozilla plugin, it will be used on any web page where Flash was used. Try going to the Macromedia home page to check your installation. Normally they will have animation and interactivity (moving stuff that happens when you mouse over various things) that is all done with Flash.

MP3 (XMMS-MP3)

Due to licensing issues Fedora, like Red Hat before it, includes support for the .OGG music format (which is really excellent quality) but it doesn't include support for .MP3. This is because one of the creators of the MP3 format claims patents which make both Red Hat and Fedora nervous and they've decided it is better to avoid the issue rather than get sued at some later date.

But you don't really care about what gives the Fedora project cold feet, you just want to be able to play all your old .MP3 files. So here's how you can make XMMS play a .MP3 file as easily as a .OGG file.

Installing: Do a search in Synaptic for "mp3" and you'll find a package named xmms-mp3. Use the "Install" button to add it to the list of programs to install and hit the "Proceed" button when you are done to finish the installation.

Running: Run the XMMS audio player (a virtual clone of Winamp 2) and it will now play both .OGG files and .MP3 files. It is located on the Fedora menu as Sound & Video/Audio Player.

Java And The Java Plugin For Mozilla

Along with Flash, I can't imagine trying to navigate the Internet without Java. Without the pair of them there is a huge amount of game and other interactive content you won't be able to access.

Installing: First you'll need to download Java for Linux. Download either the Linux RPM file or the Linux file. Both have instruction links beside them which tell how to install the software. Installation is really not complex. You type a few things at the command line exactly the way they tell you to and you'll have it installed.

Making Mozilla handle Java on web pages is covered in the same documentation but I'll tell you that its as easy as running the following two commands in a terminal (see the section on permissions below before you attempt to do this, you'll need root permissions to execute the second command):
cd /usr/lib/mozilla/plugins
ln -s /usr/java/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so .
For extra credit follow the instructions for installing Java Web Start (it's an extra step or two at the end of the installation instructions). If you do that then you can install nifty software like HotSheet (shameless plug, I wrote this) and JDiskReport with only a single click on a web page link.

Running:

A Word About Permissions

You aren't going to get far installing new software or making changes to a Linux system unless you have the right permissions. There are several ways to go about getting them:
  1. Login as root and make the changes or use the su command to change to the root user to install Apt & Synaptic.
  2. Give the user you normally run as permissions to change almost anything. This is a bad idea.
  3. Edit your /etc/sudoers file to add yourself to the list of those with privileges to perform actions. Then you can prepend commands that require administrative privileges like rpm with the sudo command (i.e. sudo rpm -i apt-0.5.5cnc6-0.fdr.8.rh90.93.i386.rpm) to get the privileges you need to execute one and only one command. That provides more security in the system because it doesn't leave you logged in with permissions where you might do unintentional damage.

Software Installation Made Easy

Apt and Synaptic Are Your Friends

One of the best things about the partnership between the Fedora project and Red Hat to produce this new Linux distribution is that there is now a strong emphasis on making sure that there is lots of useful software readily available and easy to install. You've already seen some of the neat software you can install and I've made a point of telling you how easy it is to install with Synaptic.

What Synaptic does is give you a simple GUI where you can pick software to install and then install that software. Synaptic uses another piece of software called Apt behind the scenes to perform the actual installations but you won't see any of that. Your only exposure to Apt will be to make sure it gets installed before Synaptic when you are first installing the software. Once both are installed then you can install dozens and dozens of programs with point and click ease.

Synaptic provides a GUI interface for apt

Installing: Go to the Fedora How-To to get the apt and synaptic programs. With the two files (both ending in .RPM) downloaded you can now install them quite easily.

Here's the Apt and Synaptic RPMs ready for installation.

To install the programs just double-click on the Apt file first. Fedora will ask you for the root password so it can install the new software. Once that has completed repeat the same process with the Synaptic file.

After you install Synaptic, run it for the first time using the instructions below and click the "Update List", "Upgrade All", and "Proceed" buttons. This will probably upgrade one or more programs on your system. Then you need to follow the instructions at Livna (in the Fedora section) to add another repository to the list of repositories which Apt and Synaptic know about. You must have the Livna repositories in your list or you won't be able to get multimedia programs like Totem or XMMS-MP3.

A repository is a place which stores a group of software programs for download and installation. Both Apt and Synaptic are capable of getting lists of programs from multiple repositories, presenting them, getting your selections and downloading programs from one or many locations for installation.

Running: Find Synaptic on the menu under System Settings/More System Settings/Synaptic. Unless you are currently logged in as root it will ask you for the root password so it can install new programs.

Almost all the installs above followed the same pattern under Synaptic. Just type a search into the "Find Package" (a package is Fedora lingo for a program or group of programs you can install) area on the Synaptic interface and hit enter. It will list a set of categories containing packages that matched your search. Pick individual ones from the list, hit the "Install" button, and then when you've selected all the packages you intend to install hit the "Proceed" button.

Common Requirements

Running Software On Startup

If you have certain programs you need to have run every time you login, there are two ways to get there. One way is when you log out, shut down, or restart your machine you are given a chance to "Save Your Setup" on the same dialog that asks if you are sure about exiting. Check the box and the next time you start up, the same programs you were running when you shut down will be started up again. It's not perfect but it works pretty well.

The other way is to explicitly list the programs you want to run. To do that run Preferences/More Preferences/Sessions and click on the Startup Programs tab. From here you can add/edit/delete programs which you want run when you login. It's a lot like the Windows startup folder except that you have more control over what gets run and exactly how it is run.

This is the session setup program, click on the Startup tab to add programs to run after you login.

Connecting A USB Memory Key

If you've purchased a USB memory key to move data between systems then you may well be familiar with how easy Windows 2000, XP, etc. can make this. Just plug it in and it will show up as a new removable drive on the system. Although work is being done to make it every bit as easy on Linux, at present it still takes some manual steps to set things up initially. Here's what has worked for me on a couple of systems with the USB key I use (from Nexdisk). I first run System Tools/Hardware Browser on my system. Even though the drive isn't yet available for me to read from and write to, it still shows up in the list of hard drives on the system underneath the Hardware Browser.

The Fedora Hardware Browser showing available "hard drives"

In this case you can see it as /dev/sda1 in the list of hard drives. It shows up as a 62MB fat16 (aka vfat) drive on my machine. Equipped with that knowledge I can make this USB key available on my system.

The way I do that is actually fairly easy. First I have to create an empty directory somewhere on my hard drive. That empty directory will be the "mount point" for my drive and after I've mounted it I'll go to that directory and anything I do inside it will actually be interacting with the usbkey. I can copy files there, move them out, delete them, etc. and it will just appear to be a normal part of my file system. No Linux program will treat the key any differently than any other part of my file system.

The second step is to edit the /etc/fstab file (which requires root permissions). At the end of the file I put a line like this one:
/dev/sda1       /mnt/usbkey vfat defaults,noauto,user 0 0
I won't go into detail on this line because honestly I can't. I can tell you that it specifies the device to mount (what you found using the Hardware Browser), the directory where it will be mounted (/mnt/usbkey in this case but whatever you created in yours), and vfat specifies the file system type on the drive. Almost all keys you encounter are going to take vfat in that spot I've been told.

Once you've got the above line in the file and you've saved the file you can right click on the Fedora desktop and you will see a "Disks" item on the context menu that pops up. Underneath the menu you should see a usbkey entry. Select that entry and if you've done everything correctly a new drive icon will appear on your desktop and you can copy to/from it, etc. Before you remove the key you must unmount it so any data writing not yet done can be completed. Just right click on the drive icon and select the "Unmount Volume" entry. After the icon disappears and only after the icon disappears should you remove the key from the machine.

Assigning Functions To Extra Keys On Modern Keyboards

If you want to see me grouse at length on the topic of keyboard support you can read my article Why Johnny Can't Hit Volume Up. The short version of it is that keyboard support on Windows for anything beyond the basic 101 keys depends on having current drivers which are usually unique to a given keyboard. So if you end up with an unsupported albatross like the old Yahoo! keyboard you may find you can't use the extra keys on the keyboard with Windows some day down the road if a new version of Windows ships which cannot load the old driver which came with the keyboard. In this department Linux fares slightly better because you can get tools which will let you map any key to some function provided you can just identify the keycode the keyboard sends when one of the extra keys is pressed. So there can't ever be a period where a given keyboard ends up completely unsupported.

On the other hand, Linux has other problems because the best tool I've found to perform this key to function mapping is Hotkeys and it lacks any kind of graphical user interface. So you end up having to resort to editing a couple of text files to assign functions to your keyboard keys.

Installing A New Font

To install a new font on Fedora you bring up the Preferences/Font program from the Fedora menu. Click on the "Details..." button and on the dialog which comes up, click on the "Go to font folder" button. This will bring up a folder which shows you all of your currently installed fonts.

Nautilus shows all the fonts installed on the system.

Now you can just drag and drop a font file (Fedora uses the same True Type .TTF files as Windows) into this directory and it will be automatically copied to a hidden subdirectory of your home directory called .fonts. For some reason the font does not show up in the list of fonts even though it is already copied to the correct directory and it will show up in many other programs which show font lists. Only after you log out and log back in again (which shuts down Nautilus and restarts it) will the new font appear in the list above.

Fedora Resources

No one document can be all things to all people. That's why I've got an ever-growing list of other Fedora resources out on the web:

FedoraNEWS.org
Fedorazine - Fedora News
The Unofficial #fedora FAQ
HOWTO Build a MythTV System on Fedora Core w/ATrpms

Future Directions

  • Explain the directory structure of Linux
  • Put Sound Juicer in instead of Grip
  • Open Office 1.1 (links to reviews?)
  • Burning CDs (Audio, Video, Data, ISO)
  • Section on installing nVidia drivers
  • Finish keyboard document

Creative Commons License
This work is licensed under a Creative Commons License.

`