Fedora 16, codename Verne, is available for download and it comes with a lot of new features and bleeding edge software. It comes with the new Gnome Shell 3.2 and KDE Plasma Workspace 4.7 along with Linux kernel 3.1. Grub2 is now used by default and HAL has been completely removed. BTRFS is still not the default file system but you can of course select it during the installation. If you haven't done already download Fedora, install it and let's continue with the post installation guide to configure some basic stuff for Fedora.
*Note: If you want to translate this guide in another language I will be glad to host it here. If you are interested contact me!
*Note: In the following tutorial I am using the command line to install software. Of course you can use the software center to install those applications.
1. Configure sudo
* Modifying sudoers file
Normally if you want to run a command which requires root privileges you first have to type 'su -', type your root password and then type the command. However you can bypass this by using the 'sudo' command. But first you have to configure it like this
su --login -c 'visudo'
Now go below the line:
root ALL=(ALL) ALL
press a, and type the following
username ALL=(ALL) ALL
where username is the username you use to login. Next press Escape. Now, if you want to be prompted for your root password each time you use the sudo command go to this line:
# %wheel ALL=(ALL) ALL
and with your cursor pointing on # press x If you don't want to be prompted for your root password each time you use the sudo command go to this line:
# %wheel ALL=(ALL) NOPASSWD: ALL
and with your cursor pointing on # press x Next, press :wq to save and exit. (type the : as well) * Adding your user to the wheel groupJust type: su -c 'gpasswd -a username wheel'
* Testing sudo
To test if you have done it correctly as a simple user type:
$ sudo whoami
If everything is working properly the command should return the word 'root'.
2. Configure yum
Fedora uses YUM to install and update its software and automatically resolve any dependencies needed.
Fedora software repositories don't include support for MP3, DVD and Video playback/recording because of patent licenses. For this reason you have to install that software from third party repositories. But don't worry, this is pretty easy! ;)
* RPMFusion repository
Now we are going to install the RPM Fusion Repository. RPM Fusion is a merger of the Dribble, Freshrpms and RPM Fusion package repositories for Fedora and Red Hat Enterprise Linux. A variety of applications is included in that repository such as codecs for mp3 and unencrypted DVDs, multimedia applications such as mplayer, VLX and xine and the closed source Nvidia and ATi video drivers! RPM Fusion has two main repositories: one named "free" for Open Source Software (as defined by the Fedora Licensing Guidelines) which can't be included in Fedora because it might be patent encumbered in the USone named "nonfree" for non-free software, that is everything else which can't be in free; this includes software with public available source-code that has "no commercial use"-like restrictions.
For the rest of this guide I will assume that you have installed and enabled the RPM Fusion Repository. To install it type:
su - yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm yum update
* Google repository
First we must install the key
su - yum install wget wget https://dl-ssl.google.com/linux/linux_signing_key.pub rpm --import linux_signing_key.pub
Fedora 32bit
Add the following to a file called google.repo in /etc/yum.repos.d/:
[google] name=Google - i386 baseurl=http://dl.google.com/linux/rpm/stable/i386 enabled=1 gpgcheck=1 gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
Fedora 64bit
Add the following to a file called google.repo in /etc/yum.repos.d/:
[google64] name=Google - x86_64 baseurl=http://dl.google.com/linux/rpm/stable/x86_64 enabled=1 gpgcheck=1 gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
3. Installing video drivers
**Note: To install the following packages you must have the RPM Fusion Repository enabled as described in Install RPM Fusion Repository .
**Note: The following information was obtained from http://forums.fedoraforum.org/
* Installing nVidia driver
Fedora 16 uses the open source nouveau driver for nvidia cards. This might be enough for you depending on your needs. Kernel Mode Setting (KMS) is now enabled by default on NVIDIA systems as well, through the Nouveau driver. However if you want to have 3D support in Fedora 12 you must install the binary nvidia drivers. Just type:
For GeForce 6, 7, 8, 9, 200, 300, 400 & 500 series cards
su -c 'yum install kmod-nvidia xorg-x11-drv-nvidia-libs'
If you use a PAE kernel
su -c 'yum install kmod-nvidia-PAE'
Make sure nouveau is removed from initramfs.
su - mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nouveau.img dracut /boot/initramfs-$(uname -r).img $(uname -r)
Add selinux policy to allow gdm and gnome shell to work.
su - yum --nogpgcheck update libsepol http://kojipkgs.fedoraproject.org/packages/selinux-policy/3.10.0/53.fc16/noarch/selinux-policy-3.10.0-53.fc16.noarch.rpm \ http://kojipkgs.fedoraproject.org/packages/selinux-policy/3.10.0/53.fc16/noarch/selinux-policy-targeted-3.10.0-53.fc16.noarch.rpm --enablerepo=u*g
Reboot
* Installing ATi driver
Please note that Gnome Shell doesn't work with fglrx.
4. Install Microsoft fonts
Fedora uses Liberation and DejaVu fonts which are installed by default and look pretty smooth and nice, plus they are open source. If you insist on using the Microsoft fonts you can download and install the msttcorefonts rpm like this.
wget http://www.my-guides.net/en/images/stories/fedora12/msttcore-fonts-2.0-3.noarch.rpm su -c 'rpm -ivh msttcore-fonts-2.0-3.noarch.rpm'
I built it myself using the msttcore-fonts-2.0-3.spec from Fedora-devel mailing list. It includes Arial, Andale, Comic Sans, Courier New, Georgia, Impact, Tahoma, Times, Trebuchet MS, Verdana and Webdings fonts. The procedure just in case you want to build it yourself is the following.
su -c 'yum install rpmdevtools rpm-build cabextract' rpmdev-setuptree cd ~/rpmbuild/SPECS/ wget http://www.my-guides.net/en/images/stories/fedora12/msttcore-fonts-2.0-3.spec rpmbuild -bb msttcore-fonts-2.0-3.spec cd ~/rpmbuild/RPMS/noarch/ su -c 'rpm -ivh msttcore-fonts-2.0-3.noarch.rpm'
Now you can change your fonts through System -> Preferences -> Appearance -> Fonts
5. MP3 and Audio players
**Note: To install many of the following packages you must enable RPM Fusion repository.
* Rhythmbox
su -c 'yum install gstreamer rhythmbox'
To make all mp3 files open by default with Rhytmbox right click on an mp3 file and select 'Open with Other Application...'. Click on Rhytmbox Music Player and you're done.
To add mp3 and other audio support type:
su -c 'yum install gstreamer-plugins-good gstreamer-plugins-bad gstreamer-plugins-ugly'
* Amarok
su -c 'yum install amarok phonon-backend-gstreamer'
* Audacious
Audacious is another audio player similar to old winamp 2.x. To install it type:
su -c 'yum install audacious audacious-plugins'
6. DVD & Video
**Note: To install many of the following packages you must have the RPM Fusion Repository enabled as described here . If you have most probably you will prompted to search automatically for the needed codecs. They will automatically installed. As simple as that!
* DVD playback
In order to play DVDs you must install the appropriate codecs.
su -c 'yum install libdvdread libdvdnav lsdvd'
Those files are enough for playing your non encrypted DVDs. However if you want to decrypt an encrypted DVD you need libdvdcss which isn't included in RPM Fusion because of legal issues in some countries such as the US. As mentioned in RPM Fusion . Opinions between the members of RPM Ffusion differ on the legality of libdvdcss, however no one is ready to vouch for it resuming the legal responsibilities. Therefore libdvdcss is being dropped. See also the comments on legal issues in the link above.
**Note: Instead you can use ATrpms for installing libdvdcss.
su - rpm -Uvh http://rpm.livna.org/livna-release.rpm yum install libdvdcss
Add the following to a file called atprpms.repo in /etc/yum.repos.d/
[atrpms] name=Fedora Core $releasever - $basearch - ATrpms baseurl=http://dl.atrpms.net/f$releasever-$basearch/atrpms/stable gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms enabled=0 gpgcheck=1
Afterwards install the package like this.
sudo rpm --import http://packages.atrpms.net/RPM-GPG-KEY.atrpms sudo yum --enablerepo=atrpms install libdvdcss
* Video files playback
When you will try to open a video file with Totem media player it will ask you to search for the necessary codecs. They will be automatically installed! If you have previously set up mp3 playback additional packages would have been installed as dependencies. These packages include video codecs such as xvidcore, ffmpeg and other.
To check some of them type: su -c 'yum install ffmpeg ffmpeg-libs gstreamer-ffmpeg libmatroska xvidcore'
* Totem
Fedora 16 has installed Totem Movie Player. If you want to play DVD files also with totem type:
su -c 'yum install totem-xine xine-lib xine-lib-extras-freeworld'
* Mplayer/SMPlayer
I prefer mplayer and smplayer (mplayer's GUI) for video playback. It supports almost any video type, external subtitles as well as DVD playback as long as you have the needed codecs installed as shown previously.
su -c 'yum install mplayer smplayer'
Open smplayer from Applications > Sound & Video > SMPlayer
* VLC
VLC (Video Lan Client) supports almost any video type without the need of installing external codecs.
su -c 'yum install vlc'
* kaffeine
kaffeine is another KDE media player that uses the xine engine.
su -c 'yum install kaffeine xine xine-lib xine-lib-extras-freeworld'
* RealPlayer
You can download RealPlayer rpm from here . Just choose to open it with the Package Installer. If this fails to install it manually open a terminal, go the directory you downloaded it and type:
su -c 'rpm -Uvh RealPlayer11GOLD.rpm --nodeps'
* Avidemux
Avidemux is a very good video editor. Install it like this:
su -c 'yum install avidemux'
It will be listed in Applications > Sound & Video > Avidemux Video Editor.
7. Flash Plugin
You can use the following commands to install flash player for both 32bit and 64bit.
su - rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux yum install flash-plugin
Restart Mozilla Firefox or Chrome and you should have flash plugin support. However consider using HTML5 at least for watching YouTube videos!
8. Java
Fedora 16 comes with java from the OpenJDK project. It is very easy to install it through yum (if it hasn't already been installed) and it works just fine. Try it! If you still want to install the Oracle (ex SUN) Java go a few lines below.
* OpenJDK
su -c 'yum install java-*-openjdk java-*-openjdk-plugin'
* Oracle's JAVA JRE
First go to the official Java site and download the latest JRE (Java SE 7 Update 1 at the moment).
Fedora 32bit
Select Linux as Platform and download the jre-7u1-linux-i586.rpm file.
Now open a terminal and type:
su - rpm -ivh jre-7u1-linux-i586.rpm
Fedora 64bit
Select Linux x64 as Platform and download the jre-7u1-linux-x64.rpm file.
Now open a terminal and type:
su - rpm -ivh jre-7u1-linux-x64.rpm
Now to setup java runtime perform the following.
/usr/sbin/alternatives --install /usr/bin/java java /usr/java/default/bin/java 20000
Setup the Mozilla/Firefox browser plugin.
For 32bit.
/usr/sbin/alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so \ libjavaplugin.so /usr/java/default/lib/i386/libnpjp2.so 20000
For 64bit
/usr/sbin/alternatives --install /usr/lib64/mozilla/plugins/libjavaplugin.so \ libjavaplugin.so.x86_64 /usr/java/default/lib/amd64/libnpjp2.so 20000
* Oracle's JAVA JDK
First go to the official Java site and download the latest JDK (Java Platform 7 Update 1 at the moment).
Fedora 32bit
Select Linux as Platform and download the jdk-7u1-linux-i586.rpm file.
Now open a terminal and type:
su - rpm -ivh jdk-7u1-linux-i586.rpm
Fedora 64bit
Select Linux x64 as Platform and download the jdk-7u1-linux-x64.bin file.
Now open a terminal and type:
su - rpm -ivh jdk-7u1-linux-x64.bin
su - ln -s /usr/java/jdk1.7.1/bin/java /usr/bin/java ln -s /usr/java/jdk1.7.1/bin/javac /usr/bin/javac
Now run java -version as a user. You should see java version "1.7.0_1"
9. Useful Applications
* Google Chrome browser
First you must enable the Google repository for Fedora
Next install Chrome like this:
su -c 'yum install google-chrome-stable'
* Transmission bittorrent client
Transmission is a free, lightweight BitTorrent client. It features a simple, intuitive interface on top on an efficient, cross-platform back-end.
su -c 'yum install transmission'
* Unrar
The unrar utility is a freeware program for extracting, testing and viewing the contents of archives created with the RAR archiver version 1.50 and above.
su -c 'yum install unrar'
* Filezilla
FileZilla is a FTP, FTPS and SFTP client for Linux with a lot of features.
su -c 'yum install filezilla'
* Gnome Shell tweaks
Tweak the settings, interface, fonts, themes etc.
su -c 'yum install gnome-tweak-tool'
Comments (32)
Subscribe to this comment's feedWhy show them sudo and not use it?
Also in the sudo tip... there is no need for the addition of the user line if you add the user to the wheel group.
usermod -G wheel
Then as you said uncomment the wheel line
wh;eel ALL=(ALL) NOPASSWD: ALL
...
try this:
usermod -G wheel username
and
wh;eel ALL=(ALL) NOPASSWD: ALL
...
You have not specified which repository one needs to add to install Chrome. And then... Chrome installer does all the necessary steps itself.
My review of Fedora 16: Fedora 16 with GNOME is not that bad. There are some drawbacks, but also there are some wins against GNOME3 implementation in Ubuntu.
My review: http://linuxblog.darkduck.com/...nome3.html
WHAT?
[root@AgentGrey ~]# rpm -ivh
error: open of failed: No such file or directory
[root@AgentGrey ~]# http://download1.rpmfusion.org...noarch.rpm
-bash: http://download1.rpmfusion.org...oarch.rpm: No such file or directory
[root@AgentGrey ~]# rpm -ivh
> http://download1.rpmfusion.org...noarch.rpm
Retrieving http://download1.rpmfusion.org...noarch.rpm
warning: /var/tmp/rpm-tmp.05xa2t: Header V3 RSA/SHA256 Signature, key ID f09d8368: NOKEY
error: Failed dependencies:
rpmfusion-free-release >= 14 is needed by rpmfusion-nonfree-release-14-2.noarch
[root@AgentGrey ~]# yum update
Loaded plugins: langpacks, presto, refresh-packagekit
Setting up Update Process
No Packages marked for Update
[root@AgentGrey ~]#
...
You are correct about the wheel part.
...
su -c 'yum localinstall --nogpgcheck http://download1.rpmfusion.org...noarch.rpm http://download1.rpmfusion.org...oarch.rpm'
Evolution
...
Regarding the repos part you have to be root first. Type su -, give your root password and afterwards you will be able to add files to the yum.repos.d directory.
repos and evolution
When you say Type su- where do I type it, in the terminal ? I tried that and I still cant modify or add to yum.repo.d
repos
Can you add it thru the terminal ?
repos
...
When you type su - in a terminal afterwards whatever command you type in this terminal is as root. Not anything you are doing in the system. Logging in as root is disabled by default in Fedora and in general you are not advised to log in as root in any linux distro.
To open gedit as root you can type in a terminal
su -
gedit
I can't boot with Plymouth
In Fedora 15 I have ad the line
rhgb quiet vga=0x365 in /etc/grub/grub.conf
but in fedora 16 where must i write?????
Sorry for my english
thanks
sorry i add the line in Fedora 15 in /boot/grub/gruc.conf
.pst plugin
The plugin can be found here. Installs easily and works really well
...
So, it's evolution-pst - PST importer plugin for Evolution.
This package contains the plugin to import Microsoft Personal Storage Table (PST) files used by Microsoft Outlook and Microsoft Exchange.
nvidia
cannot connect PuTTY to fedora 16.. Help
I'm not regular user of fedora..
but now i want to use PuTTY with fedora-16 installed on my virtual box..
when i type ifconfig it shows me lo and p2p1 connection
it shows me inet add instead of ip adress
when i try to insert that address in puTTY
it gives me Timeout error
As suggested i tried many ways like disabling firewall..
But no use..
Please help me out with this.. M working on big project and this shit happened.. Please suggest.. What to do?
...
Java 64 bit
You have mentioned about 64 bit Java this wAY:
Fedora 64bit
Select Linux x64 as Platform and download the jre-7u1-linux-x64.rpm file.
Now open a terminal and type:
su -
rpm -ivh jre-7u1-linux-i586.rpm
-----
But the command you have mentioned is of 32 bit. Hope you will correct it?
rpm -ivh jre-7u1-linux-x64.rpm
Thanks for the helpful guide.
Helpful guide
There is an automated script available with name "easylife" http://easylifeproject.org/
It comes handy for startup users.
Folder Lock with Password
how to enable ssh service in Fedora 16 verne
. is there a way to enable it? Problem with nvidia, after reboot
Remember, that after installing the nvidia cards, before rebooting, you should run the nvidia setup program and run the command "nvidia-xconfig" as the message suggests the nvidia setup program. in my notebook driver only worked properly after doing this, before running "nvidia-xconfig" startup failures occurred because of problems in xorg configuration.
Sorry for the english, I am Brazilian.
...
As far as I can remember nvidia-xconfig isn't needed any more because xorg.conf is deprecated. Anyway if this worked for you everything is fine.
installing libdvdcss
Thanks for post this. Its so useful.
However I got a question, Hope you can clear this for me, pls.
After install the mentioned package as you guide above, I cannot find de file atprpm.repo in /etc/yum/repos.d. There isn't such file there. The output report after install it, OK, apparently, says something like warning RPMDB altered outside of yum I dunno whether it's something to do that whit. I'll add the report just it were useful for you attend my issue. I'd appreciate anyway.
Thanks
Here the output report
[root@localhost ~]# su -
[root@localhost ~]# rpm -Uvh http://rpm.livna.org/livna-release.rpm
Retrieving http://rpm.livna.org/livna-release.rpm
warning: /var/tmp/rpm-tmp.AL87sB: Header V4 DSA/SHA1 Signature, key ID a109b1ec: NOKEY
Preparing... ########################################### [100%]
1:livna-release ########################################### [100%]
[root@localhost ~]# yum install libdvdcss
Loaded plugins: langpacks, presto, refresh-packagekit
http://wftp.tu-chemnitz.de/pub/linux/livna/repo/16/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found : http://ftp.tu-chemnitz.de/pub/...repomd.xml
Trying other mirror.
ftp://mirrors.tummy.com/pub/rpm.livna.org/repo/16/i386/repodata/repomd.xml: [Errno 14] FTP Error 550 : ftp://mirrors.tummy.com/pub/rp...repomd.xml
Trying other mirror.
http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/repo/16/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found : http://ftp-stud.fht-esslingen....repomd.xml
Trying other mirror.
livna | 3.6 kB 00:00
livna/primary_db | 3.4 kB 00:00
livna/group_gz | 464 B 00:00
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package libdvdcss.i686 0:1.2.11-1.fc16.remi will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=======================================================
========================================
Package Arch Version Repository Size
=======================================================
========================================
Installing:
libdvdcss i686 1.2.11-1.fc16.remi livna 44 k
Transaction Summary
=======================================================
========================================
Install 1 Package
Total download size: 44 k
Installed size: 138 k
Is this ok [y/N]: y
Downloading Packages:
libdvdcss-1.2.11-1.fc16.remi.i686.rpm | 44 kB 00:00
warning: rpmts_HdrFromFdno: Header V4 DSA/SHA1 Signature, key ID a109b1ec: NOKEY
Public key for libdvdcss-1.2.11-1.fc16.remi.i686.rpm is not installed
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
Importing GPG key 0xA109B1EC:
Userid : Livna.org rpms
Package: 1:livna-release-1-1.noarch (installed)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-livna
Is this ok [y/N]: y
Running Transaction Check
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
Installing : libdvdcss-1.2.11-1.fc16.remi.i686 1/1
Installed:
libdvdcss.i686 0:1.2.11-1.fc16.remi
Complete!
[root@localhost ~]#
...
Regarding atrpms you have to manually create atprpms.repo file. However since you used livna to install libdvdcss there is no need to do this. Can you play DVDs now?
mp3 Support doesn't work!
I have tried, a lot of things, Fedora is just disgusting!
I've used another distributions as Ubuntu, Susse, Debian, and all was nice!
I'm just about to uninstall this ugly distribution of Linux! Fedora no more. Never!
Write comment