Fedora: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| Line 85: | Line 85: | ||
{{Note|akmod takes care of automatically rebuilding the kernel module after each kernel update.}} | {{Note|akmod takes care of automatically rebuilding the kernel module after each kernel update.}} | ||
{{Root| | {{Root|dnf install broadcom-wl akmod-wl}} | ||
=== Scanner - SANE compatible === | === Scanner - SANE compatible === | ||
{{Root| | {{Root|dnf install sane-backends-drivers-scanners}} | ||
| Line 124: | Line 124: | ||
{{Note|You need to add the [[Fedora#RPM_Fusion_Repository|RPM Fusion Repository]] first.}} | {{Note|You need to add the [[Fedora#RPM_Fusion_Repository|RPM Fusion Repository]] first.}} | ||
{{Root| | {{Root|dnf install lpf-skype}} | ||
{{Root|lpf update skype}} | {{Root|lpf update skype}} | ||
| Line 136: | Line 136: | ||
=== Java === | === Java === | ||
{{Root| | {{Root|dnf install java-1.8.0-openjdk}} | ||
=== Java web plugin === | === Java web plugin === | ||
{{Root| | {{Root|dnf install icedtea-web}} | ||
=== KDE - Localization === | === KDE - Localization === | ||
{{Root| | {{Root|dnf install kde-l10n-German}} | ||
{{Root| | {{Root|dnf install calligra-l10n-de}} | ||
=== Skanlite - KDE scanner application === | === Skanlite - KDE scanner application === | ||
{{Root| | {{Root|dnf install skanlite}} | ||
=== KeePassX - Password manager === | === KeePassX - Password manager === | ||
{{Root| | {{Root|dnf install keepassx}} | ||
=== Mumble - Voice chat software === | === Mumble - Voice chat software === | ||
| Line 169: | Line 169: | ||
{{Note|You need to add the [[Fedora#RPM_Fusion_Repository|RPM Fusion Repository]] first.}} | {{Note|You need to add the [[Fedora#RPM_Fusion_Repository|RPM Fusion Repository]] first.}} | ||
{{Root| | {{Root|dnf install vlc}} | ||
=== Audex - Audio grabber === | === Audex - Audio grabber === | ||
{{Note|You need to add the [[Fedora#RPM_Fusion_Repository|RPM Fusion Repository]] first.}} | {{Note|You need to add the [[Fedora#RPM_Fusion_Repository|RPM Fusion Repository]] first.}} | ||
{{Root| | {{Root|dnf install audex}} | ||
=== Wine - Windows compatibility layer === | === Wine - Windows compatibility layer === | ||
{{Root| | {{Root|dnf install wine}} | ||
=== | === Kodi === | ||
{{Note|You need to add the [[Fedora#RPM_Fusion_Repository|RPM Fusion Repository]] first.}} | {{Note|You need to add the [[Fedora#RPM_Fusion_Repository|RPM Fusion Repository]] first.}} | ||
{{Root| | {{Root|dnf install kodi}} | ||
| Line 189: | Line 189: | ||
{{Note|You need to add the [[Fedora#RPM_Fusion_Repository|RPM Fusion Repository]] first.}} | {{Note|You need to add the [[Fedora#RPM_Fusion_Repository|RPM Fusion Repository]] first.}} | ||
{{Root| | {{Root|dnf install gstreamer-plugins-ugly}} | ||
== | == DNF Package Manager help == | ||
=== Proxy === | === Proxy === | ||
{{File|/etc/yum.conf| | {{File|/etc/yum.conf| | ||
| Line 201: | Line 201: | ||
}} | }} | ||
=== Fix | === Fix broken transactions === | ||
{{Root| | {{Root|package-cleanup --cleandupes}} | ||
=== Fix Error: db5-Error(-xxxxx) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery ==== | === Fix Error: db5-Error(-xxxxx) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery ==== | ||
| Line 208: | Line 208: | ||
{{Root|rpm --rebuilddb}} | {{Root|rpm --rebuilddb}} | ||
=== Remove a package which fails to uninstall with | === Remove a package which fails to uninstall with dnf === | ||
{{Root|rpm -e --noscripts kde-settings-kdm-19-23.fc19}} | {{Root|rpm -e --noscripts kde-settings-kdm-19-23.fc19}} | ||
Revision as of 13:45, 21 July 2016
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
Release Upgrade
# dnf upgrade --refresh
# dnf install dnf-plugin-system-upgrade
# dnf system-upgrade download --refresh --releasever=24
# dnf system-upgrade reboot
# dnf system-upgrade clean
RPM Fusion Repository
RPM Fusion provides software that the Fedora Project or Red Hat doesn't want to ship.
Required by:
# dnf install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
Remove old Kernels
# package-cleanup --oldkernels --count=1
Disable Firewall
Warning: Not recommended!
# systemctl disable firewalld.service
Disable SELinux
Warning: Not recommended!
File: /etc/selinux/config
SELINUX=permissive
Enable hard-restarting the X server via Ctrl-Alt-Backspace
File: /etc/X11/xorg.conf.d/00-keyboard.conf
Option "XkbOptions" "terminate:ctrl_alt_bksp, "
Drivers
Graphics - NVIDIA (proprietary)
Note: You need to add the RPM Fusion Repository first.
# dnf install vdpauinfo libva-vdpau-driver libva-utils
Note: akmod takes care of automatically rebuilding the kernel module after each kernel update.
# dnf install akmod-nvidia kernel-devel
Optional: 32bit libraries needed e.g. for Wine.
# dnf install xorg-x11-drv-nvidia-libs.i686
To remove the driver and enable nouveau again:
# dnf remove xorg-x11-drv-nvidia\* nvidia-settings nvidia-xconfig
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.
# dnf install broadcom-wl akmod-wl
Scanner - SANE compatible
# dnf install sane-backends-drivers-scanners
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
# dnf install google-chrome-<stable/beta/unstable>
Google Talk/Hangouts Plugin
File: /etc/yum.repos.d/google-talkplugin.repo
[google-talkplugin] name=google-talkplugin baseurl=http://dl.google.com/linux/talkplugin/rpm/stable/$basearch enabled=1 gpgcheck=1 gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
# dnf install google-talkplugin
Skype
Note: You need to add the RPM Fusion Repository first.
# dnf install lpf-skype
# lpf update skype
Steam
Note: You need to add the RPM Fusion Repository first.
# dnf install steam
See Steam for known workarounds for common problems.
Java
# dnf install java-1.8.0-openjdk
Java web plugin
# dnf install icedtea-web
KDE - Localization
# dnf install kde-l10n-German
# dnf install calligra-l10n-de
Skanlite - KDE scanner application
# dnf install skanlite
KeePassX - Password manager
# dnf install keepassx
Mumble - Voice chat software
File: /etc/yum.repos.d/lkiesow-mumble-fedora-21.repo
[lkiesow-mumble] name=Copr repo for mumble owned by lkiesow baseurl=https://copr-be.cloud.fedoraproject.org/results/lkiesow/mumble/fedora-$releasever-$basearch/ enabled=1 gpgcheck=1 gpgkey=https://copr-be.cloud.fedoraproject.org/results/lkiesow/mumble/pubkey.gpg
# dnf install mumble
VLC media player
Note: You need to add the RPM Fusion Repository first.
# dnf install vlc
Audex - Audio grabber
Note: You need to add the RPM Fusion Repository first.
# dnf install audex
Wine - Windows compatibility layer
# dnf install wine
Kodi
Note: You need to add the RPM Fusion Repository first.
# dnf install kodi
Multimedia Codecs
MP3 support
Note: You need to add the RPM Fusion Repository first.
# dnf install gstreamer-plugins-ugly
DNF Package Manager help
Proxy
File: /etc/yum.conf
[main] proxy=http://<server>:<port>
Fix broken transactions
# package-cleanup --cleandupes
Fix Error: db5-Error(-xxxxx) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery =
# rm -rf /var/lib/rpm/__db.00*
# rpm --rebuilddb
Remove a package which fails to uninstall with dnf
# rpm -e --noscripts kde-settings-kdm-19-23.fc19