Score:3

How to run Fritzing on Ubuntu 18.04 LTS?

zw flag

I have recently installed Ubuntu 18.04.6 LTS and then installed Fritzing using packages from official repository by using below command

sudo apt-get install fritzing

Then on first launch it showed three windows with errors

Oops!
Sorry, we have a problem with the swapping mechanism.
Fritzing still works, but you won't be able to change parts properties.

Fritzing
Cannot read file /home/username/bins/core.fzb:
No such file or directory.

Fritzing
Fritzing cannot load the parts bin

and the parts list was empty as the result. I need to run Fritzing for my hobby project.

BaTycoon avatar
mm flag
I dont know of an Ubuntu 18.04.7 LTS on 10/28/2021...
Score:4
zw flag

So we have a problem here - the official Fritzing 0.9.3b deb-package which is broken in 18.04 LTS.
I have reported a bug 1949087 about such behaviour.

Also I have created a PPA for Ubuntu 18.04 LTS with Fritzing 0.9.3b from Ubuntu 20.04 LTS.
So one can install the deb-packaged version using the following commands:

sudo add-apt-repository ppa:nrbrtx/fritzing
sudo apt-get update
sudo apt-get install fritzing

and it will function normally on Ubuntu 18.04 LTS.
To have updated parts use the hack below:

sudo rm -rf /usr/share/fritzing/parts

sudo apt-get install git
sudo git clone https://github.com/fritzing/fritzing-parts.git -b develop /usr/share/fritzing/parts

It should be noted that packages even for Ubuntu 21.10 is still 0.9.3b, so same version.
So if one needs newer version, then there is a way to replace it with Flatpak version as follows:

sudo apt-get purge --autoremove fritzing

sudo add-apt-repository ppa:flatpak/stable
sudo apt update
sudo apt install flatpak

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

flatpak install flathub org.fritzing.Fritzing

and then enjoy Fritzing 0.9.6 as the result.

in flag
Wow. Flatpak on an Ubuntu installation. That seems almost sacrilegious
Score:0
cn flag

I got this error code on Ubuntu 18.04.6 LTS with Fritzing version 0.9.3 (downloaded from the Ubuntu Software Center):

Unable to find parts git repository #3890

I managed to get the parts git repository work by:

sudo apt remove fritzing-parts
sudo apt autoremove

Then reinstalling:

sudo apt install fritzing-parts
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.