169 lines
5.5 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" /> <!-- <meta http-equiv="refresh" content="60" /> --> <meta name="description" content="My cheatsheet for rpm based distributions, mainly CentOS/Fedora." /> <meta name="keywords" content="rpm,Linux,CentOS,Fedora" /> <meta name="author" content="Mika Suomalainen" /> <link rel="canonical" href="http://mkaysi.github.com/articles/cheatsheets/rpm.html">
<title>
Cheatsheet for distributions using rpm
</title>
<link rel="stylesheet" type="text/css" href="../../tyyli.css" />
</head>
<body>
<hr/>
<a href="../../sitemap/sitemap.html">Sitemap</a>
<hr/>
<h1 id="my-cheatsheet">My cheatsheet</h1>
2012-12-12 18:56:19 +02:00
<p>This is my cheatsheet for setting up distribution using rpm (mainly Fedora &amp; CentOS). I am more experienced with distributions using dpkg, so I need this a little in the beginning.</p>
<h2 id="always-get-the-fastest-mirror">Always get the fastest mirror</h2>
<pre><code>yum install yum-plugin-fastestmirror</code></pre>
2012-12-12 18:56:19 +02:00
<p>By default cheks every 10 days, change configuration variable in config file to 0 to make it search always when yum is ran.</p>
<h2 id="rd-party-repositories">3rd party repositories</h2>
<table>
<tr>
<td>
Repository
</td>
<td>
My priority
</td>
<td>
Description
</td>
</tr>
<tr>
<td>
Base/Fedora-*
</td>
<td>
1
</td>
<td>
Official Fedora/CentOS packages
</td>
</tr>
<tr>
<td>
Extra
</td>
<td>
2
</td>
<td>
CentOS only, extra packages
</td>
</tr>
<tr>
<td>
<a href="https://get.adobe.com/flashplayer/">Flash</a>
</td>
<td>
10
</td>
<td>
Adobe Flash, shouldn't conflict with EPEL and EPEL is CentOS only.
</td>
</tr>
<tr>
<td>
<a href="https://fedoraproject.org/wiki/EPEL#How_can_I_use_these_extra_packages.3F">EPEL</a>
</td>
<td>
10
</td>
<td>
Extra Packages for Enterprise Linux (CentOS only)
</td>
</tr>
<tr>
<td>
<a href="http://rpmfusion.org/Configuration">RPM Fusion</a>
</td>
<td>
11
</td>
<td>
&quot;Provides software that the Fedora Project or Red Hat doesn't want to ship&quot;
</td>
</tr>
<tr>
<td>
<a href="http://rpm.livna.org/">Livna</a>
</td>
<td>
11
</td>
<td>
Provides libdvdcss for watching DVDs
</td>
</tr>
<tr>
<td>
<a href="http://repoforge.org/use/">RPM Forge</a>
</td>
<td>
12
</td>
<td>
&quot;CentOS only ( ? ) , Provides a set of repositories&quot;
</td>
</tr>
</table>
<h3 id="priorities">Priorities</h3>
<p>Prevent repositories from conflicting each other:</p>
<pre><code>yum install yum-plugin-priorities</code></pre>
<p>Ensure that it's enabled!</p>
<p>Edit all .repo files in yum.repos.d and add PRIORITY=X to everything.</p>
<h2 id="installing-virtualbox-guest-additions">Installing Virtualbox guest additions</h2>
2012-12-12 18:56:19 +02:00
<pre><code>yum install dkms # requires some of the 3rd party repositories, EPEL on CentOS.</code></pre>
<pre><code>yum install VirtualBox-guest # Fedora only ( ? ) Requires RPM Fusion</code></pre>
<p>Or using guest additions shipped with <a href="https://www.virtualbox.org/">VirtualBox</a>;</p>
<pre><code>yum groupinstall &quot;Development Tools&quot;
yum install kernel-devel</code></pre>
2012-12-12 18:56:19 +02:00
<p>Press HOST + D and cd to the mount point and run the Linux Additions installer and after successful installation, reboot</p>
<h2 id="installing-libreoffice-for-people-not-installing-from-dvd-in-fedora">Installing LibreOffice (for people not installing from DVD) in Fedora</h2>
<pre><code>yum groupinstall office</code></pre>
2012-12-12 18:56:19 +02:00
<h2 id="installing-finnsh-language">Installing Finnsh language</h2>
<p>and replacing &quot;finnish&quot; or &quot;fi&quot; with your native language</p>
<pre><code>yum groupinstall finnish-support</code></pre>
2012-12-12 18:56:19 +02:00
<p>or with KDE</p>
<pre><code>yum install kde-l10n-fi</code></pre>
<h2 id="installing-all-gnome-shell-extensions">Installing all Gnome shell extensions</h2>
<pre><code>yum install gnome-tweak-tool &quot;gnome-shell-extension-*&quot; # This might not be a good idea.</code></pre>
<p>Use gnome-tweak-tool to enable/disable them. They might need reboot/logging in again before they appear in gnome-tweak-tool.</p>
<h2 id="installing-all-codecsgstreamer-pluginss">Installing all codecs/gstreamer pluginsS</h2>
<p><code>yum install &quot;gstreamer-plugins-*&quot; --skip-broken # Might not be a good idea...</code> ## Installing Flash</p>
<pre><code>yum install flashplugin # requires Adobe Flash repository to be enabled.</code></pre>
<!-- vim : set ft=html -->
<hr/>
<div id="disqus_thread"></div>
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_developer = 0;
var disqus_url = 'http://mkaysi.github.com/articles/cheatsheets/rpm.html';
var disques_title = 'rpm cheatsheet';
var disqus_shortname = 'mkaysishomepage'; // required: replace example with your forum shortname
/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async =
true;
dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0])
.appendChild(dsq);
})();
</script>
<noscript>
Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Dis qus.</a>
</noscript>
<p>
<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus </span></a>
</p>
<!-- vim : set ft=html -->
</body>
</html>