Skip to content

OpenBSD Support

alireza-amirsamimi edited this page Feb 9, 2024 · 5 revisions

Installing Persepolis on OpenBSD

Install dependencies

To install Persepolis on OpenBSD you need to install following packages first:

  • aria2

    • To add the package: doas pkg_add aria2 or
    • To install the port: cd /usr/ports/www/aria2/ && make install clean
  • libnotify

    • To add the package: doas pkg_add libnotify or
    • To install the port: cd /usr/ports/devel/libnotify/ && make install clean
  • qtsvg

    • To add the package: doas pkg_add qtsvg or
    • To install the port: cd /usr/ports/x11/qt5/qtsvg/ && make install clean
  • python3

    • To add the package: doas pkg_add python or
    • To install the port: cd /usr/ports/lang/python/ && make install clean
  • py3-qt5

    • To add the package: doas pkg_add py3-qt5 or
    • To install the port: cd /usr/ports/x11/py3-qt5/ && make install clean
  • py3-requests

    • To add the package: doas pkg_add py3-requests or
    • To install the port: cd /usr/ports/www/py3-requests/ && make install clean
  • py3-setproctitle

    • To add the package: doas pkg_add py3-setproctitle or
    • To install the port: cd /usr/ports/devel/py3-setproctitle/ && make install clean
  • pulseaudio (optional dependency for playing sound notifications)

    • To add the package: doas pkg_add pulseaudio or
    • To install the port: cd /usr/ports/audio/pulseaudio/ && make install clean
  • ffmpeg and yt-dlp are optional dependencies for downloading video from youtube and ...

You can install them using pkg_add or Ports.

Install Persepolis

You can either download latest Persepolis release or clone persepolis with git for installing Persepolis. To clone persepolis repo you need to install git as follow:

  • To add the package: doas pkg_add git
    or
  • To install the port: cd /usr/ports/devel/git/ && make install clean

After that go to persepolis directory and run following command as root (replace python3.6 with python3 that installed in your system):
sudo python3.6 setup.py install

Clone this wiki locally