Skip to content

Instantly share code, notes, and snippets.

@yoyosan
Last active June 16, 2023 12:17
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save yoyosan/5bf277ac8ca0b5b9234ad1b886e57d9f to your computer and use it in GitHub Desktop.
Save yoyosan/5bf277ac8ca0b5b9234ad1b886e57d9f to your computer and use it in GitHub Desktop.
Build openfortigui in Fedora 34+

Install needed 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

cd ~/tools
git clone https://github.com/theinvisible/openfortigui.git
cd 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