mirror of
https://github.com/mikaela/mikaela.github.io/
synced 2025-02-23 17:00:40 +01:00
rpm: add file pathes & some fixes
This commit is contained in:
parent
8cc0f72721
commit
e771f17949
@ -16,7 +16,7 @@ Cheatsheet for distributions using rpm
|
|||||||
<p>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.</p>
|
<p>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.</p>
|
||||||
<h2 id="always-get-the-fastest-mirror">Always get the fastest mirror</h2>
|
<h2 id="always-get-the-fastest-mirror">Always get the fastest mirror</h2>
|
||||||
<pre><code>yum install yum-plugin-fastestmirror</code></pre>
|
<pre><code>yum install yum-plugin-fastestmirror</code></pre>
|
||||||
<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>
|
<p>By default cheks every 10 days, change configuration variable "maxhostfileage" file to 0 to make it search always when yum is ran in /etc/yum/yum.pluginconf.d/fastestmirror.conf and check that "enabled" is set to "1". If it's 0, the plugin is disabled.</p>
|
||||||
<h2 id="rd-party-repositories">3rd party repositories</h2>
|
<h2 id="rd-party-repositories">3rd party repositories</h2>
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
@ -126,8 +126,8 @@ rpm -ivh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el&
|
|||||||
<h2 id="priorities">Priorities</h2>
|
<h2 id="priorities">Priorities</h2>
|
||||||
<p>Prevent repositories from conflicting each other:</p>
|
<p>Prevent repositories from conflicting each other:</p>
|
||||||
<pre><code>yum install yum-plugin-priorities</code></pre>
|
<pre><code>yum install yum-plugin-priorities</code></pre>
|
||||||
<p>Ensure that it's enabled!</p>
|
<p>Ensure that it's enabled by looking at /etc/yum/pluginconf.d/priorities.conf ! "enabled" should be 1</p>
|
||||||
<p>Edit all .repo files in yum.repos.d and add PRIORITY=X to everything.</p>
|
<p>Edit all .repo files in /etc/yum.repos.d/ and add PRIORITY=X to everything. My priorities are listed on same table as repositories themselves.</p>
|
||||||
<h2 id="installing-virtualbox-guest-additions">Installing Virtualbox guest additions</h2>
|
<h2 id="installing-virtualbox-guest-additions">Installing Virtualbox guest additions</h2>
|
||||||
<pre><code>yum install dkms # requires some of the 3rd party repositories, EPEL on CentOS.</code></pre>
|
<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>
|
<pre><code>yum install VirtualBox-guest # Fedora only ( ? ) Requires RPM Fusion</code></pre>
|
||||||
@ -145,9 +145,10 @@ yum install kernel-devel</code></pre>
|
|||||||
<h2 id="installing-all-gnome-shell-extensions">Installing all Gnome shell extensions</h2>
|
<h2 id="installing-all-gnome-shell-extensions">Installing all Gnome shell extensions</h2>
|
||||||
<pre><code>yum install gnome-tweak-tool "gnome-shell-extension-*" # This might not be a good idea.</code></pre>
|
<pre><code>yum install gnome-tweak-tool "gnome-shell-extension-*" # 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>
|
<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>
|
<h2 id="installing-all-codecsgstreamer-plugins">Installing all codecs/gstreamer plugins</h2>
|
||||||
<p><code>yum install "gstreamer-plugins-*" --skip-broken # Might not be a good idea...</code> ## Installing Flash</p>
|
<pre><code>yum install "gstreamer-plugins-*" --skip-broken # Might not be a good idea...</code></pre>
|
||||||
<pre><code>yum install flashplugin # requires Adobe Flash repository to be enabled.</code></pre>
|
<h2 id="installing-flash">Installing Flash</h2>
|
||||||
|
<pre><code>yum install flash-plugin # requires Adobe Flash repository to be enabled.</code></pre>
|
||||||
<!-- vim : set ft=html -->
|
<!-- vim : set ft=html -->
|
||||||
<hr/>
|
<hr/>
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ This is my cheatsheet for setting up distribution using rpm (mainly Fedora & Cen
|
|||||||
yum install yum-plugin-fastestmirror
|
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.
|
By default cheks every 10 days, change configuration variable "maxhostfileage" file to 0 to make it search always when yum is ran in /etc/yum/yum.pluginconf.d/fastestmirror.conf and check that "enabled" is set to "1". If it's 0, the plugin is disabled.
|
||||||
|
|
||||||
## 3rd party repositories
|
## 3rd party repositories
|
||||||
|
|
||||||
@ -104,9 +104,9 @@ Prevent repositories from conflicting each other:
|
|||||||
yum install yum-plugin-priorities
|
yum install yum-plugin-priorities
|
||||||
```
|
```
|
||||||
|
|
||||||
Ensure that it's enabled!
|
Ensure that it's enabled by looking at /etc/yum/pluginconf.d/priorities.conf ! "enabled" should be 1
|
||||||
|
|
||||||
Edit all .repo files in yum.repos.d and add PRIORITY=X to everything.
|
Edit all .repo files in /etc/yum.repos.d/ and add PRIORITY=X to everything. My priorities are listed on same table as repositories themselves.
|
||||||
|
|
||||||
## Installing Virtualbox guest additions
|
## Installing Virtualbox guest additions
|
||||||
|
|
||||||
@ -155,15 +155,16 @@ yum install gnome-tweak-tool "gnome-shell-extension-*" # This might not be a goo
|
|||||||
|
|
||||||
Use gnome-tweak-tool to enable/disable them. They might need reboot/logging in again before they appear in gnome-tweak-tool.
|
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
|
## Installing all codecs/gstreamer plugins
|
||||||
|
|
||||||
```
|
```
|
||||||
yum install "gstreamer-plugins-*" --skip-broken # Might not be a good idea...
|
yum install "gstreamer-plugins-*" --skip-broken # Might not be a good idea...
|
||||||
```
|
```
|
||||||
|
|
||||||
## Installing Flash
|
## Installing Flash
|
||||||
|
|
||||||
```
|
```
|
||||||
yum install flashplugin # requires Adobe Flash repository to be enabled.
|
yum install flash-plugin # requires Adobe Flash repository to be enabled.
|
||||||
```
|
```
|
||||||
|
|
||||||
[Flash]:https://get.adobe.com/flashplayer/
|
[Flash]:https://get.adobe.com/flashplayer/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user