<?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>Make Tech Easier&#187; package management</title>
	<atom:link href="http://maketecheasier.com/tag/package-management/feed" rel="self" type="application/rss+xml" />
	<link>http://maketecheasier.com</link>
	<description>Uncomplicating the complicated, making life easier</description>
	<lastBuildDate>Sun, 12 Feb 2012 15:58:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>5 More Intriguing KDE Apps</title>
		<link>http://maketecheasier.com/5-more-intriguing-kde-apps/2011/03/30</link>
		<comments>http://maketecheasier.com/5-more-intriguing-kde-apps/2011/03/30#comments</comments>
		<pubDate>Wed, 30 Mar 2011 16:58:06 +0000</pubDate>
		<dc:creator>Tavis J. Hampton</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[applications]]></category>
		<category><![CDATA[apps]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[image conversion]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[music player]]></category>
		<category><![CDATA[package management]]></category>
		<category><![CDATA[qt]]></category>
		<category><![CDATA[user switching]]></category>

		<guid isPermaLink="false">http://maketecheasier.com/?p=31222</guid>
		<description><![CDATA[Ever so often, I take a stroll over to KDE-Apps.org and look at some of the fantastic creations people from the KDE community develop. There are a wide range of apps in nearly every category, but I have selected 5 that stand out and would be very useful additions to my desktop and hopefully yours [...]<p><div style="float:left;margin-bottom:10px"><a href="http://api.tweetmeme.com/share?url=http://maketecheasier.com/5-more-intriguing-kde-apps/2011/03/30&amp;service=bit.ly" target="_blank"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://maketecheasier.com/5-more-intriguing-kde-apps/2011/03/30" style="border:none;margin-right:5px" width="51" height="61"></a><a href="http://digg.com/tools/diggthis/login?url=http://maketecheasier.com/5-more-intriguing-kde-apps/2011/03/30" target="_blank"><img src="http://images.maketecheasier.com/diggme.png" style="border:none;margin-right:5px" ></a><a href="http://www.facebook.com/sharer.php?u=http://maketecheasier.com/5-more-intriguing-kde-apps/2011/03/30" target="_blank"><img src="http://images.maketecheasier.com/fb.jpg" style="border:none;margin-right:5px" ></a><a href="http://www.google.com/reader/link?url=http://maketecheasier.com/5-more-intriguing-kde-apps/2011/03/30&amp;title=5+More+Intriguing+KDE+Apps&amp;srcTitle=MakeTechEasier.com" target="_blank"><img src="http://images.maketecheasier.com/gbuzz-feed.png" style="border:none;margin-right:5px" ></a><a href="http://www.stumbleupon.com/submit?url=http://maketecheasier.com/5-more-intriguing-kde-apps/2011/03/30" target="_blank"><img src="http://images.maketecheasier.com/stumble.png"></a></div>
<div style="clear:both"></div>
<strong><a href="http://maketecheasier.com/5-more-intriguing-kde-apps/2011/03/30">5 More Intriguing KDE Apps</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)
<br/>
Follow us at <a href="http://www.facebook.com/MakeTechEasier">Facebook</a> | <a href="http://twitter.com/MakeTechEasier">Twitter</a></p>
]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-31223" title="KDE plain logo" src="http://imagecdn.maketecheasier.com/2011/03/kde-logo-plain.png" alt="KDE plain logo" width="102" height="102" />Ever so often, I take a stroll over to <a href="http://kde-apps.org/">KDE-Apps.org</a> and look at some of the fantastic creations people from the KDE community develop. There are a wide range of apps in nearly every category, but I have selected 5 that stand out and would be very useful additions to my desktop and hopefully yours too. All of these apps are either new or have been recently updated within the past few months.<br />
<span id="more-31222"></span></p>
<h3>1. <a href="http://kde-apps.org/content/show.php/fast+user+switch?content=127462">Faster User Switch</a></h3>
<p>If you happen to share a computer with one or more individuals, switching users is very important. This little plasma widget makes it easy to select a currently logged-in user and switch to that account. It can display user avatars, their names, or both.  It is a nice widget to add to a panel for easy access. It also provides a quick interface for starting new user sessions.</p>
<p><img class="aligncenter size-full wp-image-31224" title="Fast user switch" src="http://imagecdn.maketecheasier.com/2011/03/kdeapps-fast-user-switch.jpg" alt="Fast user switch" width="315" height="348" /></p>
<h3>2. <a href="http://members.aon.at/m.koller/">Kbackup</a></h3>
<p>Kbackup has been around for a long time, but it just received an update. With it you can quickly and easily backup any directory on your computer, specify where you want the backups to go, and have them archived in the folder or device of your choice. This app is lightweight, simple, and does exactly what it says.</p>
<p>Packages for Kbackup are available in Ubuntu repositories and other Linux distributions.</p>
<p><img class="aligncenter size-full wp-image-31225" title="kbackup" src="http://imagecdn.maketecheasier.com/2011/03/kdeapps-kbackup.png" alt="kbackup" width="577" height="361" /></p>
<h3>3. <a href="http://converseen.sourceforge.net/">Converseen</a></h3>
<p>This nifty little application is a must for anyone who works with a great deal of images. It is a pure Qt app, rather than a KDE one, but that means it still integrates perfectly with KDE. With Converseen you can convert batches of images to any format, any size, any resolution, and to any naming scheme you want. It allows you to make multiple changes on the fly and then save the new images wherever you want. Best of all, Converseen supports just about every image format you can imagine.</p>
<p><img class="aligncenter size-full wp-image-31226" title="Converseen" src="http://imagecdn.maketecheasier.com/2011/03/kdeapps-converseen.png" alt="Converseen" width="577" height="374" /></p>
<h3>4. Muon Package Management Suite</h3>
<p>The graphical package manager frontends for KDE have always felt a bit like second-class citizens to Synaptic for GTK. Muon comes very close to evening the playing field. With it you can search, update, install, and receive update notifications for packages with ease. Muon Software Center provides a more visual approach to installation, similar to Ubuntu Software Center. Based on QApt, the entire application suite is lightweight and fast, without some of the hiccups of other frontends.</p>
<p>Muon is available in many Linux distribution repositories.</p>
<p><img class="aligncenter size-full wp-image-31227" title="Muon" src="http://imagecdn.maketecheasier.com/2011/03/kdeapps-muon-package-manager.png" alt="Muon" width="577" height="380" /></p>
<h3>5. <a href="http://www.clementine-player.org/">Clementine</a></h3>
<p>Not everyone was in love with the new interface and features of Amarok 2 that came with KDE 4. For those who still love the old Amarok 1.4 look and feel, Clementine is a Qt music app, inspired by that code tree with quite a bit of its own unique features. Features include lyrics, artist bios, tabbed playlists, Wii remote support, visualizations, iPod, iPhone, and mass storage USB support, album cover art, Internet music (Last.fm, SomaFM, Magnatune, Jamendo, and Icecast), and music format conversion.</p>
<p>You can download Clementine for Linux, Windows, Mac OS X, or the source code for other operating systems.</p>
<p><img class="aligncenter size-full wp-image-31228" title="Clementine" src="http://imagecdn.maketecheasier.com/2011/03/kdeapps-clementine.jpg" alt="Clementine" width="577" height="341" /></p>
<p>There are plenty of other great apps hiding on KDE-Apps.org.  Many are updated regularly and well maintained.  If you have a favorite third-party KDE app, feel free to share it in the comments section.  Also, if you would like to read a review of any app, make sure to suggest it to MakeTechEasier.</p>
<p><strong>Recommended reading:<br />
<a title="5 Intriguing KDE Apps" href="http://maketecheasier.com/5-intriguing-kde-apps/2010/09/29">5 Intriguing KDE Apps</a></strong></p>
<p><div style="float:left;margin-bottom:10px"><a href="http://api.tweetmeme.com/share?url=http://maketecheasier.com/5-more-intriguing-kde-apps/2011/03/30&amp;service=bit.ly" target="_blank"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://maketecheasier.com/5-more-intriguing-kde-apps/2011/03/30" style="border:none;margin-right:5px" width="51" height="61"></a><a href="http://digg.com/tools/diggthis/login?url=http://maketecheasier.com/5-more-intriguing-kde-apps/2011/03/30" target="_blank"><img src="http://images.maketecheasier.com/diggme.png" style="border:none;margin-right:5px" ></a><a href="http://www.facebook.com/sharer.php?u=http://maketecheasier.com/5-more-intriguing-kde-apps/2011/03/30" target="_blank"><img src="http://images.maketecheasier.com/fb.jpg" style="border:none;margin-right:5px" ></a><a href="http://www.google.com/reader/link?url=http://maketecheasier.com/5-more-intriguing-kde-apps/2011/03/30&amp;title=5+More+Intriguing+KDE+Apps&amp;srcTitle=MakeTechEasier.com" target="_blank"><img src="http://images.maketecheasier.com/gbuzz-feed.png" style="border:none;margin-right:5px" ></a><a href="http://www.stumbleupon.com/submit?url=http://maketecheasier.com/5-more-intriguing-kde-apps/2011/03/30" target="_blank"><img src="http://images.maketecheasier.com/stumble.png"></a></div>
<div style="clear:both"></div>
<strong><a href="http://maketecheasier.com/5-more-intriguing-kde-apps/2011/03/30">5 More Intriguing KDE Apps</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)
<br/>
Follow us at <a href="http://www.facebook.com/MakeTechEasier">Facebook</a> | <a href="http://twitter.com/MakeTechEasier">Twitter</a></p>
]]></content:encoded>
			<wfw:commentRss>http://maketecheasier.com/5-more-intriguing-kde-apps/2011/03/30/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to Backup And Install Your Linux Applications With AptOnCD</title>
		<link>http://maketecheasier.com/backup-instal-your-linux-applications-with-aptoncd/2009/06/13</link>
		<comments>http://maketecheasier.com/backup-instal-your-linux-applications-with-aptoncd/2009/06/13#comments</comments>
		<pubDate>Sat, 13 Jun 2009 12:59:04 +0000</pubDate>
		<dc:creator>Damien</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[package management]]></category>
		<category><![CDATA[Synaptic Package Manager]]></category>

		<guid isPermaLink="false">http://maketecheasier.com/?p=5308</guid>
		<description><![CDATA[Everytime after you have reformatted the hard disk and reinstalled the Linux distro of your choice, the one troublesome thing that you need to do is to re-download all your applications and restore all the settings. This is made worst when your wireless connection just don&#8217;t work with the newly installed distro. How are you [...]<p><div style="float:left;margin-bottom:10px"><a href="http://api.tweetmeme.com/share?url=http://maketecheasier.com/backup-instal-your-linux-applications-with-aptoncd/2009/06/13&amp;service=bit.ly" target="_blank"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://maketecheasier.com/backup-instal-your-linux-applications-with-aptoncd/2009/06/13" style="border:none;margin-right:5px" width="51" height="61"></a><a href="http://digg.com/tools/diggthis/login?url=http://maketecheasier.com/backup-instal-your-linux-applications-with-aptoncd/2009/06/13" target="_blank"><img src="http://images.maketecheasier.com/diggme.png" style="border:none;margin-right:5px" ></a><a href="http://www.facebook.com/sharer.php?u=http://maketecheasier.com/backup-instal-your-linux-applications-with-aptoncd/2009/06/13" target="_blank"><img src="http://images.maketecheasier.com/fb.jpg" style="border:none;margin-right:5px" ></a><a href="http://www.google.com/reader/link?url=http://maketecheasier.com/backup-instal-your-linux-applications-with-aptoncd/2009/06/13&amp;title=How+to+Backup+And+Install+Your+Linux+Applications+With+AptOnCD&amp;srcTitle=MakeTechEasier.com" target="_blank"><img src="http://images.maketecheasier.com/gbuzz-feed.png" style="border:none;margin-right:5px" ></a><a href="http://www.stumbleupon.com/submit?url=http://maketecheasier.com/backup-instal-your-linux-applications-with-aptoncd/2009/06/13" target="_blank"><img src="http://images.maketecheasier.com/stumble.png"></a></div>
<div style="clear:both"></div>
<strong><a href="http://maketecheasier.com/backup-instal-your-linux-applications-with-aptoncd/2009/06/13">How to Backup And Install Your Linux Applications With AptOnCD</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)
<br/>
Follow us at <a href="http://www.facebook.com/MakeTechEasier">Facebook</a> | <a href="http://twitter.com/MakeTechEasier">Twitter</a></p>
]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="aptoncd4" src="http://imagecdn.maketecheasier.com/2009/06/aptoncd-logo.jpg" alt="aptoncd4" width="97" height="80" />Everytime after you have reformatted the hard disk and reinstalled the Linux distro of your choice, the one troublesome thing that you need to do is to re-download all your applications and restore all the settings. This is made worst when your wireless connection just don&#8217;t work with the newly installed distro. How are you going to download all your applications when you can&#8217;t even connect to the Internet?</p>
<p><a href="http://aptoncd.sourceforge.net" target="_blank">APTonCD</a> aims to solve this problem by backing up all your packages into a Cd/DVD. You can then install your applications right from the CD/DVD. If you want to save up on CD, you can even store the data as an iso file and restore your system right from the ISO file.</p>
<p><span id="more-5308"></span>Here&#8217;s how it is done:</p>
<p>Install APTonCD</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> aptoncd</pre></div></div>

<p>you can also install it via the Synaptic Package Manager.</p>
<p>Go to <em>System-&gt;Adminstration-&gt;APTonCD</em></p>
<p><img class="alignnone" title="aptoncd1" src="http://imagecdn.maketecheasier.com/2009/06/aptoncd1.jpg" alt="aptoncd1" width="487" height="373" /></p>
<h3>Backing up package</h3>
<p>Click the <em>Create</em> button.</p>
<p>APTonCD will then scan your system for all the package that you have downloaded/installed previously.</p>
<p><img class="alignnone" title="aptoncd2" src="http://imagecdn.maketecheasier.com/2009/06/aptoncd2.jpg" alt="aptoncd2" width="524" height="555" /></p>
<p>When it is done scanning, you can then select the package that you want to backup. Click Burn to start the backup process.</p>
<p>Enter the destination to store the image. Depending on the size of the file, you might need to choose DVD instead of CD.</p>
<p><img class="alignnone" title="aptoncd3" src="http://imagecdn.maketecheasier.com/2009/06/aptoncd3.jpg" alt="aptoncd3" width="316" height="365" /></p>
<p>When it is done, it will prompt you to burn into a CD/DVD. Click <em>Cancel</em> if you only want to store it as an ISO file.</p>
<p><img class="alignnone" title="aptoncd4" src="http://imagecdn.maketecheasier.com/2009/06/aptoncd4.jpg" alt="aptoncd4" width="414" height="283" /></p>
<p>This is all you need to do for the backing up process.</p>
<h3>Restoring the package</h3>
<p>To restore the package (assuming you have created the CD media), simply pop in the CD/DVD. Your computer will scan the disc and prompt up a window asking if you want to restore the package. Click Yes. Once that&#8217;s done, you will be able to install applications from the Synaptic Package Manager (or <em>apt-get</em>) without Internet connection.</p>
<p><!--adsense#468x60--></p>
<p><div style="float:left;margin-bottom:10px"><a href="http://api.tweetmeme.com/share?url=http://maketecheasier.com/backup-instal-your-linux-applications-with-aptoncd/2009/06/13&amp;service=bit.ly" target="_blank"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://maketecheasier.com/backup-instal-your-linux-applications-with-aptoncd/2009/06/13" style="border:none;margin-right:5px" width="51" height="61"></a><a href="http://digg.com/tools/diggthis/login?url=http://maketecheasier.com/backup-instal-your-linux-applications-with-aptoncd/2009/06/13" target="_blank"><img src="http://images.maketecheasier.com/diggme.png" style="border:none;margin-right:5px" ></a><a href="http://www.facebook.com/sharer.php?u=http://maketecheasier.com/backup-instal-your-linux-applications-with-aptoncd/2009/06/13" target="_blank"><img src="http://images.maketecheasier.com/fb.jpg" style="border:none;margin-right:5px" ></a><a href="http://www.google.com/reader/link?url=http://maketecheasier.com/backup-instal-your-linux-applications-with-aptoncd/2009/06/13&amp;title=How+to+Backup+And+Install+Your+Linux+Applications+With+AptOnCD&amp;srcTitle=MakeTechEasier.com" target="_blank"><img src="http://images.maketecheasier.com/gbuzz-feed.png" style="border:none;margin-right:5px" ></a><a href="http://www.stumbleupon.com/submit?url=http://maketecheasier.com/backup-instal-your-linux-applications-with-aptoncd/2009/06/13" target="_blank"><img src="http://images.maketecheasier.com/stumble.png"></a></div>
<div style="clear:both"></div>
<strong><a href="http://maketecheasier.com/backup-instal-your-linux-applications-with-aptoncd/2009/06/13">How to Backup And Install Your Linux Applications With AptOnCD</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)
<br/>
Follow us at <a href="http://www.facebook.com/MakeTechEasier">Facebook</a> | <a href="http://twitter.com/MakeTechEasier">Twitter</a></p>
]]></content:encoded>
			<wfw:commentRss>http://maketecheasier.com/backup-instal-your-linux-applications-with-aptoncd/2009/06/13/feed</wfw:commentRss>
		<slash:comments>32</slash:comments>
		</item>
		<item>
		<title>Things You Need To Know To Become An Apt Guru</title>
		<link>http://maketecheasier.com/become-an-apt-guru/2009/02/24</link>
		<comments>http://maketecheasier.com/become-an-apt-guru/2009/02/24#comments</comments>
		<pubDate>Tue, 24 Feb 2009 12:53:42 +0000</pubDate>
		<dc:creator>Joshua Price</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Apt]]></category>
		<category><![CDATA[Aptitude]]></category>
		<category><![CDATA[Command]]></category>
		<category><![CDATA[dpkg]]></category>
		<category><![CDATA[package management]]></category>

		<guid isPermaLink="false">http://maketecheasier.com/?p=2917</guid>
		<description><![CDATA[Quite possibly the most distinguishing feature of Debian-based Linux distributions (such as Ubuntu, Mepis, Knoppix, etc) is their package system &#8211; APT. Also known as the Advanced Package Tool, APT was first introduced in Debian 2.1 in 1999.  APT is not so much a specific program as it is a collection of separate, related packages. [...]<p><div style="float:left;margin-bottom:10px"><a href="http://api.tweetmeme.com/share?url=http://maketecheasier.com/become-an-apt-guru/2009/02/24&amp;service=bit.ly" target="_blank"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://maketecheasier.com/become-an-apt-guru/2009/02/24" style="border:none;margin-right:5px" width="51" height="61"></a><a href="http://digg.com/tools/diggthis/login?url=http://maketecheasier.com/become-an-apt-guru/2009/02/24" target="_blank"><img src="http://images.maketecheasier.com/diggme.png" style="border:none;margin-right:5px" ></a><a href="http://www.facebook.com/sharer.php?u=http://maketecheasier.com/become-an-apt-guru/2009/02/24" target="_blank"><img src="http://images.maketecheasier.com/fb.jpg" style="border:none;margin-right:5px" ></a><a href="http://www.google.com/reader/link?url=http://maketecheasier.com/become-an-apt-guru/2009/02/24&amp;title=Things+You+Need+To+Know+To+Become+An+Apt+Guru&amp;srcTitle=MakeTechEasier.com" target="_blank"><img src="http://images.maketecheasier.com/gbuzz-feed.png" style="border:none;margin-right:5px" ></a><a href="http://www.stumbleupon.com/submit?url=http://maketecheasier.com/become-an-apt-guru/2009/02/24" target="_blank"><img src="http://images.maketecheasier.com/stumble.png"></a></div>
<div style="clear:both"></div>
<strong><a href="http://maketecheasier.com/become-an-apt-guru/2009/02/24">Things You Need To Know To Become An Apt Guru</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)
<br/>
Follow us at <a href="http://www.facebook.com/MakeTechEasier">Facebook</a> | <a href="http://twitter.com/MakeTechEasier">Twitter</a></p>
]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-2971" src="http://imagecdn.maketecheasier.com/2009/02/apt.png" alt="apt" width="200" height="200" />Quite possibly the most distinguishing feature of Debian-based Linux distributions (such as Ubuntu, Mepis, Knoppix, etc) is their package system &#8211; APT. Also known as the Advanced Package Tool, APT was first introduced in Debian 2.1 in 1999.  APT is not so much a specific program as it is a collection of separate, related packages.</p>
<p>With APT, Linux gained the ability to install and manage software packages in a much simpler and more efficient way than was previously possible. Before its introduction, most software had to be installed either by manually compiling the source code, or using individual packages with no automatic dependency handling (such as RPM files).  This could mean hours of  &#8220;dependency hell&#8221; even to install a fairly trivial program.</p>
<p>In this article, we are going to highlight some of APT&#8217;s best features, and share a few of the lesser known features of APT and its cousin <em>dpkg</em>.  Believe it or not, APT can even be used to <a href="http://algebraicthunk.net/~dburrows/blog/entry/package-management-sudoku/" target="_blank">solve Sodoku puzzles</a>!</p>
<p><span id="more-2917"></span></p>
<h3>dpkg</h3>
<p>The base of Debian&#8217;s package system is dpkg. It performs all the low level functions of software installation. If you were so inclined, you could use dpkg alone to manage your software. It can install, remove, and provide information on your system&#8217;s software collection. Here are some of my favorite features.</p>
<h3>Basic installation of local file</h3>
<p>Some software authors create Debian packages of their programs, but do not provide a repository for APT to fetch from. In this case they just provide a downloadable .deb file. This is very similar to RPM packages, or even Windows .msi files. It contains all the files and configuration information necessary to install the program. To install a program from a .deb file, you simply need</p>
<p class="codeblock">dpkg -i MyNewProgram.deb</p>
<p>The <em>-i</em>, as you may guess, tells dpkg to install this piece of software.</p>
<h3>Listing a package&#8217;s contents</h3>
<p>You may find yourself, after installing a program, unable to figure out how to run that program.  Sometimes, you need to know where to find the config files for your new game. Dpkg provides an easy way to list all the files that belong to a particular package.</p>
<p class="codeblock">dpkg -L MyNewProgram</p>
<p>Note that case matters.  -L and -l are entirely different options.</p>
<p>Often, a package has so many files it can be difficult to sift through the list to find the one(s) you&#8217;re looking for. If that&#8217;s the case, we can use <em>grep</em> to filter the results. The following command does the same as above, but only shows results that have &#8220;bin&#8221; in the path, such as /usr/bin.</p>
<p class="codeblock">dpkg -L MyNewProgram | grep bin</p>
<p>I won&#8217;t even begin to go into the awesome power that is <em>grep</em>, but in its simplest form it can be used, like above, to quickly and easily filter a program&#8217;s output.</p>
<h3>Finding the owner of a file</h3>
<p>Occasionally, you find yourself in a situation that&#8217;s the reverse of the section above. You have a file, but you don&#8217;t know what package it belongs to. Once again, dpkg has you covered.</p>
<p class="codeblock">dpkg -S mysteryfile.cfg</p>
<p>This will tell you which package created/owns that file.</p>
<h3>Listing what you&#8217;ve got installed</h3>
<p>Let&#8217;s say you&#8217;re about to reinstall your system, and you want to know exactly what you&#8217;ve already got installed. You could open up an app like Synaptic and set a filter to show everything marked as &#8220;installed&#8221;, or you could do it quickly and easily from the command line with dpkg.</p>
<p class="codeblock">dpkg -l</p>
<p>or</p>
<p class="codeblock"><code>dpkg --get-selections</code></p>
<p>That will give you one big long list of everything you&#8217;ve got installed.  Advanced users could use these commands to create a text file with all their packages listed, which could be fed into APT later to reinstall everything at once!</p>
<h3>Reconfiguring a package</h3>
<p>When a .deb package is installed, it goes through a few stages. One of those is the configuration stage, where developers can put a series of actions that take place once all the files have been installed to a proper location. This includes things like start/stopping services, or creating logs, or other such things. Sometimes you need to repeat those steps, without going through the whole reinstallation process.  For that, you use:</p>
<p class="codeblock">dpkg-reconfigure (packagename)</p>
<p>This will redo all the post-install steps needed for that package without forcing you to reinstall.  Believe me, this one comes in handy.</p>
<h3>Aptitude/Apt-get</h3>
<p>There&#8217;s some debate and confusion regarding these two tools. Many Linux users have a hard time telling when/why to use one over the other, as they do roughly the same thing.</p>
<p>Short answer: use Aptitude.</p>
<p>Long answer: Both can be used to manage all software installations removals, and both will do a good job. The Debian team officially recommends using Aptitude. It&#8217;s not that it&#8217;s a LOT better than apt-get, but that it&#8217;s a little better, in lots of ways. You can use either one and it will meet your package management needs, but <strong>don&#8217;t</strong> mix and match on the same system. Pick one and stick with it. </p>
<h3>Finding the right package</h3>
<p>I often find myself in need of software to do a certain thing, but I don&#8217;t know the name of any programs to do it. For example, I may need a FLAC player, but don&#8217;t know offhand what player will work&#8230;</p>
<p>Aptitude:</p>
<p class="codeblock">aptitude search flac</p>
<p>Classic APT:</p>
<p class="codeblock">apt-cache search flac</p>
<p>You&#8217;ll get a list of available packages that have &#8220;flac&#8221; in the name or description.</p>
<h3>Preventing a package from updating</h3>
<p>On some occasions, I have a version of a package that I want to keep even though there may be upgrades. When it comes to my kernel, for example, I prefer to update manually.</p>
<p>Aptitude:</p>
<p class="codeblock">aptitude hold (packagename)</p>
<p>dpkg:</p>
<p class="codeblock"><code>echo "(packagename) hold" | dpkg --set-selections</code></p>
<h3>Upgrading</h3>
<p>Both Aptitude and classic APT provide two methods of upgrading your system: <em>upgrade</em> and <em>dist-upgrade</em>.  This is another thing that causes some confusion.  An upgrade is an upgrade, right?  Well not exactly.</p>
<p>A regular <em>upgrade</em> will read your list of packages, check online for newer versions, and install them as needed.  It will NOT, however, perform any upgrades that would require new packages installed, or existing ones removed.  This is what <em>dist-upgrade</em> is for.  It will get every newer version it finds, even if it involves installing something new (such as a dependency) or removing an existing package (if it&#8217;s obsolete or is no longer needed).</p>
<p>Aptitude:</p>
<p class="codeblock">aptitude safe-upgrade<br />
aptitude full-upgrade</p>
<p>Classic APT:</p>
<p class="codeblock">apt-get upgrade<br />
apt-get dist-upgrade</p>
<h3>Learn about a package</h3>
<p>Finally, some times you just need to know a little about a package.  What version is it?  Who maintains it?  Is it already installed?  All these things and more you can find with:</p>
<p>Aptitude:</p>
<p class="codeblock">aptitude show (packagename)</p>
<p>APT:</p>
<p class="codeblock">apt-cache showpkg (packagename)</p>
<p>All of the programs mentioned here are capable of far more than I&#8217;ve shown.  The tips here should go a long way in helping you use this amazing package system to its full potential.</p>
<p>Also, for those with the patience to read all the way to the end,</p>
<p class="codeblock">apt-get moo</p>
<p><!--adsense#468x60--></p>
<p><div style="float:left;margin-bottom:10px"><a href="http://api.tweetmeme.com/share?url=http://maketecheasier.com/become-an-apt-guru/2009/02/24&amp;service=bit.ly" target="_blank"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://maketecheasier.com/become-an-apt-guru/2009/02/24" style="border:none;margin-right:5px" width="51" height="61"></a><a href="http://digg.com/tools/diggthis/login?url=http://maketecheasier.com/become-an-apt-guru/2009/02/24" target="_blank"><img src="http://images.maketecheasier.com/diggme.png" style="border:none;margin-right:5px" ></a><a href="http://www.facebook.com/sharer.php?u=http://maketecheasier.com/become-an-apt-guru/2009/02/24" target="_blank"><img src="http://images.maketecheasier.com/fb.jpg" style="border:none;margin-right:5px" ></a><a href="http://www.google.com/reader/link?url=http://maketecheasier.com/become-an-apt-guru/2009/02/24&amp;title=Things+You+Need+To+Know+To+Become+An+Apt+Guru&amp;srcTitle=MakeTechEasier.com" target="_blank"><img src="http://images.maketecheasier.com/gbuzz-feed.png" style="border:none;margin-right:5px" ></a><a href="http://www.stumbleupon.com/submit?url=http://maketecheasier.com/become-an-apt-guru/2009/02/24" target="_blank"><img src="http://images.maketecheasier.com/stumble.png"></a></div>
<div style="clear:both"></div>
<strong><a href="http://maketecheasier.com/become-an-apt-guru/2009/02/24">Things You Need To Know To Become An Apt Guru</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)
<br/>
Follow us at <a href="http://www.facebook.com/MakeTechEasier">Facebook</a> | <a href="http://twitter.com/MakeTechEasier">Twitter</a></p>
]]></content:encoded>
			<wfw:commentRss>http://maketecheasier.com/become-an-apt-guru/2009/02/24/feed</wfw:commentRss>
		<slash:comments>76</slash:comments>
		</item>
	</channel>
</rss>

