Project

General

Profile

Support #835

Updated by Daniel Curtis over 8 years ago

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. 

 h2. Prepare the Environment 

 * Make sure the system is up to date: 
 <pre> 
 sudo pacman -Syu 
 </pre> 

 h2. Install Fritzing 

 * Install a few build dependencies: 
 <pre> 
 sudo pacman -S qtcreator jdk8-openjdk libgit2 python2 qt5-serialport qt5-svg shared-mime-info boost 
 </pre> 

 * Make a working directory and switch to it: 
 <pre> 
 mkdir -p ~/git/fritzing && cd ~/git/fritzing 
 </pre> 

 * Clone the Fritzing app repo from GitHub: 
 <pre> 
 git clone https://github.com/fritzing/fritzing-app.git 
 </pre> 
 

 * Clone the Fritzing parts repo from GitHub inside the fritzing-app: GitHub: 
 <pre> 
 cd fritzing-app 
 git clone https://github.com/fritzing/fritzing-parts.git parts 
 cd .. 
 </pre> 

 * Compile fritzing: 
 <pre> 
 cd fritzing-app 
 qmake 
 make 
 </pre>  
 #* And install  
 <pre> 
 sudo make install 
 </pre> 

 * Package fritzing: 
 <pre> 
 cd .. 
 fritzing-app/tools/linux_release_script/release.sh 0.9.3b 
 </pre> 

 h2. eagle2fritzing 

 * Switch to the fritzing working directory: 
 <pre> 
 cd ~/git/fritzing 
 </pre> 

 * Clone the eagle2fritzing repo from GitHub: 
 <pre> 
 git clone https://github.com/fritzing/eagle2fritzing.git 
 </pre> 

 * Switch to the lbr2svg directory: Compile fritzing: 
 <pre> 
 cd eagle2fritzing/lbr2svg fritzing-app 
 </pre> 
 #* Compile the lbr2svg tool: 
 <pre> 
 qmake 
 make 
 </pre> 
  
 #* Run the tool: 
 And install  
 <pre> 
 ./lbr2svg -w ~/.eagle/lbr -p ~/git/fritzing/fritzing-app/parts -c user sudo make install 
 </pre> 

 * Switch to the brd2svg directory: Package fritzing: 
 <pre> 
 cd ../brd2svg 
 </pre> 
 #* Compile the brd2svg tool: 
 <pre> 
 qmake 
 make 
 </pre> 
 #* Run the tool: 
 <pre> 
 ./brd2svg tools/linux_release_script/release.sh 
 </pre> 

 h2. Resources 

 * https://github.com/fritzing/fritzing-app/wiki/1.-Building-Fritzing 
 * https://github.com/fritzing/eagle2fritzing 
 * https://aur.archlinux.org/packages/fritzing/ 

Back