Announcement

Collapse
No announcement yet.

How to enable/add GTK-based software to KDE recent/new upgrade?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to enable/add GTK-based software to KDE recent/new upgrade?

    Recently upgraded from 18.04 to 20.04 using Kubuntu Focal Upgrades Ubuntu documentation.
    https://help.ubuntu.com/community/FocalUpgrades/Kubuntu
    No issues except ONE:

    I have ONE piece of software that must have been removed during the upgrade.
    It has disappeared from the applications menu.
    The shortcut on the toolbar isnt working.
    The software is not found when I search in Discover.
    The software is called "Gourmet Recipe Manager".

    When I try to type the following in a terminal, here is the response:

    $ sudo apt-get install gourmet
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package gourmet

    $

    A brief web search shows that "gourmet" is currently AVAILABLE in the Ubuntu Manual for 20.04.
    Go to manpages DOT ubuntu DOT com and search on the for the name/term "gourmet".
    or here: https://manpages.ubuntu.com/manpages...gourmet.1.html

    I think the dependency on the GTK packages might be my problem.
    I am unclear how to add the correct repositories to enable this software to be installed.
    Isn't that what I need to do?
    I am familiar with Linux, but I must admit, I am becoming rusty these days (because things run so smoothly!)

    Suggestions?
    Thanks in advance!
    Last edited by jewels; Feb 16, 2022, 02:07 PM.

    #2
    According to https://packages.ubuntu.com/search?keywords=gourmet, the package gourmet isn’t (currently) available in 20.04.
    Using Kubuntu Linux since March 23, 2007
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      However, it appears there is a way to get it. See https://askubuntu.com/questions/1230...230188#1230188
      Using Kubuntu Linux since March 23, 2007
      "It is a capital mistake to theorize before one has data." - Sherlock Holmes

      Comment


        #4
        Wow! THANK YOU!
        That answer was SUPER-FAST, and EXCELLENT!
        The exact info I needed!
        It took a little tweaking (because the post was older), but Gourmet Recipe Manager is now installed and working perfectly!

        THANK YOU!
        THANK YOU!
        THANK YOU!

        On a side note, KDE has been wonderful to me over the past ten years.
        -and-
        My 70-yr-old mom (a non-tech-saavy person) has been using KDE for nearly 7 years now - with no problem.

        THANKS AGAIN!
        ~jewels

        Comment


          #5
          You're welcome, and, Welcome to KFN!
          Using Kubuntu Linux since March 23, 2007
          "It is a capital mistake to theorize before one has data." - Sherlock Holmes

          Comment


            #6
            Originally posted by jewels View Post
            It took a little tweaking (because the post was older), but Gourmet Recipe Manager is now installed and working perfectly!
            While you are very likely a unique use case, it would still be beneficial to tell us what "tweaking" you had to do to the instructions. Who knows? It could help someone else later.
            Using Kubuntu Linux since March 23, 2007
            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

            Comment


              #7
              The actual project for this application do make an Appimage, as well as a flatpak, so doing all the things to install an ancient version, and its dependencies, is no longer needed
              https://github.com/kirienko/gourmet/releases/tag/1.0.1

              I got the link from the askubuntu page.
              Also, fwiw the Python 3 version of Gourmet is available in 21.10, as well as the upcoming 22.04 LTS.

              Comment


                #8
                Good point. Here it goes (this may be long, and boring......lol)

                I followed the instructions from the link above.
                https://askubuntu.com/questions/1230...230188#1230188

                Here are the few corrections I made to get it to install:

                $ mkdir -p ~/Downloads/gourmet
                $ cd ~/Downloads/gourmet


                $ wget http://archive.ubuntu.com/ubuntu/poo...17.4-7_all.deb
                $ wget http://archive.ubuntu.com/ubuntu/poo....0.1-2_all.deb
                The version number was not available - so I chose a newer version.

                $ wget http://archive.ubuntu.com/ubuntu/poo....0-6_amd64.deb
                $ wget http://archive.ubuntu.com/ubuntu/poo...ntu2_amd64.deb
                The version number was not available - so I chose another version.

                $ wget http://security.ubuntu.com/ubuntu/po...ntu0.1_all.deb
                $ wget http://security.ubuntu.com/ubuntu/po...ntu0.1_all.deb
                Again, the version number was not available - so I chose another version.

                $ wget http://archive.ubuntu.com/ubuntu/poo...0809-5_all.deb

                $ wget http://security.ubuntu.com/ubuntu/po...u0.1_amd64.deb
                $ wget http://security.ubuntu.com/ubuntu/po...u0.1_amd64.deb
                Again, the version number was not available - so I chose another version.

                $ wget http://archive.ubuntu.com/ubuntu/poo....0.5-1_all.deb
                $ wget http://archive.ubuntu.com/ubuntu/poo....0.0-1_all.deb
                $ wget http://archive.ubuntu.com/ubuntu/poo....2.5-3_all.deb
                $ wget http://archive.ubuntu.com/ubuntu/poo....2.1-1_all.deb


                Well, I hope that can help someone else in the future install the Gourmet Recipe Manager (or gourmet) onto Kubuntu 20.04).
                Good luck world!
                Thanks again!
                ~jewels

                Comment


                  #9
                  Originally posted by claydoh View Post
                  Also, fwiw the Python 3 version of Gourmet is available in 21.10, as well as the upcoming 22.04 LTS.
                  Yes, I am excited for the new LTS in April? (Is that when? Not sure).
                  I will be upgrading to that as soon as it is released, which will likely fix this issue.
                  I think I am just caught in-between developments.
                  But until then, I don't think I can cook so easily without my recipes! LOL!
                  I would seriously be lost!
                  (I have them backed up in HTML format, but it is onerous to use them that way!)

                  Thanks again!
                  ~jewels

                  Comment


                    #10
                    Originally posted by claydoh View Post
                    The actual project for this application do make an Appimage, as well as a flatpak, so doing all the things to install an ancient version, and its dependencies, is no longer needed
                    https://github.com/kirienko/gourmet/releases/tag/1.0.1

                    I got the link from the askubuntu page.
                    Also, fwiw the Python 3 version of Gourmet is available in 21.10, as well as the upcoming 22.04 LTS.
                    Well, I downloaded the AppImage file from the link cited. I set the file executable, opened Dolphin and navigated to Downloads and double-clicked the file. Nothing happened.

                    Opened Konsole and navigated to Downloads and verified that the file was executable. It was. Tried launching it from there.
                    paul@barley-cat:~/Downloads$ ./Gourmet-1.0.1-x86_64.AppImage
                    Traceback (most recent call last):
                    File "/tmp/.mount_GourmeH339ra/usr/bin/gourmet", line 6, in <module>
                    from gourmet.GourmetRecipeManager import launch_app
                    File "/tmp/.mount_GourmeH339ra/opt/python3.8/lib/python3.8/site-packages/gourmet/__init__.py", line 1, in <module
                    >
                    from gi import require_version
                    File "/tmp/.mount_GourmeH339ra/opt/python3.8/lib/python3.8/site-packages/gi/__init__.py", line 40, in <module>
                    from . import _gi
                    ImportError: libffi.so.7: cannot open shared object file: No such file or directory
                    paul@barley-cat:~/Downloads
                    So much for an AppImage Program being fully self-contained with everything it needs to run, eh?
                    Using Kubuntu Linux since March 23, 2007
                    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                    Comment


                      #11
                      Originally posted by Snowhog View Post

                      Well, I downloaded the AppImage file from the link cited. I set the file executable, opened Dolphin and navigated to Downloads and double-clicked the file. Nothing happened.

                      Opened Konsole and navigated to Downloads and verified that the file was executable. It was. Tried launching it from there.

                      So much for an AppImage Program being fully self-contained with everything it needs to run, eh?
                      It ran for me, no problem. Else I would have noted this, or not suggested it
                      As did installing it via the flatpak file - which opened in Discover, which downloaded/installed it.

                      Comment


                      • Snowhog
                        Snowhog commented
                        Editing a comment
                        Any idea as to why it didn't run for me?

                      #12
                      Originally posted by Snowhog View Post
                      Any idea as to why it didn't run for me?
                      No clue. It runs fine on my 20.04 based system, though I can make it crash by trying to enable one of the plugins in its menus.

                      I imagine this is the cause:
                      Code:
                      ImportError: libffi.so.7: cannot open shared object file: No such file or directory
                      20.04 has libffi7 by default, and I will wager you have libffi8. Seems to effect a number of Python/Ruby programs, though libffi7 can be installed on later systems, though I imagine there might be other issues as well with systems using a more recent Python.
                      Just a bug in the appimage missing this low level library or something. The fault of the creator, and the lack of anyone reporting it (most are likely using the flatpak)

                      And anyway, 21.10 and 22.04 both have the latest release of the program natively.
                      Last edited by claydoh; Feb 16, 2022, 04:35 PM.

                      Comment


                        #13
                        AppImage ran fine for me. I don't know how you get recipes for it though.

                        Comment


                          #14
                          Originally posted by Bings View Post
                          AppImage ran fine for me. I don't know how you get recipes for it though.
                          You are running 20.04, I will guess. The program imports one's existing collection of recipe files, or ones downloaded from various sources. It can also import it from a web page url, though this often does not work as a site can block this via javascript.

                          Comment


                            #15
                            Originally posted by Snowhog View Post

                            Well, I downloaded the AppImage file from the link cited. I set the file executable, opened Dolphin and navigated to Downloads and double-clicked the file. Nothing happened.

                            Opened Konsole and navigated to Downloads and verified that the file was executable. It was. Tried launching it from there.

                            So much for an AppImage Program being fully self-contained with everything it needs to run, eh?
                            Whelp I did not pay enough attention:
                            Gourmet has been forked to become Gourmand, as the original is moviong to a web based application
                            https://github.com/kirienko/gourmet/issues/373

                            I did not read when posting a bug:
                            https://github.com/kirienko/gourmet/issues/374

                            https://github.com/GourmandRecipeManager/Gourmand
                            The latest release of the new project should not have this issue:
                            https://github.com/GourmandRecipeMan...ases/tag/1.0.0

                            Comment

                            Working...
                            X