# Installing Pyfa on Ubuntu 19.10

**URL:** <https://forums.eveonline.com/t/installing-pyfa-on-ubuntu-19-10/219478>\
**Category:** Linux\
**Created:** [February 13, 2020, 6:38am UTC](https://forums.eveonline.com/t/installing-pyfa-on-ubuntu-19-10/219478 "2020-02-13T06:38:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Edwick\_Dallocort](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/edwick_dallocort/32/189528_2.png) [@Edwick\_Dallocort](https://forums.eveonline.com/u/Edwick_Dallocort)\
**Post date:** [February 13, 2020, 6:38am UTC](https://forums.eveonline.com/t/installing-pyfa-on-ubuntu-19-10/219478/1 "2020-02-13T06:38:40Z")

</div>

Hi All,

I have been looking to install pyfa on my Linux laptop for a while now.  
This thread, [Installing pyfa on ubuntu 18.04](https://forums.eveonline.com/t/installing-pyfa-on-ubuntu-18-04/96658), helped greatly, however I am running Ubuntu 19.10, not 18.04, and following step-by-step quickly ran me into issues.

Ubuntu 18.04 is the long-term release, and is likely what most people will be using, in which case, I recommend following the guide mentioned above.  
Ubuntu 19.10 is an Interim release version, which often has newer, less stable software upgrades.

I would have added my own points there, however the thread is locked, so please bare with me opening up a new thread for this.

Credit for most of this goes to [Anderson Geten](https://forums.eveonline.com/u/Anderson_Geten)

This is what worked to get pyfa up and running for me on Ubuntu 19.10

# add repos for ubuntu 18.04 to be able to get these dependancies

Dependancies are not available in the standard ubuntu 19.10 repos at this time

NOTE: As I am based in South Africa, I make use of my local repository mirrors.  
You can use these as listed here, though they may be slower than your own local repositories  
See repositories for your own system in /etc/apt/sources.list  
Modify below “za.archive.ubuntu” to match your existing repositories

```
sudo echo "deb http://za.archive.ubuntu.com/ubuntu/ bionic universe" > /tmp/ubuntu18.04.list
sudo echo "deb http://za.archive.ubuntu.com/ubuntu/ bionic-updates universe" >> /tmp/ubuntu18.04.list
sudo echo "deb http://za.archive.ubuntu.com/ubuntu/ bionic multiverse" >> /tmp/ubuntu18.04.list
sudo echo "deb http://za.archive.ubuntu.com/ubuntu/ bionic-updates multiverse" >> /tmp/ubuntu18.04.list
sudo mv /tmp/ubuntu18.04.list /etc/apt/sources.list.d/

```

# install dependencies

```
sudo apt update
sudo apt -y install python3-pip python-wxgtk4.0 python3-wxgtk-webview4.0 git

```

# install pip dependencies for pyfa.

```
python3 -m pip install -U --user bs4 cryptography logbook markdown2 matplotlib packaging pip python-dateutil pyyaml roman sqlalchemy

```

# create a directory for pyfa and clone the git project inside

```
mkdir -p "$HOME/bin"
git clone https://github.com/pyfa-org/Pyfa.git "$HOME/bin/pyfa"

```

# add the pyfa command to your bash aliases

This will let you run pyfa by typing “pyfa” into your terminal. You can also update pyfa with “pyfaup”

```
echo $'\n'"alias pyfa=\"python3 $HOME/bin/pyfa/pyfa.py\"" >> $HOME/.bash_aliases
echo $'\n'"alias pyfaup=\"cd \\\"$HOME/bin/pyfa\\\" && git pull\"" >> $HOME/.bash_aliases
source "$HOME/.bashrc"

```

# Optional, Add an icon to your Applications menu to launch pyfa.

You can adjust the “Icon=$HOME/.icons/pyfa.png” line to the location of any Icon you wish to use.  
I store my custom icons in $HOME/.icons/

```
echo "[Desktop Entry]" > $HOME/.local/share/applications/pyfa.desktop
echo "Type=Application" >> $HOME/.local/share/applications/pyfa.desktop
echo "Name=pyfa" >> $HOME/.local/share/applications/pyfa.desktop
echo "Comment=Eve online fitting simulator" >> $HOME/.local/share/applications/pyfa.desktop
echo "Exec=/usr/bin/python3 $HOME/bin/pyfa/pyfa.py" >> $HOME/.local/share/applications/pyfa.desktop
echo "Icon=$HOME/.icons/pyfa.png" >> $HOME/.local/share/applications/pyfa.desktop
echo "Terminal=false" >> $HOME/.local/share/applications/pyfa.desktop
echo "Catagories=pyfa;eve;utility;tool;fitting;online;assistance;simulator" >> $HOME/.local/share/applications/pyfa.desktop
```

---

<div class="post-metadata">

**Author:** ![merlin\_of\_chaos](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/merlin_of_chaos/32/194101_2.png) [@merlin\_of\_chaos](https://forums.eveonline.com/u/merlin_of_chaos)\
**Post date:** [March 27, 2020, 3:55pm UTC](https://forums.eveonline.com/t/installing-pyfa-on-ubuntu-19-10/219478/2 "2020-03-27T15:55:59Z")

</div>

thank you for this, with your help ive managed to get pyfa installed on my ubuntu system

---

<div class="post-metadata">

**Author:** ![Kuurome](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/kuurome/32/206274_2.png) [@Kuurome](https://forums.eveonline.com/u/Kuurome)\
**Post date:** [April 27, 2020, 2:23am UTC](https://forums.eveonline.com/t/installing-pyfa-on-ubuntu-19-10/219478/3 "2020-04-27T02:23:08Z")

</div>

Thanks a lot man, it worked flawlessly. +1

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/eveonline/original/3X/4/1/41ec4921cbaca7a6f9ea556e7cc20018461eae5e.png) [@system](https://forums.eveonline.com/u/system)\
**Post date:** [July 26, 2020, 2:24am UTC](https://forums.eveonline.com/t/installing-pyfa-on-ubuntu-19-10/219478/4 "2020-07-26T02:24:24Z")

</div>

Closed on July 26, 2020, 2:24am UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
