Fedora: Difference between revisions

From Q
Jump to navigation Jump to search
Tgurr (talk | contribs)
No edit summary
Tgurr (talk | contribs)
No edit summary
Line 31: Line 31:
{{Root|yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm}}
{{Root|yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm}}
{{Root|yum localinstall --nogpgcheck http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm}}
{{Root|yum localinstall --nogpgcheck http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm}}
To remove the repository run the following commands.
{{Root|yum remove rpmfusion-free-release}}
{{Root|yum remove rpmfusion-nonfree-release}}


=== Release Upgrade ===
=== Release Upgrade ===

Revision as of 13:23, 28 August 2013

Basics

Becomming Root

$ su -l

Multiboot - Change default boot order (GRUB 2)

File: /etc/default/grub
GRUB_DEFAULT=saved
# grub2-mkconfig -o /boot/grub2/grub.cfg
# grep ^menuentry /boot/grub2/grub.cfg | cut -d "'" -f2
# grub2-set-default <menu entry number>
# grub2-editenv list

RPM Fusion Repository

RPM Fusion provides software that the Fedora Project or Red Hat doesn't want to ship.

Required by:

# yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
# yum localinstall --nogpgcheck http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

Release Upgrade

# yum --enablerepo=updates-testing install fedup
# fedup-cli --network 19

Cleanup after upgrade

# fedup-cli --clean

Drivers

Graphics - NVIDIA (proprietary)

# yum install vdpauinfo libva-vdpau-driver libva-utils

Repository (recommended)

Note: You need to add the RPM Fusion Repository first.
Note: akmod takes care of automatically rebuilding the kernel module after each kernel update.
# yum install akmod-nvidia

Optional: 32bit libraries needed e.g. for Wine.

# yum install xorg-x11-drv-nvidia-libs.i686

WLAN - Broadcom BCM43xx

Note: You need to add the RPM Fusion Repository first.
Note: akmod takes care of automatically rebuilding the kernel module after each kernel update.
# yum install broadcom-wl akmod-wl

Scanner - SANE compatible

# yum install sane-backends-drivers-scanners


Multimedia Codecs

MP3 support

Note: You need to add the RPM Fusion Repository first.
# yum install gstreamer-plugins-ugly


Software

Google Chrome

File: /etc/yum.repos.d/google-chrome.repo
[google-chrome]
name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
# yum install google-chrome-<stable/beta/unstable>

Steam

File: /etc/yum.repos.d/steam.repo
[steam]
name=Steam RPM packages (and dependencies) for Fedora
baseurl=http://spot.fedorapeople.org/steam/fedora-$releasever/
enabled=1
skip_if_unavailable=1
gpgcheck=0
# yum install steam

See Steam for known workarounds for common problems.

KDE - Localization

# yum install kde-l10n-German

Skanlite - KDE scanner application

# yum install skanlite

KeePassX - Password manager

# yum install keepassx

Tomahawk - Music player

# yum install tomahawk

Mumble - Voice chat software

# yum install mumble

Wine - Windows compatibility layer

# yum install wine

XBMC

Note: You need to add the RPM Fusion Repository first.
# yum install xbmc

Yum Package Manager help

Proxy

File: /etc/yum.conf
[main]
proxy=http://<server>:<port>

Fix a self-restarting transaction that never finishes

# yum-complete-transaction --cleanup-only

Fix Error: db5-Error(-xxxxx) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery =

# rm -rf /var/lib/rpm/__db.00*
# rpm --rebuilddb

Development version of Fedora (Rawhide)

Release Upgrade

# fedup-cli --network 20 --instrepo http://alt.fedoraproject.org/pub/fedora/linux/development/20/x86_64/os/

Graphics - NVIDIA (proprietary)

# yum --enablerepo=rpmfusion-nonfree-rawhide install akmod-nvidia

Optional: 32bit libraries needed e.g. for Wine.

# yum --enablerepo=rpmfusion-nonfree-rawhide install xorg-x11-drv-nvidia-libs.i686