Sunday, February 24, 2008

HOWTO: Install Gourmet Recipe Software for GNOME

*EDIT* May 3, 2009
Gourmet has finally been added to the repositories as of Ubuntu 9.04, so check out my modified instructions to install it in a much easier way.

Since recently becoming vegan, I have found it important to make it easier to save recipes. I knew I could make a database in OOo Base, but that seemed difficult and more work than I was willing to do. I searched through the package manager and found KRecipes and anymeal, but both are for the KDE environment. In the interest of keeping my system GNOME only, I decided to search further. A quick look on Sourceforge found a few promising choices, but the best was a program called Gourmet. If you want to install this, understand that you will be installing a DEB from outside the Ubuntu repositories and it could harm your system. It worked fine for me, but I cannot guarantee it will for you. If you want to install Krecipes or anymeal if you're using Kubuntu, or if you just don't want to use software outside of the repositories, I will give those instructions as well.

Installing KRecipes for KDE/Kubuntu

  1. Verify you have the universe repositories enabled.

  2. Open Konsole, or the terminal of your choice.

  3. Type (or Copy/Paste) the following into your terminal:
    sudo aptitude install krecipes krecipes-data

  4. Run the program.

Installing anymeal for KDE/Kubuntu

  1. Verify you have the universe repositories enabled.

  2. Open Konsole, or the terminal of your choice.

  3. Type (or Copy/Paste) the following into your terminal:
    sudo aptitude install anymeal

  4. Run the program.

Installing Gourmet Recipe Manager for GNOME/Ubuntu (Ubuntu 9.04 or later)

  1. Open the Terminal.

  2. Type (or Copy/Paste) the following into your terminal:
    sudo apt-get install gourmet

  3. Run the program.

Installing Gourmet Recipe Manager for GNOME/Ubuntu (Ubuntu 8.10 or earlier)

  1. Open the Terminal.

  2. Type (or Copy/Paste) the following into your terminal:
    sudo apt-get install python-reportlab python-pysqlite2

  3. Type (or Copy/Paste) the following into your terminal:
    wget http://superb-east.dl.sourceforge.net/sourceforge/grecipe-manager/gourmet_0.13.4-1_all.deb

  4. Type (or Copy/Paste) the following into your terminal:
    sudo dpkg -i gourmet_0.13.4-1_all.deb

  5. Run the program.

Gourmet Screenshot
Figure 1: Gourmet Recipe Manager working under Ubuntu

Figure 2: A recipe in Gourmet Recipe Manager

I hope this helps some of us out there who are not only Ubuntu Linux fans, but budding chefs as well.


Technorati Tags: , , , , , , , , ,

Wednesday, February 20, 2008

Ubuntu through the Years: Introduction

I have decided to try out Ubuntu, every version of the desktop release beginning with 4.10. Why? Well, mainly it's for myself so I can get an idea of just how much the OS has come along over the last few years. I'm going to be starting with 4.10 and will be going all the way up through the most recent alpha release of 8.04 Hardy Heron.

I've decided to do this in my older laptop that I pretty much use to do all my messing around with now that I have a permanent system that I can use. Here are the system specs for the computer:

System Specs

IBM Thinkpad R40
2.0 Ghz Intel Celeron
20 GB HDD
768 MB RAM
DVDRW
16 MB ATI Mobility Radeon Video

First up is Ubuntu 4.10, the Warty Warthog. I'll run the install and see what I think.

Tuesday, February 19, 2008

How to: Install Ubuntu 7.10 with a Separate /home Partition

Introduction

The following guide is an instruction on installing Ubuntu 7.10 with a separate /home partition. In the PC Magazine March 2008 issue, the article The Battle for Your Desktop under the section about installation that it is a good idea to “create a separate hard disk partition for your /home directory for your data and applications.” They couldn't be more correct. A separate /home partition is important because if something goes wrong with your data, it is possible to do a reinstall of Linux without affecting your /home folder. The /home folder in GNU/Linux is basically the equivalent to the "Documents and Settings" folder under Microsoft Windows XP. If you have multiple users on your system you will see multiple folders, ie: /home/justin/ & /home/johndoe/. This is basically the equivalent to the "My Documents" folder for each user under Microsoft Windows XP. This isn't a failsafe way to make sure your data is preserved in the event of a meltdown, backing up is the only safe way to do that, but it is helpful if backups do not occur often. Unlike under Windows, you won't see separate drives for partitions like a c:, d:. etc. Everything will fall under the / folder, including all CD-ROMs, floppy drives, external devices, etc. This also includes partitions. Your /home folder will be in a separate partition, but it will look like it is a subdirectory of the / folder. You can think of / as your c:\ drive if you are used to running Windows.

What You Will Need:

Preparation:

This guide assumes that all data will be destroyed on the hard drive in which you are installing, so make sure that all data has been backed up. You must also burn the Ubuntu 7.10 disc to a CD. If you are using Windows and do not have a commercial CD-burning software such as Roxio Easy CD Creator or Nero Burning ROM, install the following freeware tool to help you: http://isorecorder.alexfeinman.com/isorecorder.htm

Installing:

  1. Ensure your computer is connected to your network.
  2. Turn on your computer.
  3. Insert the Ubuntu 7.10 Alternate Disc into the CD-ROM tray on your computer.
  4. You should see the screen in Fig. 1:
    Figure 1: Initial Ubuntu Gutsy Gibbon Alternate Menu
    1. Reboot the computer if the screen in Fig. 1 does not appear and look for Fig. 1 again.
    2. If Fig. 1 does not appear this time, reboot once again and check your BIOS settings to ensure that the CD-ROM is first in the boot menu.

  5. Select the first choice, "Install in text mode," by pressing "Enter."
  6. Scroll through the language selection screen shown in Fig. 2 to choose your language by using the "Up" and "Down" arrow keys.
    Figure 2: Language Selection Screen
  7. Press "Enter" to select your language and continue to the next screen.
  8. Scroll through the country selection screen shown in Fig. 3 to choose your country by pressing the "Up" and "Down" arrow keys.
    Figure 3: Country Selection Screen
  9. Press "Enter" to select your country and continue to the next screen.
  10. Choose "No" on the Ubuntu installer main menu screen shown in Fig. 4 by pressing the "Right" arrow key and pressing "Enter."
    Figure 4: Keyboard Detection Screen
  11. Scroll through the keyboard origin screen shown in Fig. 5 by pressing the "Up" and "Down" arrow keys.
    Figure 5: Keyboard Country Origin Screen
  12. Press "Enter" to select your keyboard origin and continue to the next screen.
  13. Scroll through the keyboard layout screen shown in Fig. 6 by pressing the "Up" and "Down" arrow keys.
    Figure 6: Keyboard Layout Screen
  14. Press "Enter" to select your keyboard layout and continue to the next screen.
  15. Wait for the next few screens to continue automatically until Fig. 7, Configure the network is shown.
    Figure 7: Configure the Network Screen.
  16. Choose your wired Internet NIC. In most cases it is "eth0." Press "Enter" to continue to the next screen.
  17. Type a name for the computer on the network in the screen shown in Fig. 8. Press "Enter" to continue to the next screen.
    Figure 8: Configure the Network Screen
  18. Wait for the next few screens to continue automatically until Fig.9, Partition Disks is shown.
    Figure 9: Partition Disks
  19. Determine how big your partitions will be using a calculator:
    • Calculate a minimum of 4 GB for your / partition. The best bet is 25% of the hard drive's space, but 40 GB is more than enough if your hard drive will accommodate the space.
    • Multiply the amount of RAM you have by two. This will be your swap partition.
    • Use all remaining free space for your /home partition.

  20. Choose "Manual" by pressing the "Down" arrow key and pressing "Enter."
  21. Choose the hard drive in your system by looking for a line that contains either the term "(sda)" or "(hda)" by scrolling with your "Up" and "Down" arrow keys as shown in Fig. 10 and pressing "Enter."
    Figure 10: Partition Disks
  22. Select "Yes" on the warning screen shown in Fig. 11 by pressing the "Left" arrow key and pressing "Enter." This will return you to the screen in step 18.
    Figure 11: Partition Disks
  23. Press the "Down" arrow to highlight the line containing the text "pri/log" and press "Enter" as shown in Fig. 12.
    Figure 12: Partition Disks
  24. Select Create a new partition on the screen shown in Fig. 13 by pressing "Enter."
    Figure 13: Partition Disks
  25. Type in the hard drive space you wish to use for the "/" partition and press "Enter" on the screen shown in Fig. 14. REMINDER: You can use any size you like, but it must be a minimum of 4 GB.
    Figure 14: Partition Disks
  26. Choose "Primary" on the screen shown in Fig. 15. by pressing "Enter."
    Figure 15: Partition Disks
  27. Choose "Beginning" on the screen shown in Fig. 16 by pressing "Enter."
    Figure 16: Partition Disks
  28. Scroll down to "Done setting up the partition" on the screen shown in Fig. 17 by pressing the down arrow and pressing "Enter"
    Figure 17: Partition Disks
  29. Press the "Down" arrow to highlight the line containing the text "pri/log" and press "Enter" as shown in Fig. 18.
    Figure 18: Partition Disks
  30. Select "Create a new partition" on the screen shown in Fig. 13 by pressing "Enter."
  31. Type in the hard drive space you want to use for the "/home" partition and press "Enter" on the screen shown in Fig. 19. REMINDER: Be sure to leave free space equal to 2*RAM for your swap.
    Figure 19: Partition Disks
  32. Choose "Primary" on the screen shown in Fig. 15. by pressing "Enter."
  33. Choose "Beginning" on the screen shown in Fig. 16 by pressing "Enter."
  34. Scroll down to "Done setting up the partition" on the screen shown in Fig. 20 by pressing the "Down" arrow and pressing "Enter."
    Figure 20: Partition Disks
  35. Press the "Down" arrow to highlight the line containing the text "pri/log" and press "Enter" as shown in Fig. 21.
    Figure 21: Partition Disks
  36. Select "Create a new partition" on the screen shown in Fig. 13 by pressing "Enter."
  37. Press "Enter" to select the remaining space on the hard drive as shown in Fig. 22.
    Figure 22: Partition Disks
  38. Choose "Primary" on the screen shown in Fig. 15. by pressing "Enter."
  39. Choose "Beginning" on the screen shown in Fig. 16 by pressing "Enter."
  40. Press the "Up" arrow to highlight the "Use as:" line and press "Enter" as shown in Fig. 23.
    Figure 23: Partition Disks
  41. Press the "Down" arrow to highlight "swap area" and press "Enter" as shown in Fig. 24.
    Figure 24: Partition Disks
  42. Scroll down to "Done setting up the partition on the screen shown in Fig. 25 by pressing the "Down" arrow and pressing "Enter."
    Figure 25: Partition Disks
  43. Verify your screen looks similar to the one shown in Fig. 26.
    Figure 26: Partition Disks
  44. Scroll down to "Finish partitioning and write changes to disk" and press "Enter." NOTE: If you want to change your mind, choose "Undo changes to partitions" and no changes will be made to your system.
  45. Choose "Yes" on the screen shown in Fig. 27 by pressing the "Left" arrow and pressing "Enter" to overwrite all previous data on the system.
    Figure 27: Partition Disks
  46. Wait for the next few screens to continue automatically until Fig. 28, "Configure time zone" is shown.
    Figure 28: Configure Time Zone
  47. Select your time zone on the screen shown in Fig. 28 by using the "Up" and "Down" arrow keys and pressing "Enter."
  48. Select "Yes" on the screen shown in Fig. 29 by pressing "Enter."
    Figure 29: Configure the Clock
  49. Type in your full name on the screen shown in Fig. 30 and press "Enter"
    Figure 30: Set up Users and Passwords
  50. Type in a username for your account or press "Enter" to accept the username given as shown in Fig. 31.
    Figure 31: Set up Users and Passwords
  51. Type in a password for your account and press "Enter" on the screen shown in Fig. 32.
    Figure 32: Set up Users and Passwords
  52. Type in the same password again and press "Enter" on the screen shown in Fig. 33.
    Figure 33: Set up Users and Passwords
  53. Wait for the next few screens to continue automatically until Fig. 34, "Configure the package manager" is shown. NOTE: This process will take about five minutes in most cases and may seem like it has hung up at times.
    Figure 34: Configure the Package Manager
  54. Type in any HTTP proxy information and press "Enter." In most cases, this should just be left blank.
  55. Wait for the next few screens to continue automatically until Fig. 35, "Finish the installation" is shown. NOTE: This process will take about 20-30 minutes in most cases and may seem like it has hung up at times, particularly on the screen that says "Configuring apt" shown in Fig. 36.
    Figure 35: Finish the Installation
    Figure 36: Configuring Apt
  56. Remove the CD-ROM from the tray when it opens.
  57. Press "Enter" on the screen shown in Fig. 35 to reboot the computer.
  58. Wait for the system to load through the screen shown in Fig. 37.
    Figure 37: Ubuntu Loading Screen
  59. Type your username you setup in step 50 on the log-in screen shown in Fig. 38 and press "Enter."
    Figure 38: Ubuntu Login Screen
  60. Type your password you setup in steps 51 and 52 on the log-in screen shown in Fig. 39 and press "Enter."
    Figure 39: Ubuntu Login Screen
  61. Enjoy your new Ubuntu system! (Fig. 40)
    Figure 40: Ubuntu Fully Loaded

Based on:
NTFS + Gutsy Gibbon with /home Partition

Original Source:
Self-Post at the Ubuntu Forums

Technorati Tags: , , , , , , , , ,