Fedora 14 FAQ
- What is this Fedora thing?
- What is the difference between Fedora and Red Hat Enterprise Linux?
- Is it unstable?
- Has it been released?
- Where can I find a list of all the programs that come with Fedora (a package list)?
- When is the next version of Fedora coming out?
- How can I help out the Fedora Project?
Installing Fedora
- Where do I get it?
- Can I install on ReiserFS or JFS?
- Can Fedora run on a 64-bit (AMD-64 or Intel-64) computer?
- Can I run Fedora on a Mac?
Using Fedora and Installing Software
- Where can I get software for Fedora?
- How do I install software in Fedora? (How to use yum or an RPM)
- Is there anything like apt for Fedora?
- How do I install a working Java plugin for my web browser?
- How can I install Flash in Firefox?
- How can I see PDF files inside my browser?
- How can I watch movies in my web browser?
- Can I use MSN Messenger/AIM/ICQ/Yahoo instant messaging in Fedora?
- Can I install the standard Windows fonts on Fedora?
- Where can I get drivers for my hardware for Fedora?
- How do I read my NTFS (Windows NT/2000/XP/2003) drive in Fedora?
- How do I edit the menus in the panel?
- How do I install Wine?
- How do I play DVDs in Fedora?
- How do I play MP3s in Fedora?
Problems and Their Solutions
- I get a NOKEY warning from RPM, or I get a gpg signature error when using yum!
- How do I enable 3D support for my ATI Radeon card in Fedora?
- How do I enable 3D support for my nVidia graphics card in Fedora?
- The installer's media check says all my CDs are bad!
- I have strange installation problems.
- I can't access my Windows network shares anymore! People tell me to use the smbmount command, but it doesn't work!
- Y is ur f4q so dum n bad?
The FAQ
About Fedora
-
Q: What is this Fedora thing?
A: First, read About Fedora. You can also read the Fedora Project FAQ, if you want. Now, I'll give you a summary:
Fedora is a Linux distribution from Red Hat that doesn't cost any money, includes only open-source software, and always includes the latest versions of software.
Fedora is a community-supported project. That means that you can be involved in creating Fedora, if you want.
A new version of Fedora comes out every six months or so. When a new version comes out, the previous version becomes unsupported about a year later. This means re-installing your OS every 6 - 8 months (currently upgrades between Fedora versions don't go so well).
The advantage of using Fedora is that you're always on the cutting edge of Linux development, more so than any other major distro, while still having a stable operating system.
Red Hat Enterprise Linux is based on Fedora, so if you want to learn a little about RHEL for free, use Fedora. RHEL6 was based on Fedora 13.
-
Q: What is the difference between Fedora and Red Hat Enterprise Linux?
A: Red Hat Enterprise Linux is officially supported by Red Hat for 7 years. It's a better choice if you're running important machines in production, and you don't want to upgrade your OS all the time. It also has many nice features that are useful if you are running more than a few servers. Also, you can (sometimes) actually call Red Hat and get support for RHEL, which you will never be able to do for Fedora.
Fedora is distributed for free, and RHEL costs money.
Fedora is much more cutting-edge than RHEL is, and Fedora has a larger community of users willing to help out and give free support (like this web page).
Red Hat also has a cool page that answers this question.
- Q: Is it unstable?
-
Q: Has it been released?
A: Yes! Fedora 14 was released on November 2, 2010. To see when new releases are coming out, see the release schedule.
-
Q: Where can I find a list of all the programs that come with Fedora (a package list)?
A: There's a list of the main Fedora packages over at the Distrowatch Fedora Page. You can see a list of all the Fedora 14 packages in the Fedora Package Database.
-
Q: When is the next version of Fedora coming out?
A: A new version of Fedora is released every 6 - 8 months. Specific dates are usually in the Release Schedule. (Thanks to Tom Van Vleck for suggesting this question.)
-
Q: How can I help out the Fedora Project?
A: The Fedora Project needs a lot of people to help in a lot of areas! Can you write documentation? Can you code? Do you know anything about bugs? Can you translate? Would you like to learn about any of these? Are you artistic? Do you just want to help out in any way you can? The Fedora Project has a great page that describes how you can help. Check it out!
Installing Fedora
-
Q: Where do I get it?
A: The Fedora Download Page. There are many versions:
The "Live Media" is a LiveCD--you can just put the CD into your computer and start the OS without installing it. You can also use the LiveCD to install a very basic version of Fedora, if you want.
The "Install Media" contains all the Fedora packages, and you can install from that without having an Internet connection.
Then there's the choice between i686 and x86_64. Here's how to figure out which one you need:
- i686 - If you have a Pentium or Celeron (meaning any Pentium or Celeron, including a Pentium 4, Pentium M, etc.) or the original Core Duo or Core Solo (not a Core 2 Duo or Core 2 Solo).
- x86_64 - If you have a Core 2 Duo, Core 2 Solo, Core i7, i5, i3, Opteron, Athlon 64, Turion 64, Sempron, or anything newer than these. (This also includes most new "Intel Mac" machines.) Almost every new computer sold in the last few years is an x86_64 machine.
-
Q: Can I install on ReiserFS or JFS?
A: Yes, you can install Fedora on ReiserFS or JFS.ReiserFS and JFS are not officially supported by the Fedora Project. (That means that you can use them, but you won't find a lot of official help from the Fedora Project if things go wrong.)At the installer prompt, type this for ReiserFS:
linux selinux=0 reiserfsor this for JFS:
linux selinux=0 jfsNOTE: You cannot use SELinux on ReiserFS or JFS. (If you don't know what SELinux is, you can ignore this warning.)(Thanks to whiprush [quoting Jesse Keating] for this. Thanks to Kai Thomsen for catching an important typo.
-
Q: Can Fedora run on a 64-bit (AMD-64 or Intel-64) computer?
A: Yes, it can! A 64-bit version of Fedora is currently available to download. It works very well. See the question about getting Fedora.You can also run the normal 32-bit version of Fedora on your 64-bit computer, although that's rarely required nowadays.
-
Q: Can I run Fedora on a Mac?
A: Yes, you can! If you have a Core Duo Intel Mac, you want the i686 version of Fedora. If you have a Core 2 Duo or later Intel Mac, you want the x86_64 version of Fedora. (See the question about getting Fedora.) Note that some things may not yet work perfectly on Intel Macs. mactel-linux.org is a good site for information about running Fedora (or any Linux) on a Mactel machine.
If you have a G3, G4, or G5 Mac, there is no longer an installation disc available for your machine for Fedora 13.
Using Fedora and Installing Software
-
Q: Where can I get software for Fedora?
A: The best way to get software is to use the normal software installation tools that come with Fedora, which will download and install things automatically for you. Otherwise, to search for software packages, you can use rpm.pbone.net.
-
Q: How do I install software in Fedora? (How to use yum or an RPM)
A: Fedora has thousands of pieces of software that can be downloaded and automatically installed from the Internet.
Configuring Package Installation
Many of the packages I mention in the FAQ are only available from rpmfusion. To configure your system so that you can install packages from rpmfusion, follow these instructions:
Using the GUI to Install/Update Software
If you have graphical access to your desktop, you can use the graphical tools to install software. Go to the System menu, choose "Administration", and then click on "Add/Remove Software".
Fedora will automatically let you know when updates are available for your software.
Installing Software From the Command Line
Often people want to use install or update software using the command line. For this you use a program called "yum". First become root, and then you can use the following commands:
- To see a list of available software:
yum list available
- To install some software, you type:
yum install packagename
- To update some software, you type:
yum update packagenameIf you leave out "packagename" yum will update all your software.
- To see what updates are available, you can do:
yum check-update
- To search for a package, you can do:
yum search word
Installing Local RPMs
To install an RPM file that you downloaded outside of yum, open up a terminal, and as root do:
rpm -Uvh filename.rpmIf you have Internet access, you can also install local files by doing:
yum --nogpgcheck install filename.rpmWhich is handy because it will automatically download and install any dependencies that that RPM has.
- To see a list of available software:
-
Q: Is there anything like apt for Fedora?
A: APT is a program for Debian and Ubuntu Linux that installs not only the software you specify, but also all of that software's dependencies. It makes installing software much easier. There is a piece of software like this for Fedora, that comes in the standard Fedora installation. It's called yum. It can automatically download and install a program and all of its dependencies, with just one command. I even provide a special configuration that I use for yum on my computer, in the question where I explain how to use yum.
- Q: How do I install a working Java plugin for my web browser?
-
Q: How can I install Flash in Firefox?
A:
- Open a Terminal.
- Become root: su -
- Install the Adobe repository for yum:
yum --nogpgcheck install http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm
- Type:
yum install --exclude=AdobeReader* flash-plugin nspluginwrapper.{i686,x86_64} pulseaudio-libs.i686 alsa-plugins-pulseaudio.i686 libcurl.i686
- Configure Firefox to see the plugin, by typing:
mozilla-plugin-config -i -g -v
- If you have Firefox open, quit and open it again.
- Q: How can I see PDF files inside my browser?
-
Q: How can I watch movies in my web browser?
A: Just install the Totem Plugin:
- Make sure that you're using my yum configuration from the installing software question.
- Open a Terminal.
- Become root: su -
- Install the plug-in:
yum install totem-mozplugin gstreamer-plugins-ugly gstreamer-plugins-bad
- Close all the windows of your web browser and then open it again.
Note that if you have also installed mozplugger from the PDF question, you might get a pop-up movie player instead of having the movie embedded in the page.
-
Q: Can I use MSN Messenger/AIM/ICQ/Yahoo instant messaging in Fedora?
A: Yes! By default, Fedora comes with a simple instant messaging program called Empathy, which supports MSN Messenger, ICQ, AIM, Yahoo! Messenger, and Google Talk, and many other protocols, all at the same time. To start Empathy, click on the Applications menu, go to "Internet," and choose "Empathy IM Client."
If you don't like Empathy, you can use Pidgin, another Instant Messenger program for Linux. To install Pidgin:
Pidgin will then be available in the Applications menu, under "Internet", as "Pidgin Instant Messenger".
-
Q: Can I install the standard Windows fonts on Fedora?
A: Yes, there's also a very easy way to install all of the common Windows fonts on Linux. You don't usually have to do this on Fedora (because it comes with fonts called the "Liberation" fonts that are the same exact size as the Windows fonts), but if you want to do it, here's how:
- Install the
chkfontpath package
from ATrpms. (Click on either the
i686
orx86_64
package, depending on whether you have a 32-bit or 64-bit machine.) - Open a Terminal.
- Become root: su -
- Install some packages you'll need for the following steps:
yum install rpm-build cabextract ttmkfdir wget
- Download the MS Core Fonts Smart Package File:
wget http://corefonts.sourceforge.net/msttcorefonts-2.0-1.spec
- Build the Core Fonts package:
rpmbuild -ba msttcorefonts-2.0-1.spec
- Install the Core Fonts package:
yum install --nogpgcheck /root/rpmbuild/RPMS/noarch/msttcorefonts-2.0-1.noarch.rpm
- Install the
chkfontpath package
from ATrpms. (Click on either the
-
Q: Where can I get drivers for my hardware for Fedora?
A: Most drivers come with Fedora. However, if your driver doesn't come with Fedora, you can see what drivers are available for automatic download:
- Make sure that you're using my yum configuration from the installing software question.
- Open a Terminal.
- Become root: su -
- Run the following command:
yum list akmod-\* \*-drv\* kmod-\* dkms-\*
Fedora NameOfHardwareor:
Linux NameOfHardwareWhere NameOfHardware is the normal name of your hardware. If it has more than one name, keep trying different ones until you get a result.
-
Q: How do I read my NTFS (Windows NT/2000/XP/2003) drive in Fedora?
A: Well, now, that's an easy one! You just have to install the ntfs-3g program! Now you can read and write to your NTFS drives!
For information on how to use your NTFS drive, you can read the NTFS FAQ. (You don't need to worry about /proc/filesystems like it says there, though.)
- Q: How do I edit the menus in the panel?
- Q: How do I install Wine?
-
Q: How do I play DVDs in Fedora?
A: Easy! You just have to install some additional packages for Totem, the Movie Player:
- Make sure that you're using my yum configuration from the installing software question.
- Open a Terminal.
- Become root: su -
- Install the software that Totem needs in order to play DVDs correctly:
yum install libdvdread libdvdcss libdvdnav gstreamer-plugins-ugly gstreamer-plugins-bad
-
Q: How do I play MP3s in Fedora?
A: To play MP3s in Fedora, you have to install a different package depending on which Fedora MP3 player you want to use. If you're not sure which one to pick, Rhythmbox is the standard. It's in the "Applications" menu, under "Sound & Video" -- it's called "Rhythmbox Music Player." It looks kind of like iTunes when you run it. Here's how to install the correct MP3 plugin:
- Make sure that you're using my yum configuration from the installing software question.
- Open a Terminal.
- Become root: su -
- Now, install the correct plugin depending on which MP3 player you
want to use:
- For Rhythmbox or Totem:
yum install gstreamer-plugins-ugly
- For Audacious (which is like XMMS or Winamp):
yum install audacious-plugins-freeworld-mp3
- For Rhythmbox or Totem:
NOTE: For home users in any country (even the USA), there is no legal problem with MP3 players, so you are not doing anything illegal by enabling MP3 support in Fedora. However, if you are in the USA and you want to encode MP3s or use them in a commercial setting, you may be required to pay patent royalties.
Problems and Their Solutions
-
Q: I get a NOKEY warning from RPM, or I get a gpg signature error when using yum!
A: The NOKEY warning is not really a problem. It won't prevent you from doing anything. (The yum error, though, will usually prevent you from installing software.) If you'd like to resolve it, do the following command to get the correct key for the site you're downloading from:
You must be root to do any of this.
- Red Hat and Fedora:
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY*
- rpm.livna.org:
rpm --import http://rpm.livna.org/RPM-LIVNA-GPG-KEY
- FreshRPMs:
rpm --import http://freshrpms.net/RPM-GPG-KEY-freshrpms
- DAG:
rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
- ATrpms:
rpm --import http://atrpms.net/RPM-GPG-KEY.atrpms
- NewRPMs:
rpm --import http://newrpms.sunsite.dk/gpg-pubkey-newrpms.txt
- Dries (RPMForge):
rpm --import http://apt.sw.be/dries/RPM-GPG-KEY.dries.txt
- JPackage:
rpm --import http://www.jpackage.org/jpackage.asc
- kde-redhat:
rpm --import http://kde-redhat.sourceforge.net/gpg-pubkey-ff6382fa-3e1ab2ca
- PlanetCCRMA:
rpm --import http://ccrma.stanford.edu/planetccrma/RPM-GPG-KEY.planetccrma.txt
NOTE: If you install my yum configuration, most of these keys are installed for you automatically.(Thanks to Kai Thomsen for the original location of the ATrpms key, and thanks to Tom Householder for the new location! Thanks to Pim Rupert for the location of the Dries key. Thanks to Anduin Withers for a good idea about how to reorganize this question. Thanks to Dieter Komendera for the new location of the FreshRPMs key.)
- Red Hat and Fedora:
-
Q: How do I enable 3D support for my ATI Radeon card in Fedora?
A: RPM Fusion provides ATI driver RPMs that are designed especially for Fedora.NOTE: If you have nVidia drivers installed, you must un-install them before installing these ATI drivers.Here's how to install them:
- Make sure that you're using my yum configuration from the installing software question.
- Open a Terminal.
- Become root: su -
- Install the driver:
yum install kmod-catalyst
- Shut down X:
init 3
- Log in as root.
- Enable the driver:
catalyst-config-display enable
- Rebuild your kernel configuration (otherwise it may try to load
a conflicting driver during boot) and add some new kernel arguments
to work around conflicts between the Catalyst driver and Fedora:
new-kernel-pkg --kernel-args=nomodeset --mkinitrd --dracut --update $(rpm -q --queryformat="%{version}-%{release}.%{arch}\n" kernel | tail -n 1)
- Reboot your machine:
reboot
If you have any trouble with the RPM Fusion RPMs, please report a bug to the RPM Fusion Bugzilla. -
Q: How do I enable 3D support for my nVidia graphics card in Fedora?
A: There are now nVidia driver RPMs provided by rpmfusion.org that are designed especially for Fedora. Here's how to install them:
- Make sure that you're using my yum configuration from the installing software question.
- Open a Terminal.
- Become root: su -
- Install the driver:
yum install kmod-nvidia
- Rebuild your kernel configuration (otherwise it may try to load
a conflicting driver during boot):
new-kernel-pkg --mkinitrd --dracut --update $(rpm -q --queryformat="%{version}-%{release}.%{arch}\n" kernel | tail -n 1)
- Reboot your machine:
reboot
Note that if you have an older card, you may need to install kmod-nvidia-173xx or kmod-nvidia-96xx. There is a list on the nVidia site that says which cards are supported by which driver.
If you need support for the nVidia drivers, check out the nV News "NVIDIA Linux Forum". (Thanks to Exile in Paradise for this tip.)
-
Q: The installer's media check says all my CDs are bad!
A: There is a bug in the kernel which causes the media check to say some CDs are bad when they are not, on some systems. To do a successful media check, do the following:
- At the installer prompt, type:
linux mediacheck ide=nodma
- Run the media check on your CDs/DVD.
- Reboot, and run the installer normally.
- At the installer prompt, type:
-
Q: I have strange installation problems.
A: If your installation doesn't work, or you have problems during or after installation, first read the latest Release Notes. Also, the Fedora Project provides a detailed installation guide if you'd like any other help while installing.
In particular, you might want to try using the special boot options listed in the Install Guide. Of those, the most-frequently useful are: noapic, acpi=off, and xdriver=vesa.
If any of those commands fixes your problem, please file a bug in Red Hat's Bugzilla.
-
Q: I can't access my Windows network shares anymore! People tell me to use the smbmount command, but it doesn't work!
A: Modern versions of Linux use a type of Windows file sharing called "The Common Internet File System" (CIFS). Instead of using "smbmount", try:mount -t cifs //1.2.3.4/share /mnt/somedirectoryFor more information about this, in a terminal you can do:
man mount.cifsNote that CIFS can't resolve Windows computer names, so you're better off using their IP addresses.
-
Q: Y is ur f4q so dum n bad?
A: Not only am I impressed with your intelligence, but also with your sterling education! Verily, I am blinded by your wit and charm. (But as a side note, if you actually want to contribute something useful, there's a whole page about that!)
Nguồn: Fedora
0 nhận xét:
Đăng nhận xét