Archive for November, 2007

appears, and then more text comes up (Hp web site) as

Friday, November 23rd, 2007

appears, and then more text comes up as gyum adjusts its software list- ing. Seeing the last line shown tells you that the installation went okay. 10.When you re finished, click the X at the top-right corner to close thistool. From time to time, the yum repositories can get overworked, and gyumfreezes up. If this happens, just close it and try again. Gyum is a pretty newprogram, so it should get nicer over time. For example, readers of Linux ForDummies, 5th Edition, had to use yum by hand! Adding the software in this bookI discuss a number of programs in this book, and you may want to give thema try. Some are already installed if you did a default Desktop installation ofFedora Core 3. Others you need to add. You can add many through yum: To add Mozilla to Fedora Core 3, type yum install mozilla To add Konqueror (and the KDE desktop along with it) to Fedora Core 3, type yum install kdebase To add Kmail and/or Kontact (and the KDE desktop along with it) toFedora Core 3, type yum install kdepim To add Thunderbird to Fedora Core 3, type yum install thunderbird To install the Macromedia Flash plugin to Fedora Core 3, make sure thatyou ve added the Macromedia repository listed in the section Addingyum repositories and then type yum installflash-pluginTwo major items you may want to add are not available through the yumrepositories, but aren t too terrible to install either. The first of these is sup- port for Java stuff you ll run into on the Web and elsewhere. To add Java support to Fedora Core 3: 1.Point your Web browser to www.java.com/j2se/1.5.0/download.jsp. The Java Runtime Environmentdownload page appears. 2.Scroll down to the section entitled J2SE 5.0 JRE. 3.Click the Download JRE button in this section. 4.Double-click your home directory icon on the desktop to open yourfile browser. 5.Right-click on the file that looks similar to j2re-1_4_2_05-linux-i586- rpm.bin and choose Properties. The file s Properties dialog box appears. 6.Click the Permissions tab. The Permissions section of the file Properties dialog box appears. 251Chapter 12: Adding Software to Linux18_

Free web hosting services - 4.Scroll through the Install section to find what

Thursday, November 22nd, 2007

4.Scroll through the Install section to find what you re looking for ortype a keyword in the Search text box and then click the Searchbutton to cut down on the possibilities. 5.Click the item you re considering. A description of the package appears in the dialog box s bottom leftpanel. 6.If you want to install this package, click in the box to add a checkmark. 7.Return to Step 4 and work back through for each package you want to add. 8.When you re ready to install your selections, click the Install button. The message Resolving Dependencies appears in the bottom of thedialog. That means that yum is making sure that nothing else needs tobe added in order to install these programs. 9.If any requirements have to be met, a Proceed dialog box opens, asking whether it s okay to install the additional programs listed; clickContinue if this dialog box appears. You can watch the progress messages in the dialog box s bottom rightand the bottom of its screen. Eventually, text such as: Installed: Canna-devel 3.7p1-6.i386Dep Installed: Canna-libs 3.7p1-6.i386Transaction(s) CompleteFigure 12-11: The Gyumtool inFedora Core 3.250Part III:Getting Up to Speed with Linux

For example, you might add: [livna-stable] name=Livna.org Fedora (Geocities web hosting)

Wednesday, November 21st, 2007

For example, you might add: [livna-stable] name=Livna.org Fedora Compatible Packages (stable) baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/yum/stable[fedora-us] name=Fedora.us The Non Red Hat Fedora packages (stable) baseurl=http://download.fedora.us/fedora/fedora/$releasever/$basearch/RPMS. stable[fedora-us updates] name=Fedora.us Updatesbaseurl=http://download.fedora.us/fedora/fedora/$releasever/$basearch/RPMS. updates/ [macromedia] name=Macromedia Flashbaseurl=http://sluglug.ucsc.edu/macromedia/apt/fedora/$releasever/ 13.Save and exit the file. You now have access to a ton of software! You won t be able to update these programs through the graphical updaterdiscussed earlier unless you add them to its configuration as well. To do so, you ll need to edit the file /etc/sysconfig/rhn/sources and follow the instruc- tions in that file. However, you will be able to update these programs usinggyum, the program discussed in the next section, so don t worry if you don twant to mess with editing more files! If you want to update from the com- mand line, type su -to become the root user and then type yum -y update. Getting new software with GyumIf you ve already installed Gyum, you re ready to have some fun. To add newprograms using Gyum, do the following: 1.Open a command line terminal. See Chapter 14 if you re not sure how. 2.Type su -to temporarily gain root access and then enter your pass- word when prompted or log into the GUI as root. Chapter 6 covers how to create your own desktop icons and programlaunchers so that you don t have to always go through this typing stuff. 3.Type gyum. The Gyum tool (see Figure 12-11) appears. Expect this tool to take a longtime to load the initial list of software! After this first time, it will befaster, I promise. 249Chapter 12: Adding Software to Linux18_

Web hosting reseller - reasons, some legal, so the first thing most

Wednesday, November 21st, 2007

reasons, some legal, so the first thing most people do is go add a bunch ofrepositories to their list. To add some cool repositories, do the following: 1.Point your Web browser to www.fedoratracker.org. 2.Click Repositories. The repository search page appears. 3.In the For Fedora Version drop-down list box, select Release 3.4.In the Show Results As drop-down list box, select Apt/Yum Config Files. 5.Click Submit Query. The tracker searches for all the repositories it knows about for FedoraCore 3.6.Scroll down past the Global Options and Fedora Core Repositoriessections. You already have global options set (to find out more about these, access a command prompt see Chapter 14 if you re not sure how todo so and type man yum.conf). 7.In the sections below the ones you just skipped, select the repositoriesyou want to add. I typically recommend fedora.us and rpm.livna.org(note the warn- ings for users within the US) at the very least, along with Macromedia ssite, which doesn t show up in the tracker. For Macromedia s Flashplugin, hold onto the following information, which you need in Step 12: [macromedia] name=Macromedia Flashgpgcheck=0baseurl=http://sluglug.ucsc.edu/macromedia/apt/fedora/$releasever/ You can ignore the indentations; the indented item is actually part of theline above it. You may want to try other repositories as well. 8.Open a command line terminal. If you re not sure how, see Chapter 14.9.Type su -to temporarily gain root access and then enter your pass- word when prompted or log into the GUI as root. 10.Open the /etc/yum.conffile in your preferred text editor. Chapter 16 covers text editors, if you need help. 11.Go down to the bottom of the file, below all the existing text. 12.Add the required text for the repositories you chose from the trackersite. 248Part III:Getting Up to Speed with Linux

Free web hosts - Installing New SoftwareIn many cases, installing new software

Tuesday, November 20th, 2007

Installing New SoftwareIn many cases, installing new software isn t much harder than updating; itjust depends on the distribution and what tools have been incorporated forthis process. My focus in this section is on using these tools. Later, in the sec- tion Finding More New Software I address how to add programs that aren tincluded in these tools. Within each distribution s section, I also tell you howto add many of the programs discussed throughout this book. Again, Knoppix isn t included here, since you can t permanently install newsoftware onto a CD! Eating it up with Fedora s yumFedora doesn t offer a graphical software installation program, but you candownload a very cool one from the FedoraNEWS site called GYUM. To down- load and install this program: 1.Point your Web browser to www.fedoranews.org/tchung/gyum/. 2.Look through the page for a link to this software for FC3 (FedoraCore 3). 3.Click through the link. You see something similar to: Parent Directory - gyum-1.0-1.fc2.noarch.rpm 30-Jul-2004 14:49 25K gyum-1.0-1.fc2.src.rpm 30-Jul-2004 14:49 23K gyum-1.0.tar.gz 30-Jul-2004 14:49 20K gyum.spec 30-Jul-2004 14:49 2.8K 4.Download the file with the word noarch in it. 5.Double-click your home directory icon on your desktop. 6.Double-click the Desktop icon and then the Downloads icon. 7.Double-click the RPM to install it.After you have this handy programinstalled, you can add some software sources and then discover how touse Gyum! If, for whatever reason, you prefer to add software from the command linerather than through gyum (maybe you just don t like the program), you canuse the yum command directly in text. See the www.fedoranews.orgsite forhelpful articles and tutorials to get you through this process. Adding yum repositoriesYum uses what s called repositories (sites that offer software in a way thatyum can understand) in order to track what s available and grab what itneeds. By default, only the main Fedora repository is available for many 247Chapter 12: Adding Software to Linux18_

Free web servers - 1.Double-click the Xandros Networks icon on the left

Monday, November 19th, 2007

1.Double-click the Xandros Networks icon on the left of your desktop. The Xandros Networks dialog box opens (see Figure 12-10). 2.When told the tool needs to download information, click OK. After the download is complete, the Xandros Networks dialog box fillsin. You have the option of installing all updates at once (recommended) or selecting them much as you do in Microsoft Windows. If you want toselect them, click the Application Updates item on the left and follow theinstructions. I walk you through how to do them all at once. 3.Choose File.Install All Latest Updates From Xandros to install allavailable updates. A progress bar lets you see how far along you ve come in grabbing thelist. When the full list is downloaded, the Get Latest Updates dialog boxappears. 4.Click OK to proceed. The password dialog box appears. 5.Enter your Administrator/root password and press Enter. The update begins. When it s complete, the Enter button goes away, andthe animations stop. 6.Click Close to close the Updater dialog box. 7.Choose File.Quit to close the Xandros Networks client. Figure 12-10: TheXandrosNetworksdialog box. 246Part III:Getting Up to Speed with Linux

7.Click Enable Automatic Update to add an X (Graphic web design)

Monday, November 19th, 2007

7.Click Enable Automatic Update to add an X to its box. The rest of the dialog box s settings become available. 8.Change the hour (in 24 hour format) to the hour of the day you wantto have this update run. It s handy to run updates late at night when you re not using the computer. 9.If you don t want the updater to install the updates, only downloadthem so that you can add them yourself, click Only Download Patches. 10.Click OK to close the YOU Automatic Update Mode Setup dialog box. 11.Click Next to check for updates. For many reasons, this process may fail when nothing is actually wrong. If it fails, make sure that you re connected to the Internet. If you are, then try again. If it fails five or ten times in a row, choose another updateserver and then try again a failure actually leaves you in the properdialog box to make the change immediately so you don t have to fussaround. Changing servers typically solves your problem. Once the check begins, the Retrieving Information about New Updatesdialog box shows you a progress bar. Then, when all the information hasbeen gathered, the Patch Download And Installation dialog box appears. You see two progress bars here, one labeled Patch Progress for the par- ticular update being applied (which is described in the upper portion ofthe dialog) and the other for Total Progress so that you can see howlong you have remaining. If you want SuSE to erase the intermediate items it downloads during theupdate process, click Remove Source Packages After Update. When the update is complete, the Finish button becomes available. 12.Click Finish to proceed to the Writing System Configuration dialog box. Here SuSE is just making sure that it knows where everything is. Afterthis process is finished, the YaST Online Update dialog box closes. Youcan close the SuSE Watcher dialog box by clicking the Close button. From now on, if you ve automated updates, you won t have to do this byhand. If you elected to do it by hand, watch for that little icon (which turnsinto a green circle with a face in it once you ve updated) to turn red again. Updating XandrosXandros has added the Xandros Networks in order to help its users updatetheir system and add new software with ease. To use this tool to update youroperating system and software: 245Chapter 12: Adding Software to Linux18_

6.If you want to set (Web host sites) up SuSE to

Sunday, November 18th, 2007

6.If you want to set up SuSE to automatically update itself (recom- mended if you re permanently connected to the Internet), click theConfigure Fully Automatic Update button; otherwise, skip to Step 11. The YOU Automatic Mode Setup dialog box appears. Figure 12-9: SuSE s YaSTOnlineUpdatedialog box. Figure 12-8: The suse- watchersystemupdaterdialog box. 244Part III:Getting Up to Speed with Linux

Web hosting services - 5.Click Bugfixes and Normal Updates to add these

Saturday, November 17th, 2007

5.Click Bugfixes and Normal Updates to add these two update groups toyour selections. 6.Click All to choose everything you can update. You may be told that some packages can t be updated due to depen- dency issues. That s fine; just leave them for now. 7.Click Install to proceed. A progress dialog box shows you how far you are with each selectedpackage. 8.When the update is complete, click OK to close the notification dialogbox and then Quit to close the updater. Sometimes this process can be slow, freeze up, or be a bit of a pain, depend- ing on how many people are trying to do it at the same time. If you have problems, cancel out of the update and restart it (though first give it a fewminutes to see whether the program unfreezes on its own). You also maywant to try a different update source, even one in another country, if you continually have problems with a specific one. If the update didn t succeed, you re offered the chance to select one again if you start over from Step 1. Updating SuSEIf you look on your SuSE panel, toward the right, you find a collection of tinyicons. One of these icons is probably a blue circle containing a white excla- mation point. This is the SuSE Watcher, which is your friend when it comes tosystem updates: 1.Click the SuSE Watcher icon. A Question dialog box opens, asking if you want to activate the updateservice. 2.Click Yes. The susewatcher dialog box, shown in Figure 12-8, appears. 3.Click Start Online Update. You may be asked for your root (administrator) password, enter it andclick OK if you are. After this, the YaST Online Update dialog boxappears, as shown in Figure 12-9.4.In the Installation Source drop-down list box, select the update serverclosest to you. 5.Click Manually Select Patches to remove the X from the box. Otherwise you have to keep telling the updater Yes to various updates. 243Chapter 12: Adding Software to Linux18_

9.Click Install/Update (Web hosting e commerce) Selected to begin the update. The

Friday, November 16th, 2007

9.Click Install/Update Selected to begin the update. The Install/Update Products CNR Client dialog box appears to let youknow that the item(s) have been added to your download queue. If youdon t want to receive this notice again, click the Do Not Show ThisMessage Again check box. 10.Click the X in the upper right hand corner to close the CNR Client. Updating MandrakeTo update your Mandrake system, do the following: 1.Choose System.Configuration.Packaging.Mandrakelinux Update. You may be asked for your root (administrative) password. The rpm- drake dialog box then appears to ask whether you really want to updateyour system. 2.Click Yes when asked whether it s okay to continue. Another question dialog box appears, asking whether you re connectedto the Internet. 3.When you re sure your Internet connection is on, click Yes to continue. After rpmdrake finds the list of mirrors sites you can use for updates the Please Choose The Desired Mirror dialog box appears. 4.Select the location closest to you and then click OK. Once the update server can be contacted, the Software Packages Updatedialog box appears (see Figure 12-7). Figure 12-7: TheSoftwarePackagesUpdatedialog box inMandrake10.1.242Part III:Getting Up to Speed with Linux