<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>rajaseelan.com &#187; yum.</title>
	<atom:link href="http://rajaseelan.com/tag/yum/feed/" rel="self" type="application/rss+xml" />
	<link>http://rajaseelan.com</link>
	<description>junk food for the brain ...</description>
	<lastBuildDate>Tue, 28 Jul 2009 16:37:17 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Temporarily Disable a Yum Repository</title>
		<link>http://rajaseelan.com/2009/07/24/temporarily-disable-a-yum-repository/</link>
		<comments>http://rajaseelan.com/2009/07/24/temporarily-disable-a-yum-repository/#comments</comments>
		<pubDate>Fri, 24 Jul 2009 10:52:10 +0000</pubDate>
		<dc:creator>raja</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[disable]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[repo]]></category>
		<category><![CDATA[repository]]></category>
		<category><![CDATA[temporary]]></category>
		<category><![CDATA[yum.]]></category>

		<guid isPermaLink="false">http://rajaseelan.com/?p=237</guid>
		<description><![CDATA[Sometimes, you may run into problems updating Fedora via yum.  What you could do is temporarily disable the offending repository, and update everything else while the errors are being fixed upstream.

List out your enabled yum repositories.


$ yum repolist


You would get something like this:


[raja@atreides ~]$ yum repolist
Loaded plugins: fastestmirror, presto, refresh-packagekit
repo id    [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes, you may run into problems updating Fedora via yum.  What you could do is temporarily disable the offending repository, and update everything else while the errors are being fixed upstream.</p>
<ol>
<li>List out your enabled yum repositories.
<div class="wp_syntax">
<div class="code">
<pre class="text" style="font-family:monospace;">$ yum repolist</pre>
</div>
</div>
<p>You would get something like this:</p>
<div class="wp_syntax">
<div class="code">
<pre class="text" style="font-family:monospace;">[raja@atreides ~]$ yum repolist
Loaded plugins: fastestmirror, presto, refresh-packagekit
repo id                   repo name                              status
adobe-linux-i386          Adobe Systems Incorporated             enabled:     17
chromium                  Chromium Test Packages                 enabled:      7
fedora                    Fedora 11 - i386                       enabled: 13,289
rpmfusion-free            RPM Fusion for Fedora 11 - Free        enabled:    377
rpmfusion-free-updates    RPM Fusion for Fedora 11 - Free - Upda enabled:    210
rpmfusion-nonfree         RPM Fusion for Fedora 11 - Nonfree     enabled:    110
rpmfusion-nonfree-updates RPM Fusion for Fedora 11 - Nonfree - U enabled:    115
updates                   Fedora 11 - i386 - Updates             enabled:  3,451
repolist: 17,576</pre>
</div>
</div>
</li>
<li>The names on the left are the repo ids. To disable a particular one, for example <code>rpmfusion-nonfree-updates</code> while doing updates, run your yum like this:-
<div class="wp_syntax">
<div class="code">
<pre class="text" style="font-family:monospace;"># yum upgrade --disablerepo=rpmfusion-free-updates</pre>
</div>
</div>
</li>
<li>This will help you upgrade the rest of the packages in the mean time.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://rajaseelan.com/2009/07/24/temporarily-disable-a-yum-repository/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>2 CLI ways to determine which rpm package has a program you wish to install in Fedora Linux</title>
		<link>http://rajaseelan.com/2009/07/08/2-cli-ways-to-determine-which-rpm-package-has-a-program-you-wish-to-install-in-fedora-linux/</link>
		<comments>http://rajaseelan.com/2009/07/08/2-cli-ways-to-determine-which-rpm-package-has-a-program-you-wish-to-install-in-fedora-linux/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 18:11:07 +0000</pubDate>
		<dc:creator>raja</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[provides]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[yum.]]></category>

		<guid isPermaLink="false">http://rajaseelan.com/?p=177</guid>
		<description><![CDATA[There are 2 ways I know of to search for a particular program to install in Linux. As usual, I&#8217;ll be focusing on the Command Line Interface (CLI).
So, you&#8217;ve heard about the versatile port scanning tool called nmap and want to install it in Fedora Linux. The only problem is, you don&#8217;t know if it [...]]]></description>
			<content:encoded><![CDATA[<p>There are 2 ways I know of to search for a particular program to install in Linux. As usual, I&#8217;ll be focusing on the Command Line Interface (CLI).</p>
<p>So, you&#8217;ve heard about the versatile port scanning tool called <a href="http://nmap.org/">nmap</a> and want to install it in Fedora Linux. The only problem is, you don&#8217;t know if it has been pre-packaged and is available as an rpm binary. No worries, all you need to do is search for using <code>yum</code>.</p>
<p>Use the yum search command.</p>
<div class="wp_syntax">
<div class="code">
<pre class="text" style="font-family:monospace;">yum search nmap</pre>
</div>
</div>
<p>Based on its output, you know there are packages available, and all you need to do is <code>yum install nmap</code></p>
<div class="wp_syntax">
<div class="code">
<pre class="text" style="font-family:monospace;">[raja@atreides ~]$ yum search nmap
Loaded plugins: fastestmirror, presto, refresh-packagekit
================================ Matched: nmap =================================
nmap.i586 : Network exploration tool and security scanner
nmap-frontend.i586 : the GTK+ frontend for nmap
onesixtyone.i586 : An efficient SNMP scanner
perl-Nmap-Parser.noarch : Parse nmap scan data with perl
psad.i586 : Port Scan Attack Detector (psad) watches for suspect traffic</pre>
</div>
</div>
<p>Or, you might know that its called <code>nmap</code>, and want to search through you yum repositories to find if any of the available rpms have a file called nmap. To do that, use the <code>yum provides */
<program_name> command. e.g.</p>
<div class="wp_syntax">
<div class="code">
<pre class="text" style="font-family:monospace;">yum provides */nmap</pre>
</div>
</div>
<p>Look at what it gives:</p>
<div class="wp_syntax">
<div class="code">
<pre class="text" style="font-family:monospace;">[raja@atreides ~]$ yum provides */nmap
Loaded plugins: fastestmirror, presto, refresh-packagekit
2:nmap-4.76-4.fc11.i586 : Network exploration tool and security scanner
Repo        : fedora
Matched from:
Filename    : /usr/share/nmap
Filename    : /usr/bin/nmap</pre>
</div>
</div>
<p>From this, you know that the <code>nmap-4.76-4.fc11.i586</code> rpm contains these files, and by installing it, you get nmap.</program_name></code></p>
]]></content:encoded>
			<wfw:commentRss>http://rajaseelan.com/2009/07/08/2-cli-ways-to-determine-which-rpm-package-has-a-program-you-wish-to-install-in-fedora-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to use a download accelerator with a Rapidshare Premium Account in Fedora Linux</title>
		<link>http://rajaseelan.com/2009/07/08/how-to-use-a-download-accelerator-with-a-rapidshare-premium-account-in-fedora-linux/</link>
		<comments>http://rajaseelan.com/2009/07/08/how-to-use-a-download-accelerator-with-a-rapidshare-premium-account-in-fedora-linux/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 17:24:52 +0000</pubDate>
		<dc:creator>raja</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[aria2]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[download accelator]]></category>
		<category><![CDATA[rapidshare]]></category>
		<category><![CDATA[yum.]]></category>

		<guid isPermaLink="false">http://rajaseelan.com/?p=123</guid>
		<description><![CDATA[After reading my previous post, the next question that&#8217;s bound to crop up is How do I use a download accelerator with my premium rapidshare share account in linux?  
Being a command line junkie, I prefer using the terminal for my downloading needs. Let me introduce you to Aria2. As from the website. 
aria2 [...]]]></description>
			<content:encoded><![CDATA[<p>After reading my previous <a href="http://rajaseelan.com/2009/06/30/how-to-download-using-a-rapidshare-premium-account-in-linux/">post</a>, the next question that&#8217;s bound to crop up is <strong>How do I use a download accelerator with my premium rapidshare share account in linux?</strong>  </p>
<p>Being a command line junkie, I prefer using the terminal for my downloading needs. Let me introduce you to <a href="http://aria2.sourceforge.net/">Aria2</a>. As from the website. </p>
<blockquote><p>aria2 is a multi-protocol &#038; multi-source, cross platform download utility. The supported protocols are HTTP(S), FTP, BitTorrent  (DHT, PEX, MSE/PE), and Metalink. </p></blockquote>
<p>Using Fedora, my favourite distro of choice, you first have to install it via yum.</p>
<div class="wp_syntax">
<div class="code">
<pre class="text" style="font-family:monospace;">yum install aria2</pre>
</div>
</div>
<p>Next, you&#8217;ll need to have your cookies saved. Refer to the <a href="http://rajaseelan.com/2009/06/30/how-to-download-using-a-rapidshare-premium-account-in-linux/">previous</a> post for more details.</p>
<p>Now comes the fun part, actually downloading the files.</p>
<p>Here&#8217;s a file which I uploaded, a movie trailer for a recent movie:-</p>
<p><code>http://rapidshare.com/files/207110649/terminatorsalvation-tlr1_h1080p.mov</code></p>
<p>To download with aria2, type in the following command:-</p>
<div class="wp_syntax">
<div class="code">
<pre class="text" style="font-family:monospace;">aria2c -s 5 -j 1 -c --load-cookies=/home/raja/cookies.txt http://rapidshare.com/files/207110649/terminatorsalvation-tlr1_h1080p.mov</pre>
</div>
</div>
<p>The switches for this explained:-</p>
<ul>
<li><strong>-s 5</strong> Split the download into 5 connections</li>
<li><strong>-j 1</strong> How many files to download at once.</li>
<li><strong>-c</strong> Continue any paused / cancelled downloads</li>
<li><strong>&#8211;load-cookies /path/to/cookie</strong> The rapidshare cookie file that was created earlier. This has to be an absolute path</li>
<li>And finally the actual URL of the file</li>
</ul>
<p>If you have a list of files to download, you can enter them in to a text file, and pass them to aria2 for batch downloading via the <strong>-i list_file_name</strong> option. e.g.</p>
<div class="wp_syntax">
<div class="code">
<pre class="text" style="font-family:monospace;">aria2c -s 5 -j 1 -c --load-cookies=/home/raja/cookies.txt -i lists.txt</pre>
</div>
</div>
<p>Happy batch downloading!!!</p>
]]></content:encoded>
			<wfw:commentRss>http://rajaseelan.com/2009/07/08/how-to-use-a-download-accelerator-with-a-rapidshare-premium-account-in-fedora-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install Virtual Box 3.0 in Fedora 11 32 bit</title>
		<link>http://rajaseelan.com/2009/07/05/how-to-install-virtual-box-3-0-in-fedora-11-32-bit/</link>
		<comments>http://rajaseelan.com/2009/07/05/how-to-install-virtual-box-3-0-in-fedora-11-32-bit/#comments</comments>
		<pubDate>Sun, 05 Jul 2009 05:00:37 +0000</pubDate>
		<dc:creator>raja</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[fedora 11]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[PAE]]></category>
		<category><![CDATA[virtualbox]]></category>
		<category><![CDATA[yum.]]></category>

		<guid isPermaLink="false">http://rajaseelan.com/?p=156</guid>
		<description><![CDATA[When trying to install VirtualBox 3.0 in Fedora 11 32bit, you may encounter this error:-


[root@atreides ~]# rpm -ivh VirtualBox-2.2.4_47978_fedora11-1.i586.rpm
Preparing...                ########################################### [100%]
   1:VirtualBox             ########################################### [100%]
&#160;
Creating group 'vboxusers'. [...]]]></description>
			<content:encoded><![CDATA[<p>When trying to install <a href="http://www.virtualbox.org/">VirtualBox 3.0</a> in Fedora 11 32bit, you may encounter this error:-</p>
<div class="wp_syntax">
<div class="code">
<pre class="text" style="font-family:monospace;">[root@atreides ~]# rpm -ivh VirtualBox-2.2.4_47978_fedora11-1.i586.rpm
Preparing...                ########################################### [100%]
   1:VirtualBox             ########################################### [100%]
&nbsp;
Creating group 'vboxusers'. VM users must be member of that group!
&nbsp;
No precompiled module for this kernel found -- trying to build one. Messages
emitted during module compilation will be logged to /var/log/vbox-install.log.
&nbsp;
Compilation of the kernel module FAILED! VirtualBox will not start until this
problem is fixed. Please consult /var/log/vbox-install.log to find out why the
kernel module does not compile. Most probably the kernel sources are not found.
Install them and execute
&nbsp;
  /etc/init.d/vboxdrv setup
&nbsp;
as root.</pre>
</div>
</div>
<p>This happens even when you have the <code>kernel-devel</code> rpm package installed already.</p>
<p><strong>The short:-</strong><br />
Your kernel is most probably a PAE kernel, so just <code>yum install kernel-PAE-devel.i686</code> and then run <code>/etc/init.d/vboxdrv setup</code>. You can then run VirtualBox as usual.</p>
<p><strong>The long:-</strong></p>
<p>Further investigating, I tailed the <code>/var/log/vbox-install.log</code> file, which gave this error	:-</p>
<div class="wp_syntax">
<div class="code">
<pre class="text" style="font-family:monospace;">[root@atreides ~]# tail /var/log/vbox-install.log
** Compiling vboxdrv
Makefile:145: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=&lt;directory&gt; and run Make again.  Stop.
&lt;/directory&gt;</pre>
</div>
</div>
<p>I found it kind of weird, since I have already installed the <code>kernel-devel</code> rpm. So I decided to check my kernel version with this command:-</p>
<div class="wp_syntax">
<div class="code">
<pre class="text" style="font-family:monospace;">[root@atreides ~]# uname -a
Linux atreides.dune 2.6.29.5-191.fc11.i686.PAE #1 SMP Tue Jun 16 23:19:53 EDT 2009 i686 i686 i386 GNU/Linux</pre>
</div>
</div>
<p>After reading up further, I saw <a href="http://docs.fedoraproject.org/release-notes/f11/en-US/sect-Release_Notes-Architecture_Specific_Notes.html#sect-Release_Notes-x86_Specifics_for_Fedora">this</a> in the <a href="http://docs.fedoraproject.org/release-notes/f11/en-US/index.html">Fedora 11 Release Notes</a>:-<br />
<code><br />
3.1. x86 Specifics for Fedora<br />
By default, the PAE kernel is used on 32-bit hardware, where supported by the hardware.<br />
</code></p>
<p>My CPU supports PAE, so by default the kernel-PAE rpm is installed. I checked this by using the following command:-</p>
<div class="wp_syntax">
<div class="code">
<pre class="text" style="font-family:monospace;">[root@atreides ~]# rpm -qa | grep kernel
kernel-PAE-2.6.29.4-167.fc11.i686
kernel-firmware-2.6.29.5-191.fc11.noarch
kernel-PAE-2.6.29.5-191.fc11.i686
kernel-devel-2.6.29.5-191.fc11.i586
kerneloops-0.12-5.fc11.i586
kernel-headers-2.6.29.5-191.fc11.i586</pre>
</div>
</div>
<p>You can see that <code>kernel-PAE-2.6.29.4-167.fc11.i686</code> and <code>kernel-PAE-2.6.29.5-191.fc11.i686</code> is installed. </p>
<p>Doing a <code>yum search kernel-PAE</code> shows this:-</p>
<div class="wp_syntax">
<div class="code">
<pre class="text" style="font-family:monospace;">[raja@atreides ~]$ yum search kernel-PAE
Loaded plugins: fastestmirror, presto, refresh-packagekit
========================================= Matched: kernel-PAE =========================================
kmod-iscsitarget-PAE.i686 : Metapackage which tracks in iscsitarget kernel module for newest kernel-PAE
kernel-PAE.i686 : The Linux kernel compiled for PAE capable machines
kernel-PAE-devel.i686 : Development package for building kernel modules to match the PAE kernel
kernel-PAEdebug.i686 : The Linux kernel compiled with extra debugging enabled for PAE capable machines
kernel-PAEdebug-devel.i686 : Development package for building kernel modules to match the PAEdebug
                           : kernel
kmod-VirtualBox-OSE-PAE.i686 : Metapackage which tracks in VirtualBox-OSE kernel module for newest
                             : kernel-PAE
kmod-blcr-PAE.i686 : Metapackage which tracks in blcr kernel module for newest kernel-PAE
kmod-em8300-PAE.i686 : Metapackage which tracks in em8300 kernel module for newest kernel-PAE
kmod-kqemu-PAE.i686 : Metapackage which tracks in kqemu kernel module for newest kernel-PAE
kmod-ndiswrapper-PAE.i686 : Metapackage which tracks in ndiswrapper kernel module for newest kernel-PAE
kmod-nvidia-173xx-PAE.i686 : Metapackage which tracks in nvidia-173xx kernel module for newest
                           : kernel-PAE
kmod-nvidia-PAE.i686 : Metapackage which tracks in nvidia kernel module for newest kernel-PAE
kmod-open-vm-tools-PAE.i686 : Metapackage which tracks in open-vm-tools kernel module for newest
                            : kernel-PAE
kmod-rt2860-PAE.i686 : Metapackage which tracks in rt2860 kernel module for newest kernel-PAE
kmod-rt2870-PAE.i686 : Metapackage which tracks in rt2870 kernel module for newest kernel-PAE
kmod-rt3070-PAE.i686 : Metapackage which tracks in rt3070 kernel module for newest kernel-PAE
kmod-slmodem-PAE.i686 : Metapackage which tracks in slmodem kernel module for newest kernel-PAE
kmod-sysprof-PAE.i686 : Metapackage which tracks in sysprof kernel module for newest kernel-PAE
kmod-wl-PAE.i686 : Metapackage which tracks in wl kernel module for newest kernel-PAE</pre>
</div>
</div>
<p>Now you know that the kernel-sources for the PAE kernel is <code>kernel-PAE-devel.i686</code>. So, I&#8217;d hav to install that instead.</p>
<div class="wp_syntax">
<div class="code">
<pre class="text" style="font-family:monospace;">[root@atreides ~]# yum install kernel-PAE-devel.i686
Loaded plugins: fastestmirror, presto, refresh-packagekit
Loading mirror speeds from cached hostfile
 * fedora: mirror.oscc.org.my
 * rpmfusion-free: mirror.transact.net.au
 * rpmfusion-free-updates: mirror.transact.net.au
 * rpmfusion-nonfree: mirror.transact.net.au
 * rpmfusion-nonfree-updates: mirror.transact.net.au
 * updates: mirror.oscc.org.my
Setting up Install Process
Resolving Dependencies
--&gt; Running transaction check
---&gt; Package kernel-PAE-devel.i686 0:2.6.29.5-191.fc11 set to be installed
--&gt; Finished Dependency Resolution
&nbsp;
Dependencies Resolved
&nbsp;
=======================================================================================================
 Package                      Arch             Version                       Repository           Size
=======================================================================================================
Installing:
 kernel-PAE-devel             i686             2.6.29.5-191.fc11             updates             6.2 M
&nbsp;
Transaction Summary
=======================================================================================================
Install      1 Package(s)
Update       0 Package(s)
Remove       0 Package(s)
&nbsp;
Total download size: 6.2 M
Is this ok [y/N]: y
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 6.2 M
kernel-PAE-devel-2.6.29.5-191.fc11.i686.rpm                                     | 6.2 MB     08:33
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : kernel-PAE-devel-2.6.29.5-191.fc11.i686                                         1/1
&nbsp;
Installed:
  kernel-PAE-devel.i686 0:2.6.29.5-191.fc11
&nbsp;
Complete!</pre>
</div>
</div>
<p>Once done, run <code>/etc/init.d/vboxdrv setup</code> as root, and your done.</p>
<div class="wp_syntax">
<div class="code">
<pre class="text" style="font-family:monospace;">root@atreides ~]# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module                          [  OK  ]
Recompiling VirtualBox kernel module                       [  OK  ]
Starting VirtualBox kernel module                          [  OK  ]</pre>
</div>
</div>
<p>You can now run VirtualBox. <img src='http://rajaseelan.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://rajaseelan.com/2009/07/05/how-to-install-virtual-box-3-0-in-fedora-11-32-bit/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>6 Ubuntu Package Management tips for the Fedora User</title>
		<link>http://rajaseelan.com/2009/03/09/6-ubuntu-package-management-tips-for-the-fedora-user/</link>
		<comments>http://rajaseelan.com/2009/03/09/6-ubuntu-package-management-tips-for-the-fedora-user/#comments</comments>
		<pubDate>Mon, 09 Mar 2009 05:19:55 +0000</pubDate>
		<dc:creator>raja</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[apt]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[yum.]]></category>

		<guid isPermaLink="false">http://rajaseelan.com/?p=67</guid>
		<description><![CDATA[After deciding that compiling Boxee for Fedora was quite a futile attempt, I installed Ubuntu 8.10 (Intrepid Ibex) on my desktop PC, just to run it.
One of the first things I needed to do was install the latest updates for it. Thats when I realised that I didn&#8217;t know nuts about software installation in Ubuntu, [...]]]></description>
			<content:encoded><![CDATA[<p>After deciding that compiling <a href="http://www.boxee.tv/" target="_blank">Boxee</a> for Fedora was quite a futile attempt, I installed Ubuntu 8.10 (Intrepid Ibex) on my desktop PC, just to run it.</p>
<p>One of the first things I needed to do was install the latest updates for it. Thats when I realised that I didn&#8217;t know nuts about software installation in Ubuntu, other than it was apt-get <em>something</em>.</p>
<p>After reading up the ubuntu docs, and a little googling around, I&#8217;ve compiled a list of common tasks I do with yum on Fedora and its Ubuntu equivalents.</p>
<ol>
<li><strong>yum upgrade</strong> is <strong>apt-get upgrade</strong>
<p>
This one is a little tricky. You should first run <strong>apt-get update</strong> to get the updated list of files in from the repository. Then follow up by the <strong>apt-get upgrade</strong>.
</p>
</li>
<li><strong>yum search <em>packagename</em></strong> is <strong>apt-cache search <em>packagename</em></strong>
<p>The indispensable <strong>yum search</strong> is <strong>apt-cache search</strong>. Good to look through the repositories to determine which package you need to install. Just like yum, you could search for terms or keywords, apt-cache will give you the packages that have matching descriptions. </p>
</li>
<li><strong>yum info <em>packagename</em></strong> is <strong>apt-cache show <em>packagename</em></strong>
<p>Like yum info, this provides descriptions on the packages you want to install. An interesting addition comapred to Fedora is the Suggests: column, which gives you additional packages that you might want to install to enhance functionality of the program.</p>
<p>
Here&#8217;s a sample:-</p>
<div class="wp_syntax">
<div class="code">
<pre class="bash" style="font-family:monospace;">raja<span style="color: #000000; font-weight: bold;">@</span>atom:~<span style="color: #000000; font-weight: bold;">/</span>Examples$ <span style="color: #c20cb9; font-weight: bold;">apt-cache</span> show <span style="color: #c20cb9; font-weight: bold;">mplayer</span>
Package: <span style="color: #c20cb9; font-weight: bold;">mplayer</span>
Priority: extra
Section: multiverse<span style="color: #000000; font-weight: bold;">/</span>graphics
Installed-Size: <span style="color: #000000;">10088</span>
Maintainer: Ubuntu MOTU Developers <span style="color: #000000; font-weight: bold;">&lt;</span>ubuntu -motu<span style="color: #000000; font-weight: bold;">@</span>lists.ubuntu.com<span style="color: #000000; font-weight: bold;">&gt;</span>
Original-Maintainer: Ubuntu MOTU Media Team <span style="color: #000000; font-weight: bold;">&lt;</span>motumedia <span style="color: #000000; font-weight: bold;">@</span>tauware.de<span style="color: #000000; font-weight: bold;">&gt;</span>
Architecture: i386
Version: <span style="color: #000000;">2</span>:<span style="color: #000000;">1.0</span>~rc2-0ubuntu17
Replaces: mplayer-nogui
Depends: libaa1 <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">&gt;</span>= 1.4p5<span style="color: #7a0874; font-weight: bold;">&#41;</span>, libartsc0 <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">&gt;</span>= 1.5.9<span style="color: #7a0874; font-weight: bold;">&#41;</span>, libasound2 <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">&gt;&gt;</span> 1.0.17<span style="color: #7a0874; font-weight: bold;">&#41;</span>, libatk1.0-<span style="color: #000000;">0</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">&gt;</span>= 1.20.0<span style="color: #7a0874; font-weight: bold;">&#41;</span>, libaudio2, libaudiofile0 <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">&gt;</span>= 0.2.3-<span style="color: #000000;">4</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>, libc6 <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">&gt;</span>= <span style="color: #000000;">2.7</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>, libcaca0 <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">&gt;</span>= 0.99.beta13b-<span style="color: #000000;">1</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>, libcairo2 <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">&gt;</span>= 1.2.4<span style="color: #7a0874; font-weight: bold;">&#41;</span>, libcdparanoia0, libcucul0 <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">&gt;</span>= 0.99.beta13b-<span style="color: #000000;">1</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>, libdbus-<span style="color: #000000;">1</span>-<span style="color: #000000;">3</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">&gt;</span>= 1.0.2<span style="color: #7a0874; font-weight: bold;">&#41;</span>, libdbus-glib-<span style="color: #000000;">1</span>-<span style="color: #000000;">2</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">&gt;</span>= <span style="color: #000000;">0.71</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>, libdv4, libenca0 <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">&gt;</span>= <span style="color: #000000;">1.9</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>, libesd-alsa0 <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">&gt;</span>= 0.2.35<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #000000; font-weight: bold;">|</span> libesd0 <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">&gt;</span>= 0.2.35<span style="color: #7a0874; font-weight: bold;">&#41;</span>, libfaac0 <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">&gt;</span>= <span style="color: #000000;">1.26</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>, libfontconfig1 <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">&gt;</span>= 2.4.0<span style="color: #7a0874; font-weight: bold;">&#41;</span>, libfreetype6 <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">&gt;</span>= 2.3.5<span style="color: #7a0874; font-weight: bold;">&#41;</span>, libfribidi0 <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">&gt;</span>= 0.10.9<span style="color: #7a0874; font-weight: bold;">&#41;</span>, libgcc1 <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">&gt;</span>= <span style="color: #000000;">1</span>:4.1.1<span style="color: #7a0874; font-weight: bold;">&#41;</span>, libggi2 <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">&gt;</span>= <span style="color: #000000;">1</span>:2.2.2<span style="color: #7a0874; font-weight: bold;">&#41;</span>, libgif4 <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">&gt;</span>= 4.1.6<span style="color: #7a0874; font-weight: bold;">&#41;</span>, libgl1-mesa-glx <span style="color: #000000; font-weight: bold;">|</span> libgl1, libglib2.0-<span style="color: #000000;">0</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">&gt;</span>= 2.12.0<span style="color: #7a0874; font-weight: bold;">&#41;</span>, libgtk2.0-<span style="color: #000000;">0</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">&gt;</span>= 2.14.1<span style="color: #7a0874; font-weight: bold;">&#41;</span>, libjack0 <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">&gt;</span>= 0.109.2<span style="color: #7a0874; font-weight: bold;">&#41;</span>, libjpeg62, liblircclient0, liblzo2-<span style="color: #000000;">2</span>, libmad0 <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">&gt;</span>= 0.15.1b-<span style="color: #000000;">3</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>, libmp3lame0 <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">&gt;</span>= <span style="color: #000000;">3.98</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>, libmpcdec3, libncurses5 <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">&gt;</span>= <span style="color: #000000;">5.6</span>+<span style="color: #000000;">20071006</span>-<span style="color: #000000;">3</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>, libogg0 <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">&gt;</span>= 1.0rc3<span style="color: #7a0874; font-weight: bold;">&#41;</span>, libopenal1 <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">&gt;</span>= <span style="color: #000000;">1</span>:1.3.253<span style="color: #7a0874; font-weight: bold;">&#41;</span>, libpango1.0-<span style="color: #000000;">0</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">&gt;</span>= 1.21.6<span style="color: #7a0874; font-weight: bold;">&#41;</span>, libpng12-<span style="color: #000000;">0</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">&gt;</span>= 1.2.13-<span style="color: #000000;">4</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>, libpulse0 <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">&gt;</span>= 0.9.8<span style="color: #7a0874; font-weight: bold;">&#41;</span>, libsdl1.2debian <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">&gt;</span>= 1.2.10-<span style="color: #000000;">1</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>, libsmbclient <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">&gt;</span>= 3.0.24<span style="color: #7a0874; font-weight: bold;">&#41;</span>, libspeex1 <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">&gt;</span>= <span style="color: #000000;">1.2</span>~beta3-<span style="color: #000000;">1</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>, libstdc++<span style="color: #000000;">6</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">&gt;</span>= 4.1.1<span style="color: #7a0874; font-weight: bold;">&#41;</span>, libsvga1, libtheora0 <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">&gt;</span>= 0.0.0.alpha7.dfsg-<span style="color: #000000;">1.1</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>, libvorbis0a <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">&gt;</span>= 1.1.2<span style="color: #7a0874; font-weight: bold;">&#41;</span>, libx11-<span style="color: #000000;">6</span>, libx264-<span style="color: #000000;">59</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">&gt;</span>= <span style="color: #000000;">1</span>:0.svn20080408<span style="color: #7a0874; font-weight: bold;">&#41;</span>, libxext6, libxinerama1, libxt6, libxv1, libxvidcore4 <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">&gt;</span>= <span style="color: #000000;">1</span>:1.0.0-<span style="color: #000000;">0.0</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>, libxvmc1, libxxf86dga1, libxxf86vm1, zlib1g <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">&gt;</span>= <span style="color: #000000;">1</span>:1.1.4<span style="color: #7a0874; font-weight: bold;">&#41;</span>, ttf-bitstream-vera, mplayer-skins, ttf-dejavu
Suggests: w32codecs, libdvdcss, mplayer-doc, ladspa-sdk
Conflicts: mplayer-nogui
Filename: pool<span style="color: #000000; font-weight: bold;">/</span>multiverse<span style="color: #000000; font-weight: bold;">/</span>m<span style="color: #000000; font-weight: bold;">/</span>mplayer<span style="color: #000000; font-weight: bold;">/</span>mplayer_1.0~rc2-0ubuntu17_i386.deb
Size: <span style="color: #000000;">4425834</span>
MD5sum: c34e4650c294bf0277d37432bdd81bde
SHA1: da382398f120a0ecb421ac160d4d5676c081b27a
SHA256: edf9c491e09c9f215a57db60df2ba94d17561ea20d890d576f5202a760dd5ad0
Description: The Ultimate Movie Player For Linux
 It plays most mpeg, avi and asf files, supported by many native and win32
 DLL codecs. You can watch VCD, DVD and even DivX movies too. The other
 big feature of <span style="color: #c20cb9; font-weight: bold;">mplayer</span> is the wide range of supported output drivers. It
 works with X11, Xv, DGA, OpenGL, SVGAlib, fbdev, but you can use SDL <span style="color: #7a0874; font-weight: bold;">&#40;</span>and
 this way all drivers of SDL<span style="color: #7a0874; font-weight: bold;">&#41;</span> and some lowlevel card-specific drivers <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">for</span>
 Matrox<span style="color: #000000; font-weight: bold;">/</span>3dfx<span style="color: #000000; font-weight: bold;">/</span>SiS<span style="color: #7a0874; font-weight: bold;">&#41;</span> too<span style="color: #000000; font-weight: bold;">!</span> Most of them supports software or hardware scaling,
 so you can enjoy movies <span style="color: #000000; font-weight: bold;">in</span> fullscreen.
 .
 This version includes the Gtk GUI
Bugs: mailto:ubuntu-users<span style="color: #000000; font-weight: bold;">@</span>lists.ubuntu.com
Origin: Ubuntu
<span style="color: #000000; font-weight: bold;">&lt;/</span>motumedia<span style="color: #000000; font-weight: bold;">&gt;&lt;/</span>ubuntu<span style="color: #000000; font-weight: bold;">&gt;</span></pre>
</div>
</div>
</li>
<li><strong>yum deplist</strong> is <strong>apt-cache showpkg</strong>
<p>Provides similiar information, giving you an idea of the additional dependencies required to run the program.</p>
</li>
<li><strong>yum grouplist</strong> is <strong>tasksel &#8211;list-tasks</strong>
<p>Yum in Fedora has groups. So does Ubuntu. Finding it involved a little google-fu, but they work relatively the same. I sort of like the way tasksel lists its already installed /  available packages. Seems more neat to me, eventhough  new users may encounter a WTF??? moment looking at the the u &#038; i prepended on the task names.</p>
</li>
<li><strong>yum groupinfo</strong> a combo of 2 separate <strong>tasksel</strong> commands
<p>yum groupinfo gives you a description of the <em>task</em> or group, as well as a list of packages that need to be installed To get similiar info from tasksel, run <strong>tasksel &#8211;task-desc lamp-server</strong> to get a brief description on the task. e.g.</p>
<div class="wp_syntax">
<div class="code">
<pre class="bash" style="font-family:monospace;">raja<span style="color: #000000; font-weight: bold;">@</span>atom:~<span style="color: #000000; font-weight: bold;">/</span>Examples$ tasksel <span style="color: #660033;">--task-desc</span> lamp-server
Selects a ready-made Linux<span style="color: #000000; font-weight: bold;">/</span>Apache<span style="color: #000000; font-weight: bold;">/</span>MySQL<span style="color: #000000; font-weight: bold;">/</span>PHP server.</pre>
</div>
</div>
<p>
To get a list of packages that task installs, run <strong>tasksel &#8211;task-packages <em>taskname</em></strong>.</p>
<div class="wp_syntax">
<div class="code">
<pre class="bash" style="font-family:monospace;">raja<span style="color: #000000; font-weight: bold;">@</span>atom:~<span style="color: #000000; font-weight: bold;">/</span>Examples$ tasksel <span style="color: #660033;">--task-packages</span> lamp-server
libwrap0
apache2
mysql-client-<span style="color: #000000;">5.0</span>
tcpd
libapache2-mod-php5
apache2.2-common
apache2-utils
php5-common
libaprutil1
php5-mysql
libmysqlclient15off
libdbi-perl
libplrpc-perl
mysql-server
openssl-blacklist
libdbd-mysql-perl
mysql-server-<span style="color: #000000;">5.0</span>
libnet-daemon-perl
libapr1
libpq5
ssl-cert
apache2-mpm-prefork
mysql-common</pre>
</div>
</div>
</li>
</ol>
<p>I guess that would be it for this post. I&#8217;ll post more if I find anything else that I may be missing.</p>
<p>Sources for my info:-</p>
<ul>
<li><a href="http://www.cyberciti.biz/faq/tasksel-install-group-software-in-command-line/" target="_blank">Debian / Ubuntu tasksel: Install Group Software (tasks) such As DNS / Web Server In A Single Click</a></li>
<li><a href="http://www.debian.org/doc/manuals/apt-howto/index.en.html" target="_blank">The Debian Apt User Manual</a></li>
<li> <a href="https://help.ubuntu.com/community/SwitchingToUbuntu/FromLinux/RedHatEnterpriseLinuxAndFedora" target="_blank">SwitchingToUbuntuFromLinuxRedHatEnterpriseLinuxAndFedora(A must read)</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://rajaseelan.com/2009/03/09/6-ubuntu-package-management-tips-for-the-fedora-user/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
