<?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; linux installation</title> <atom:link href="http://www.ghacks.net/tag/linux-installation/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 21:54:04 +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>Installing applications from the command line in OpenSuSE</title><link>http://www.ghacks.net/2010/05/29/installing-applications-from-the-command-line-in-opensuse/</link> <comments>http://www.ghacks.net/2010/05/29/installing-applications-from-the-command-line-in-opensuse/#comments</comments> <pubDate>Sat, 29 May 2010 19:17:35 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Operating Systems]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[linux installation]]></category> <category><![CDATA[opensuse]]></category> <category><![CDATA[package management]]></category> <category><![CDATA[software installation]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=25774</guid> <description><![CDATA[So far in our OpenSuSE series we have covered OpenSuSE (see &#8220;Why not try OpenSuSE&#8220;), YaST (see &#8220;YaST: Yet Another Setup Tool&#8220;), and Installing software (see &#8220;Installing software in OpenSuSE with YaST&#8220;). This time around we are going to take a look at how to install software in OpenSuSE using the command line. I realize [...]]]></description> <content:encoded><![CDATA[<p>So far in our OpenSuSE series we have covered OpenSuSE (see &#8220;<a
title="Why not try OpenSuSE?" href="http://www.ghacks.net/2010/05/26/why-not-try-opensuse-11-2/" target="_blank">Why not try OpenSuSE</a>&#8220;), YaST (see &#8220;<a
title="YaST: Yet Another Setup Tool" href="http://www.ghacks.net/2010/05/27/yast-yet-another-setup-tool/" target="_blank">YaST: Yet Another Setup Tool</a>&#8220;), and Installing software (see &#8220;<a
title="Installing software in OpenSuSE with YaST" href="http://www.ghacks.net/2010/05/28/installing-software-in-opensuse-with-yast/" target="_blank">Installing software in OpenSuSE with YaST</a>&#8220;). This time around we are going to take a look at how to install software in OpenSuSE using the command line. I realize that many people out there fear the command line. The command line, however, is a very powerful, useful tool and you should have this resource in your tool kit just in case.</p><p>I&#8217;m sure you have read plenty of my Linux articles that outline how to install with Ubuntu. That distribution takes advantage of <em>apt-get</em> and <em>dpkg</em> for command line installation. In the OpenSuSE distribution the <em>zypper</em> tool is used for this same task. Believe it or not, <em>zypper</em> is just as easy to use as is the Ubuntu equivalent. And in this article you will see just that.</p><p><span
id="more-25774"></span><strong>What is <em>zypper?</em></strong></p><p>The <em>zypper</em> tool is the command line interface to the ZYpp system management library. Zypper can be used to install/update/remove software, manage repositories, perform queries, and more. Using the <em>zypper </em>command does require root privileges, so you will have to first <em>su</em> to the root user before you issue any of the <em>zypper </em>commands.</p><p><strong>Usage</strong></p><p>The basic structure of the <em>zypper </em>command looks like:</p><p><em>zypper GLOBAL_OPTIONS COMMAND COMMAND_OPTIONS</em></p><p>Although it looks a bit complex it&#8217;s not. Let&#8217;s take a look at the various tasks you will perform with the <em>zypper </em>command.</p><p><strong>Installing software</strong></p><p>Installing software with <em>zypper</em> is simple. The command will look like this:</p><p><em>zypper install SOFTWARE</em></p><p>Where SOFTWARE is the name of the software you want to install.</p><p>Say, for example, I want to install Scribus (the desktop publishing application). To do this the command would look like:</p><p><em>zypper install scribus</em></p><p><strong>Removing software</strong></p><p>Now let&#8217;s say you want to remove a piece of software. The command structure for deleting software looks like:</p><p><em>zypper remove SOFTWARE</em></p><p>Sticking with our example, if you want to remove Scribus from your OpenSuSE machine you would issue the command:</p><p><em>zypper remove scribus</em></p><p><strong>Searching for software</strong></p><div
id="attachment_25783" class="wp-caption alignleft" style="width: 310px"><a
href="http://www.ghacks.net/wp-content/uploads/2010/05/zypper.png"><img
class="size-medium wp-image-25783 " src="http://www.ghacks.net/wp-content/uploads/2010/05/zypper-500x281.png" alt="" width="300" height="169" /></a><p
class="wp-caption-text">Figure 1</p></div><p>Say you don&#8217;t know what Scribus is, or you aren&#8217;t sure if you know the name of the package. You could use <em>zypper </em>to search the cached database for installation candidates like so:</p><p><em>zypper search scribus</em></p><p>The above command would return something like what you see in Figure 1. As you can see, <em>zypper</em> will report back all possible applications for the search string.</p><p><strong>Updating with zypper</strong></p><p>Updating with <em>zypper</em> is incredibly easy. Issue the command <em>zypper update</em> and if there are any updates available to your system they will be reported and all you need to do is type &#8220;y&#8221; (no quotes) and then hit Enter to run all of the updates.</p><p><strong>Distribution upgrade with zypper</strong></p><p>If you want to do a distribution upgrade with <em>zypper </em>you would use the <em>dup</em> command like so:</p><p><em>zypper dup</em></p><p>With that single command you will upgrade your OpenSuSE distribution (if the upgrade is available).</p><p><strong>Final thoughts</strong></p><p>Command line package management in OpenSuSE is about as simple as it gets. If you hesitate to use the command line for this task in OpenSuSE, I hope this article has persuaded you there is nothing to fear. OpenSuSE is an outstanding distribution with a lot to offer and it&#8217;s package management is on par with just about any other system.</p><p>﻿</p><p><em> </em></p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/05/29/installing-applications-from-the-command-line-in-opensuse/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Mandriva 2010 installation walk through</title><link>http://www.ghacks.net/2009/11/06/mandriva-2010-installation-walk-through/</link> <comments>http://www.ghacks.net/2009/11/06/mandriva-2010-installation-walk-through/#comments</comments> <pubDate>Fri, 06 Nov 2009 20:42:17 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Operating Systems]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[linux installation]]></category> <category><![CDATA[live cd]]></category> <category><![CDATA[mandriva linux]]></category> <category><![CDATA[mandriva one]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=18202</guid> <description><![CDATA[Mandriva is another one of the Linux distributions that has been around for quite some time. Beginning as Mandrake Linux, the company MandrakeSoft was forced to change its name when sued by the Hearst Corporation because of the claims that Mandrake Linux was inspired by their comic character &#8220;Mandrake the Magician&#8221;. So the change in [...]]]></description> <content:encoded><![CDATA[<p>Mandriva is another one of the Linux distributions that has been around for quite some time. Beginning as Mandrake Linux, the company MandrakeSoft was forced to change its name when sued by the Hearst Corporation because of the claims that Mandrake Linux was inspired by their comic character &#8220;Mandrake the Magician&#8221;. So the change in name happened in 2005, but the name change wasn&#8217;t the only change in 2005. At the same time Mandriva acquired Lycoris and Conectiva. So Mandriva Linux became a combination of Mandrake Linux and Conectiva Linux.</p><p>Because of these changes, the Mandriva of today is not the Mandrake of yesterday. The latest version of Mandriva (named 2010) is a modern take on the Linux distribution and in this article you are going to be treated to a walk through of the installation. NOTE: This installation will be done via VirtualBox, so some of the information you might see may or may not apply to your installation.</p><p><span
id="more-18202"></span>This installation will be accomplished with the help of the Live CD. You can download the Live CD from the <a
title="Mandriva download page" href="http://www.mandriva.com/en/downloads/" target="_blank">Mandriva download page</a>. You will notice, on that page, there are a number of different downloads. For this installation the download you want is the <a
title="One 2010" href="http://www.mandriva.com/en/downloads/?p=linux-one" target="_blank">One 2010 download</a>. Once you have downloaded that Live CD and burned it onto disk, put that disk in your target machine&#8217;s disk drive and reboot the machine.</p><p>Unlike most Live CDs, with the Mandriva Live CD you will have to answer some questions as well as agree to a EULA. This always takes me by surprise, but it&#8217;s a necessity if you want to boot up Mandriva. So agree to that EULA and boot up the Live distro.</p><p>Once you are up and running you will see the Install icon on the desktop. Double click that icon to begin the installation. And, of course, the first screen you will see is the inevitable &#8220;Welcome&#8221; screen. You can just click the Next button to actually begin the installation.</p><div
id="attachment_18203" class="wp-caption alignleft" style="width: 190px"><a
rel="attachment wp-att-18203" href="http://www.ghacks.net/2009/11/06/mandriva-2010-installation-walk-through/mandriva_install_2/"><img
class="size-thumbnail wp-image-18203 " src="http://www.ghacks.net/wp-content/uploads/2009/11/mandriva_install_2-300x300.png" alt="Figure 1" width="180" height="180" /></a><p
class="wp-caption-text">Figure 1</p></div><p><span
style="background-color: #ffffff"><strong>Partitioning</strong></span></p><p>The first work you will have to take care of is the partitioning of your drive. Figure 1 shows the user-friendly configuration tool. With this tool you can either choose to use the free space (the easiest method), or you can create your own, custom partition configuration. As you can see (in Figure 1) this is being installed on a Virtual hard drive 16 Gigs in size. Since this space hasn&#8217;t been partitioned, it sees it as free space. So I will select the Free Space option and click the Next button.</p><p><strong>Unused hardware support</strong></p><div
id="attachment_18204" class="wp-caption alignright" style="width: 190px"><a
rel="attachment wp-att-18204" href="http://www.ghacks.net/2009/11/06/mandriva-2010-installation-walk-through/mandriva_install_3/"><img
class="size-thumbnail wp-image-18204 " src="http://www.ghacks.net/wp-content/uploads/2009/11/mandriva_install_3-300x300.png" alt="Figure 2" width="180" height="180" /></a><p
class="wp-caption-text">Figure 2</p></div><p>This is a feature unique to the Mandriva installation. Once you have partitioned the hard drive the installation will compare the available hardware against the installable packages. Any packages that would not be used by the available hardware are not installed. This ensures your kernel will not be loading unused modules which will only slow down boot process, take up space, and use battery. Figure 2 shows the this screen. Just click Next and allow this process to happen. This will take some time (depending upon the speed of your hardware and the amount of packages that will not be installed).</p><div
id="attachment_18205" class="wp-caption alignleft" style="width: 190px"><a
rel="attachment wp-att-18205" href="http://www.ghacks.net/2009/11/06/mandriva-2010-installation-walk-through/mandriva_install_4/"><img
class="size-thumbnail wp-image-18205 " src="http://www.ghacks.net/wp-content/uploads/2009/11/mandriva_install_4-300x300.png" alt="Figure 3" width="180" height="180" /></a><p
class="wp-caption-text">Figure 3</p></div><p><strong>Installation progress</strong></p><p>After you hit the Next button you will immediately see the installation progress window (see Figure 3). Depending upon your hardware, this could take some time. Of course you will also be greeted by different information windows during this step. You will learn nothing new by watching&#8230;so grab yourself a soda or go play some WoW for a bit and come back when the installation progress reaches its goal.</p><div
id="attachment_18206" class="wp-caption alignright" style="width: 190px"><a
rel="attachment wp-att-18206" href="http://www.ghacks.net/2009/11/06/mandriva-2010-installation-walk-through/mandriva_install_5/"><img
class="size-thumbnail wp-image-18206 " src="http://www.ghacks.net/wp-content/uploads/2009/11/mandriva_install_5-300x300.png" alt="Figure 4" width="180" height="180" /></a><p
class="wp-caption-text">Figure 4</p></div><p><strong>Bootloader</strong></p><p>After all of the packages have been installed you will have to deal with the bootloader installation. Your best bet is to stick with the defaults. If you load the bootloader on the wrong disk your installation will not boot.</p><p>As soon as you click the Next button you can then add, delete, or modify all of the entries in your boot menu. This is another section of the installation process that you should leave to the defaults. The only reason you would want to modify any of this information is if you are dual booting or you need to pass specific parameters to Grub for one of your entries. But more than likely, this step will be left to the defaults, so just click the Next button in this window as well.</p><p>The final installation window is the bookend for the Welcome screen &#8211; the Congratulation screen. This window will inform you to remove your Live CD and reboot your machine. Do this to complete the installation process.</p><p><strong>Final steps</strong></p><div
id="attachment_18207" class="wp-caption alignleft" style="width: 190px"><a
rel="attachment wp-att-18207" href="http://www.ghacks.net/2009/11/06/mandriva-2010-installation-walk-through/mandriva_install_9/"><img
class="size-thumbnail wp-image-18207 " src="http://www.ghacks.net/wp-content/uploads/2009/11/mandriva_install_9-300x300.png" alt="Figure 5" width="180" height="180" /></a><p
class="wp-caption-text">Figure 5</p></div><p>Of course you are not completely finished. Did you notice something missing from the installation process? No root password was created and no users were created. Both of these steps are taken care of post-installation. In fact, both configurations are taken care of in one screen (see Figure 5).</p><p>After you complete this step, click the Next button only to find yourself on one more screen. This final screen wants you to register with Mandriva, take a survey, and contribute to Mandriva. You can decline all of this if you like by scrolling down and clicking the Decline buton.</p><p>After you either decline or complete the various optional information you will finally get to log into your newly installed Mandriva 2010 Linux installation. congratulations, you are the proud user of an outstanding, user-friendly Linux box.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2009/11/06/mandriva-2010-installation-walk-through/feed/</wfw:commentRss> <slash:comments>7</slash:comments> </item> <item><title>Getting to Know Linux: Installing From Command Line</title><link>http://www.ghacks.net/2009/01/16/getting-to-know-linux-installing-from-command-line/</link> <comments>http://www.ghacks.net/2009/01/16/getting-to-know-linux-installing-from-command-line/#comments</comments> <pubDate>Fri, 16 Jan 2009 17:23:45 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Tutorials Advanced]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[apt-get]]></category> <category><![CDATA[dpkg]]></category> <category><![CDATA[linux installation]]></category> <category><![CDATA[rpm]]></category> <category><![CDATA[urpmi]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=9935</guid> <description><![CDATA[For users new to the Linux operating system, nothing beats installing applications with the graphical Add/Remove Software applications found in the main menu of your desktop. But sometimes that ever-so-user-friendly GUI isn&#8217;t an option. Once such instance would be a headless server with no graphical desktop. Or maybe you&#8217;ve found a particular applicaiton that is [...]]]></description> <content:encoded><![CDATA[<p>For users new to the Linux operating system, nothing beats installing applications with the graphical Add/Remove Software applications found in the main menu of your desktop. But sometimes that ever-so-user-friendly GUI isn&#8217;t an option. Once such instance would be a headless server with no graphical desktop. Or maybe you&#8217;ve found a particular applicaiton that is only offered as a source package. For these you are going to have to know your way around command line installation.</p><p>In this article I am going to show you the basics of some of the more popular package management systems as well as the basics of installing via source. I will not spend too much time on each (otherwise this article could grow rather overwhelming). By the end of this article you should know how to install, querey, and remove applications with the more popular tools.</p><p><span
id="more-9935"></span><strong>Source</strong></p><p>Let&#8217;s start from the source. Generally when you download a package for installation that ends with tgz, gz, bz2, or *zip this will be a source installation. For these installations you are going to take advantage of some powerful compilation tools. But before you can start the compilation you have to unpack the source directory. If your file ends with a &#8220;bz2&#8243; you will first have to ucompress the file will the command <em>bunzip2 APPLICATION.tar.bz2. </em>This will result in a new file like <em>APPLICATION.tar. </em>Tar is an archive system that rolls up directories into a file. To unpack the directory you would issue a command similar to <em>tar xvf APPLICATION.tar</em>. Unpacking the directory would then result in a directory (in our example) <em>APPLICATION</em>.</p><p>If the downloaded file ended in tgz or gz then you have a compressed archive and you simply have to add the &#8220;z&#8221; switch to the <em>tar </em>command to both uncompress and unpack the archive. This command would look like <em>tar xvfz APPLICATION.tgz, </em>which would result in the directory <em>APPLICATION.</em></p><p>Once you have your directory unpacked you need to change into that directory (with the command <em>cd APPLICATION). </em>Once inside this directory issue the <em>ls</em> command. You will most likely see either a README file or an INSTALL file. Open those up and see if there are any special instructions for installation. If there are no special instructions then the standard compilation steps will most likely work. Here&#8217;s how this works:</p><ul><li>su to the root user</li><li>From within the <em>APPLICATION</em> directory issue the command <em>./configure</em>. This will generate a make file for the compilation.</li><li>Issue the command <em>make</em>.</li><li>Issue the command <em>make install</em></li></ul><p>That&#8217;s it. If all went as planned, the application should be installed.</p><p><strong>RPM</strong></p><p>RPM is the Red Hat Package Manager. Installing via RPM is actually quite simple. Here&#8217;s how this works. Once you have downloaded the rpm file you want to install, open up a terminal window and issue the following commands:</p><ul><li>su (you will be prompted to enter the root password)</li><li>rpm -ivh filename.rpm (where <em>filename</em> is the actual name of the file you downloaded)</li></ul><p>That&#8217;s it. If all went well your package should now be installed.</p><p>If you want to make sure your package was installed you can issue the command <em>rpm -q filename</em> and you should see the name of the package and the version that is installed.</p><p>If you want to remove that package you just installed (or another package) issue the command:</p><p><em>rpm -e filename</em></p><p>and the package will disappear.</p><p><strong>APT-GET</strong></p><p>This is one of the best installation systems available. With apt-get you do not have to download a package, you just have to know the name. Here&#8217;s how apt-get works (I am going to assume Ubuntu is the distribution, so you&#8217;ll make use of <em>sudo</em>). Open up a terminal window and issue the following:</p><p><em>sudo apt-get install package_name</em></p><p>to install the needed package.</p><p>To remove a package with apt-get you would issue the command:</p><p><em>sudo apt-get remove package_name</em></p><p>to remove the package from your system.</p><p><strong>URPMI</strong></p><p>The urpmi system is from the Mandriva distribution and is similar to apt-get. To install a package with <em>urpmi</em> you would open up a terminal window, become the root user, and issue the following command:</p><p><em>urpmi package_name</em></p><p>to install the needed package.</p><p>To remove a package with this system you would issue the command:</p><p><em>urpme package_name</em></p><p>and the package will be removed.</p><p><strong>DPKG</strong></p><p>This is the Debian installer and is as easy to use as any other. To use dpkg you will open up a terminal window and issue the following command to install a package:</p><p><em>sudo dpkg -i package_name</em></p><p>to install a package.</p><p>To remove a package issue the command:</p><p><em>sudo dpkg -r package_name</em></p><p>and the package will be gone.</p><p><strong>Final Thoughts</strong></p><p>There you go. A very basic description of package management with the more popular tools. Yes, there is much, much more to them than what you have just read, but this will give you enough of a foundation to get you going</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2009/01/16/getting-to-know-linux-installing-from-command-line/feed/</wfw:commentRss> <slash:comments>11</slash:comments> </item> </channel> </rss>
