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: , , , , , , , , ,

11 comments:

Unca Rolly said...

Thanks Justin. This is a nice little app. I had been looking for somebody who had used it and could recommend it. Now that I've tried it, I second your favorable opinion.

Je suis flâneur said...

Everything went fine until:

mark@Lexington-19:~$ sudo dpkg -i gourmet_0.13.4-1_all.deb
(Reading database ... 108019 files and directories currently installed.)
Preparing to replace gourmet 0.13.4-1 (using gourmet_0.13.4-1_all.deb) ...
Unpacking replacement gourmet ...
dpkg: dependency problems prevent configuration of gourmet:
gourmet depends on python-pysqlite2; however:
Package python-pysqlite2 is not installed.
dpkg: error processing gourmet (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
gourmet

Unknown said...

Mark,
The instructions have been updated. If you've already done it, just type
sudo apt-get install python-pysqlite2
Hope that helps.

Anonymous said...

Justin said...
Mark,
The instructions have been updated. If you've already done it, just type
sudo apt-get install python-pysqlite2
Hope that helps.


Just FYI, you usually shouldn't manually install dependencies like that, as APT won't mark them as automatically installed. Instead, next time dpkg reports a dependency problem, just run "sudo apt-get install -f" - this will automatically pull in the missing dependencies of the package you're trying to install (it'll just remove the package if they're not available in your repositories). That way, if you decide to get rid of the package later, running "sudo apt-get autoremove --purge anymeal" will get rid of its dependencies as well.

davedave said...

On ubuntu 8.04, I received the error
ImportError: No module named sqlalchemy

Suggest modifying step to
sudo apt-get install python-reportlab python-pysqlite2 python-sqlalchemy

dk said...

Its a shame that we still do not have a community to go with these wonderful softwares. If we had one, we could have had a repository of recipes, which everyone can search on!

dk said...
This comment has been removed by a blog administrator.
Jessica said...

Sharing would be nice -- especially vegan recipes already formatted :)

David Robert said...

Gourmet has a conflict with python-pysqlite2 (>= 2.5)

The following packages are BROKEN:
gourmet
The following NEW packages will be installed:
fortune-mod{a} fortunes-min{a} ibid ipcalc{a} librecode0{a}
python-beautifulsoup{a} python-dictclient{a} python-dnspython{a}
python-fpconst{a} python-html2text{a} python-html5lib{a} python-imdbpy{a}
python-jinja{a} python-pysqlite2{a} python-soappy{a} python-wokkel{a}
units{a}
The following packages will be upgraded:
python-configobj
1 packages upgraded, 17 newly installed, 0 to remove and 24 not upgraded.
Need to get 2,309kB/2,342kB of archives. After unpacking 8,733kB will be used.
The following packages have unmet dependencies:
gourmet: Conflicts: python-pysqlite2 (>= 2.5) but 2.5.5-1ubuntu1 is to be installed.
The following actions will resolve these dependencies:

Remove the following packages:
gourmet

Score is 119

Accept this solution? [Y/n/q/?]

SonicGrass said...

why not install using synaptic?

Unknown said...

I personally find it easier to use the command prompt for installing. I prefer it, so that is how I instruct people to install. It does the same thing, but if you prefer to use Synaptic, then by all means use it.