Support #835
Install Fritzing From Source on Arch Linux
Description
This is a guide to install Fritzing from source on Arch Linux. Yes, there is a package in the AUR; however, I need to compile the eagle2fritzing tool and that requires a copy of the source code for Fritzing.
Prepare the Environment¶
- Make sure the system is up to date:
sudo pacman -Syu
Install Fritzing¶
- Install a few build dependencies:
sudo pacman -S qtcreator jdk8-openjdk libgit2 python2 qt5-serialport qt5-svg shared-mime-info boost
- Make a working directory and switch to it:
mkdir -p ~/git/fritzing && cd ~/git/fritzing
- Clone the Fritzing app repo from GitHub:
git clone https://github.com/fritzing/fritzing-app.git
- Clone the Fritzing parts repo from GitHub inside the fritzing-app:
cd fritzing-app git clone https://github.com/fritzing/fritzing-parts.git parts cd ..
- Compile fritzing:
cd fritzing-app qmake make
- And install
sudo make install
- And install
- Package fritzing:
cd .. fritzing-app/tools/linux_release_script/release.sh 0.9.3b
eagle2fritzing¶
- Switch to the fritzing working directory:
cd ~/git/fritzing
- Clone the eagle2fritzing repo from GitHub:
git clone https://github.com/fritzing/eagle2fritzing.git
- Switch to the lbr2svg directory:
cd eagle2fritzing/lbr2svg
- Compile the lbr2svg tool:
qmake make
- Run the tool:
./lbr2svg -w ~/.eagle/lbr -p ~/git/fritzing/fritzing-app/parts -c user
- Compile the lbr2svg tool:
- Switch to the brd2svg directory:
cd ../brd2svg
- Compile the brd2svg tool:
qmake make
- Run the tool:
./brd2svg
- Compile the brd2svg tool: