<?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>gHacks Technology News &#124; Latest Tech News, Software And Tutorials &#187; deb</title> <atom:link href="http://www.ghacks.net/tag/deb/feed/" rel="self" type="application/rss+xml" /><link>http://www.ghacks.net</link> <description>A technology news blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description> <lastBuildDate>Sat, 11 Feb 2012 09:52:46 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/> <item><title>Use gkDebconf to reconfigure debconf-using programs</title><link>http://www.ghacks.net/2010/12/16/use-gkdebconf-to-reconfigure-debconf-using-programs/</link> <comments>http://www.ghacks.net/2010/12/16/use-gkdebconf-to-reconfigure-debconf-using-programs/#comments</comments> <pubDate>Thu, 16 Dec 2010 20:21:07 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[deb]]></category> <category><![CDATA[debconf]]></category> <category><![CDATA[gpkg]]></category> <category><![CDATA[gpkg-reconfigure]]></category> <category><![CDATA[mysql]]></category> <category><![CDATA[MySQL root password]]></category> <category><![CDATA[samba]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=38038</guid> <description><![CDATA[There are certain applications, such as MySQL and Apache that are configured upon installation. The most familiar to you might be MySQL. At the point of installation you configure the server address, admin password, etc. But what happens when you need to reconfigure that tool and you don&#8217;t want to go through the process of [...]]]></description> <content:encoded><![CDATA[<p>There are certain applications, such as MySQL and Apache that are configured upon installation. The most familiar to you might be MySQL. At the point of installation you configure the server address, admin password, etc. But what happens when you need to reconfigure that tool and you don&#8217;t want to go through the process of unistalling/reinstalling? Fortunately there is a tool to handle that task. That tool is dpkg-reconfigure. Of course this tool is a command line tool and many newer users do not want to bother with commands.</p><p>For those users who do not want to bother with commands, but still need to re-configure certain packages, there is a front end called gkDebconf that can be used to easily reconfigure those already installed packages. Let&#8217;s see how to install and use this tool.</p><p><span
id="more-38038"></span><strong>Installation</strong></p><p>Since gkDebconf is found in the standard repositories, installation is very simple. Just follow these steps:</p><ol><li>Open up the Ubuntu Software Center.</li><li>Search for &#8220;gkdebconf&#8221; (No quotes).</li><li>Click the Install button.</li><li>Enter your sudo password when prompted.</li><li>When the installation is complete, close the Software Center.</li></ol><p>Once installed, you will find the application in <strong>System &gt; Administration &gt; gkDebconf</strong>.</p><p><strong>Usage</strong></p><div
id="attachment_38039" class="wp-caption alignleft" style="width: 340px"><a
href="http://www.ghacks.net/wp-content/uploads/2010/12/gkdebconf.png"><img
class="size-medium wp-image-38039 " src="http://www.ghacks.net/wp-content/uploads/2010/12/gkdebconf-550x499.png" alt="" width="330" height="299" /></a><p
class="wp-caption-text">Figure 1</p></div><p>One of the problems with starting the tool from the menu is that it will not ask you for your sudo password, therefore you will not have administrative access. For some of the package re-configuration (such as MySQL) you must have admin access. So if you are reconfiguring a package that you know requires admin access, start gkDebconf from the command line. To do this open up a terminal window and issue the command <em>sudo gkdebconf</em>. When this command is issued the main window for gkDebconf will open (see Figure 1) where you can locate the package you want to reconfigure.</p><p>As you can see there are numerous packages available to you. I am illustrating the MySQl-server package as that is the package that I get the most questions regarding re-configuring.</p><div
id="attachment_38040" class="wp-caption alignright" style="width: 340px"><a
href="http://www.ghacks.net/wp-content/uploads/2010/12/gkdebconf_reconfig.png"><img
class="size-medium wp-image-38040 " src="http://www.ghacks.net/wp-content/uploads/2010/12/gkdebconf_reconfig-550x386.png" alt="" width="330" height="232" /></a><p
class="wp-caption-text">Figure 1</p></div><p>So to run the re-configuration process select the package you want to reconfigure and click the Configure button. When you do this a new window will open, that window being the debconf configuration window for the package in question (see Figure 2). In my example you can see the first step is asking you for the MySQL root user password. If you have already installed this package, you will have already walked through this wizard so it will be very familiar.</p><p>Some of the more important applications you can reconfigure include:</p><ul><li>adduser</li><li>apparmor</li><li>cups</li><li>gdm</li><li>openssh-server</li><li>quota</li><li>Samba</li><li>Snort</li></ul><p>For those who would like to to do this same task from the command line, you can use the <em>dpkg-reconfigure</em> like so:</p><p><code>sudo dpkg-reconfigure APPLICATION</code></p><p>Where APPLICATION is the package you want to reconfigure. So if you want to reconfigure Samba you would issue the command:</p><p><code>sudo dpkg-reconfigure samba</code></p><p><strong>Final thoughts</strong></p><p>Although the task isn&#8217;t too challenging to handle from the command line, it&#8217;s always nice to not have to guess the name of the package you want to configure (remember, Linux is very case-sensitive, so MySQL is not mysql). gkDebconf makes this task much easier.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/12/16/use-gkdebconf-to-reconfigure-debconf-using-programs/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Installing applications in Linux with a double click</title><link>http://www.ghacks.net/2010/07/14/installing-applications-in-linux-with-a-double-click/</link> <comments>http://www.ghacks.net/2010/07/14/installing-applications-in-linux-with-a-double-click/#comments</comments> <pubDate>Wed, 14 Jul 2010 11:21:13 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Desktop Manager]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[application installation]]></category> <category><![CDATA[apt]]></category> <category><![CDATA[deb]]></category> <category><![CDATA[dpkg]]></category> <category><![CDATA[Fedora]]></category> <category><![CDATA[package management]]></category> <category><![CDATA[rpm]]></category> <category><![CDATA[ubuntu]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=28235</guid> <description><![CDATA[For many, the biggest barrier to adopting Linux is the challenge of having to use the command line for too many tasks. One of these tasks, it is though, is the installation of applications. While everyone has seen this is not true of any application installed via the Add/Remove Software utility (which nearly every distribution [...]]]></description> <content:encoded><![CDATA[<p>For many, the biggest barrier to adopting Linux is the challenge of having to use the command line for too many tasks. One of these tasks, it is though, is the installation of applications. While everyone has seen this is not true of any application installed via the Add/Remove Software utility (which nearly every distribution has), it&#8217;s not often seen for applications that are downloaded from the web.</p><p>We all know how simple it is to install downloaded applications on the Windows platform. What would you say if I told you it was just as easy to install a downloaded application on the Linux platform? And not just on Ubuntu&#8230;but on other Linux distributions. Would you be surprised? Would you be in disbelief? Well, for those disbelievers I have the proof for you today. In this article I will show you how to install downloaded applications, in Linux, with a double click.</p><p><span
id="more-28235"></span><strong>What this applies to</strong></p><p>Before you think this is going to show you how to install an application from source with a double click, think again. This will only apply to the packages created for a systems package manager. What that means is you can install .deb files in an apt-based (or dpkg-based) system (such as Ubuntu) or .rpm files in an RPM-based system (such as Fedora). If you are wanting to install from source, you will have to employ the command line tool. For the rest&#8230;you are just a double click away from installation goodness.</p><p><strong>The dependency issue</strong></p><p>There can, of course, be issues with this installation. The biggest issue will be dependencies. If a file you are attempting to install has unmet dependencies it will not install. When this happens you can try to meet those dependencies by using your Add/Remove Software tool. Or you can attempt to download the dependency files (after googling them and finding the right version) and install in the same way you are going to install the main application. This is one of the many reasons why it is always best to use your package management system. There are, of course, times when you need a package installed that it not in your package management system and there are no repositories for that tool. That is when this method will come into play.</p><p><strong>How it works</strong></p><p>Believe it or not, it works in much the same way as it does on the Windows  platform. Let&#8217;s see just how this works. I am going to install a package (one that I will writing about very soon) called <a
title="Hot Copy" href="http://www.r1soft.com/tools/linux-hot-copy/" target="_blank">Hot Copy</a>. For that tool I have downloaded the .zip file (which contains binaries in both .deb and .rpm format. That file will have downloaded to my <strong>~/Downloads</strong> directory. Here are the steps for installation (I will be explaining this from the GNOME desktop).</p><p><strong>Step 1</strong></p><p>Open up Nautilus to the <strong>~/Downloads</strong> directory. In this directory you will see the .zip file you downloaded.</p><p><strong> </strong></p><div
id="attachment_28236" class="wp-caption alignleft" style="width: 310px"><a
href="http://www.ghacks.net/wp-content/uploads/2010/07/install_1.png"><img
class="size-medium wp-image-28236 " src="http://www.ghacks.net/wp-content/uploads/2010/07/install_1-500x421.png" alt="" width="300" height="253" /></a><p
class="wp-caption-text">Figure 1</p></div><p><strong>Step 2</strong></p><p>Double click on the newly downloaded file. This will open up the archive file to display all of the contents. In the case of this file there will be two directories and a help file. The two directories will be for each of the different hardware architecture (x86 for 32 bit systems and x86_64 for 64 bit systems). Double click on the directory for your machines architecture to reveal the included installation files (see Figure 1).</p><p><strong>Step 3</strong></p><div
id="attachment_28237" class="wp-caption alignright" style="width: 310px"><a
href="http://www.ghacks.net/wp-content/uploads/2010/07/gdebi.png"><img
class="size-medium wp-image-28237 " src="http://www.ghacks.net/wp-content/uploads/2010/07/gdebi-500x383.png" alt="" width="300" height="230" /></a><p
class="wp-caption-text">Figure 2</p></div><p>For the Ubuntu installation I am going to install both .deb files in this package. First I will double click the hotcopy .deb file. When I do this it will open up the GDebi package installation tool. When this new window opens (see Figure 2)  all I have to do is click the Install package buttton. GDebi will ask for the users password to complete the installation. You might recognize GDebi from any time you have downloaded a .deb file from the web. it&#8217;s the same routine.</p><p>When the installation is complete GDebi will report the installation is finished and you can then close the progress window and then close the GDebi window.</p><p>That&#8217;s it. And, believe it or not, the process is pretty much the same on the Fedora distribution as well.</p><p><strong>Final thoughts</strong></p><p>I bet you never thought installation applications in Linux was this easy. Well, Linux has come a long, long way since the early days when the command line was a requirement. Now, it seems, the command line is only an option. Although I can&#8217;t imagine myself using Linux without the command line (it&#8217;s how I was taught after all), it is completely possible to do so.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/07/14/installing-applications-in-linux-with-a-double-click/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>Create your own mobile Ubuntu repository with APTonCD</title><link>http://www.ghacks.net/2009/09/12/create-your-own-mobile-ubuntu-repository-with-aptoncd/</link> <comments>http://www.ghacks.net/2009/09/12/create-your-own-mobile-ubuntu-repository-with-aptoncd/#comments</comments> <pubDate>Sat, 12 Sep 2009 21:52:45 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Advice]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[apt]]></category> <category><![CDATA[apt-get]]></category> <category><![CDATA[deb]]></category> <category><![CDATA[Debian]]></category> <category><![CDATA[package management]]></category> <category><![CDATA[restore]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=16257</guid> <description><![CDATA[How many times have you installed Linux, tweaked it to perfection with various applications, only to have something happen and you have to re-install. Or you get that machine up and running with all the goods and then want to re-create the system on another machine. In either of these situations, the last thing you [...]]]></description> <content:encoded><![CDATA[<p>How many times have you installed Linux, tweaked it to perfection with various applications, only to have something happen and you have to re-install. Or you get that machine up and running with all the goods and then want to re-create the system on another machine. In either of these situations, the last thing you would want to do is to have to remember all of the applications and then spend the time to download them all again.</p><p>Well, there&#8217;s a handy tool that will take care of all of that for you. The tool is called APTonCD. What this tool does is create a CD with all of the applications you have installed &#8211; basically a portable repository. And, with the same tool, you can restore all of the packages on the CD &#8211; all from one convenient GUI.</p><p><span
id="more-16257"></span><strong>Features</strong></p><p>Choose specific packages on your local machine (or choose all).</p><p>Download entire repositories.</p><p>Burn CD/DVD from within APTonCD.</p><p>Create and restore from same GUI.</p><p>Auto-selection of dependencies option.</p><p>Easy to use.</p><p><strong>Installation</strong></p><p>The installation is simple:</p><ol><li>Open up your Add/Remove Software Application.</li><li>Enter &#8220;aptoncd&#8221; in the search bar (no quotes).</li><li>Mark APTonCD for installation.</li><li>Click Apply.</li></ol><p>Once the installation is complete you can close out the installation tool and get ready to use APTonCD.</p><p><strong>Starting and using APTonCD</strong></p><div
id="attachment_16265" class="wp-caption alignleft" style="width: 227px"><a
rel="attachment wp-att-16265" href="http://www.ghacks.net/2009/09/12/create-your-own-mobile-ubuntu-repository-with-aptoncd/aptoncd_main/"><img
class="size-full wp-image-16265" src="http://www.ghacks.net/wp-content/uploads/2009/09/aptoncd_main.png" alt="Figure 1" width="217" height="204" /></a><p
class="wp-caption-text">Figure 1</p></div><p>Once installed APTonCD is found in the Administration sub-menu of the System menu (GNOME desktop). Figure 1 shows the main window for the application. From this window you can either create a new CD or restore from an already existing CD.</p><p>To create a new CD click the Create button which will open up another window. In this new window (see Figure 2) the packages will be collected and, eventually, listed out for you. From this listing you can select the packages you want to include on your CD. By default all of the packages are selected.This window will also includ the total size of the completed installation. As you can see (in Figure 2) the total size of my restore CD will be 596 MB (some of the packages are not selected).</p><div
id="attachment_16266" class="wp-caption alignright" style="width: 224px"><a
rel="attachment wp-att-16266" href="http://www.ghacks.net/2009/09/12/create-your-own-mobile-ubuntu-repository-with-aptoncd/aptoncd_packages/"><img
class="size-full wp-image-16266" src="http://www.ghacks.net/wp-content/uploads/2009/09/aptoncd_packages.png" alt="Figure 2" width="214" height="202" /></a><p
class="wp-caption-text">Figure 2</p></div><p>If you want to add packages not already on your system you can click the Add drop down and select either Packages or Folder and then navigate to those files/folders. You can also open up Nautilus and drag and drop packages into the APTonCD window.</p><p>Once you have selected all of your packages you might want to go to the Edit menu and select &#8220;Auto-select Dependencies&#8221; to ensure all dependencies are met on your CD. Now it&#8217;s time to burn. When you&#8217;re ready click the Burn button which will open up a Disc Properties window (see Figure 3). In this new window you select your medium, the destination for the image file, a file name, and whether or not you want to create a meta-package. The meta-package is one package that</p><div
id="attachment_16267" class="wp-caption alignleft" style="width: 213px"><a
rel="attachment wp-att-16267" href="http://www.ghacks.net/2009/09/12/create-your-own-mobile-ubuntu-repository-with-aptoncd/aptoncd_burn/"><img
class="size-full wp-image-16267" src="http://www.ghacks.net/wp-content/uploads/2009/09/aptoncd_burn.png" alt="Figure 3" width="203" height="233" /></a><p
class="wp-caption-text">Figure 3</p></div><p>includes all packages on the CD as dependencies. This makes restoration very simple in that all APTonCD has to do is select one package to install.</p><p>When you click Apply APTonCD will begin to create the .iso image that you will then burn onto disk using your favorite CD burning software.</p><p>When the iso has been created a new window will open asking if you want to burn the CD/DVD. This window will allow you to select that application you want to burn with. If you chose you can click No and burn the CD/DVD later. I have found the burn portion of the APTonCD to be a bit flaky, so I just always burn by open up K3B and burning the image.</p><p><strong>Restoring<br
/> </strong></p><p>I would like to say that APTonCD can easily handle the installation of your packages with a simple click of a button. It can not. What APTon CD does is create portable repositories. So you can use the APTonCD restore option to basically add your CD repository for installation.  I have found, however, the best way to install the entirety of the packages is with the tried and true command line. This allows you to quickly get all of your packages installed with a couple of easy commands. What you will want to do is this:</p><ol><li>Insert your CD/DVD created by APTonCD.</li><li>Open up a command line.</li><li>Change to the directory where you CD is located with the command <em>cd /media/cdrom </em>(Note: Your CD might be located in a different directory).</li><li>Change into the <strong>packages</strong> directory with the command <em>cd packages.</em></li><li>Issue the command <em>sudo dpkg -i *deb<strong> </strong></em>which will install all packages on the CD.</li><li>After the installation is complete you MIGHT have to use Syanptic in the event their are broken packages.</li></ol><p>Close out the command prompt and check your Applications menu, you should be good to go.</p><p><strong>Final thoughts</strong></p><p>I hope that the developers of APTonCD will some day make it much easier to restore from the GUI. But even with the inconvenience of having to use the command line for quick restoration, APTonCD is a very handy tool.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2009/09/12/create-your-own-mobile-ubuntu-repository-with-aptoncd/feed/</wfw:commentRss> <slash:comments>19</slash:comments> </item> </channel> </rss>
