Skip to content

Instantly share code, notes, and snippets.

@e7d
Forked from yoyosan/openfortigui.md
Last active October 12, 2021 13:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save e7d/b1e4174c1b7e11d896b2f458340e6082 to your computer and use it in GitHub Desktop.
Save e7d/b1e4174c1b7e11d896b2f458340e6082 to your computer and use it in GitHub Desktop.
Build openfortigui in Fedora 34+
#!/bin/sh
# install required packages:
sudo dnf install qt5-qtbase-devel openssl-devel qtkeychain-qt5-devel -y
# create a symlink to /usr/bin/qmake, if needed
sudo ln -s /usr/lib64/qt5/bin/qmake /usr/bin/qmake
# build openfortigui code
git clone https://github.com/theinvisible/openfortigui.git /tmp/openfortigui
cd /tmp/openfortigui && git submodule init && git submodule update
qmake && make -j4
# install it as an application
sudo cp openfortigui/app-entry/openfortigui.png /usr/share/pixmaps
sudo cp openfortigui/app-entry/openfortigui.desktop /usr/share/applications
sudo cp openfortigui/openfortigui /usr/bin/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment