5.8 KiB
Sitemap
My cheatsheet
This is my cheatsheet for setting up distribution using rpm (mainly Fedora & CentOS). I am more experienced with distributions using dpkg, so I need this a little in the beginning.
Always get the fastest mirror
yum install yum-plugin-fastestmirror
By default cheks every 10 days, change configuration variable in config file to 0 to make it search always when yum is ran.
3rd party repositories
Repository | My priority | Description |
Base/Fedora-* | 1 | Official Fedora/CentOS packages |
Extra | 2 | CentOS only, extra packages |
Flash | 10 | Adobe Flash, shouldn’t conflict with EPEL and EPEL is CentOS only. |
EPEL | 10 | Extra Packages for Enterprise Linux (CentOS only) |
RPM Fusion | 11 | “Provides software that the Fedora Project or Red Hat doesn’t want to ship” |
Livna | 11 | Provides libdvdcss for watching DVDs |
RPM Forge | 12 | CentOS only ( ? ), “Provides a set of repositories” |
Terminal enabling
This is faster than the GUI method
Fedora
echo "Adobe doesn't provide direct download link for the package :("
rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
rpm -ivh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
rpm -ivh http://rpm.livna.org/livna-release.rpm
CentOS
echo "Adobe doesn't provide direct download link for the package :("
rpm -ivh http://download.fedoraproject.org/pub/epel/<RELEASE>/i386/repoview/epel-release.html # replace <release> with CentOS / RedHat version. For example: 5 or 6 NOT 6.X or 5.X!
rpm -ivh http://download1.rpmfusion.org/free/el/updates/<RELEASE>/i386/rpmfusion-free-release-<RELEASE>-1.noarch.rpm # Read the comment on line above
rpm -ivh http://download1.rpmfusion.org/nonfree/el/updates/<RELEASE>/i386/rpmfusion-nonfree-release-<RELEASE>-1.noarch.rpm # The line two lines above tells you what to do...
rpm -ivh http://rpm.livna.org/livna-release.rpm
rpm -ivh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el<RELEASE>.rf.<ARCH>.rpm # Replace <RELEASE> with CentOS version (examples some lines above) and <ARCH> with i686 or x86_64
Priorities
Prevent repositories from conflicting each other:
yum install yum-plugin-priorities
Ensure that it’s enabled!
Edit all .repo files in yum.repos.d and add PRIORITY=X to everything.
Installing Virtualbox guest additions
yum install dkms # requires some of the 3rd party repositories, EPEL on CentOS.
yum install VirtualBox-guest # Fedora only ( ? ) Requires RPM Fusion
Or using guest additions shipped with VirtualBox;
yum groupinstall "Development Tools"
yum install kernel-devel
Press HOST + D and cd to the mount point and run the Linux Additions installer and after successful installation, reboot
Installing LibreOffice (for people not installing from DVD) in Fedora
yum groupinstall office
Installing Finnsh language
and replacing “finnish” or “fi” with your native language
yum groupinstall finnish-support
or with KDE
yum install kde-l10n-fi
Installing all Gnome shell extensions
yum install gnome-tweak-tool "gnome-shell-extension-*" # This might not be a good idea.
Use gnome-tweak-tool to enable/disable them. They might need reboot/logging in again before they appear in gnome-tweak-tool.
Installing all codecs/gstreamer pluginsS
yum install "gstreamer-plugins-*" --skip-broken # Might not be a good idea...
Installing Flash
yum install flashplugin # requires Adobe Flash repository to be enabled.
<noscript>
Please enable JavaScript to view the comments powered by Dis qus.
</html>