-
Notifications
You must be signed in to change notification settings - Fork 653
FreeBSD Support
Installing Persepolis on FreeBSD
To install Persepolis on FreeBSD you need to install following packages first:
-
aria2
- To install the port:
cd /usr/ports/www/aria2/ && make install clean
or - To add the package:
pkg install aria2
- To install the port:
-
libnotify
- To install the port:
cd /usr/ports/devel/libnotify/ && make install clean
or - To add the package:
pkg install libnotify
- To install the port:
-
qt5-svg
- To install the port:
cd /usr/ports/graphics/qt5-svg/ && make install clean
or - To add the package:
pkg install qt5-svg
- To install the port:
-
pulseaudio(optional dependency for playing sound notifications)
- To install the port:
cd /usr/ports/audio/pulseaudio/ && make install clean
or - To add the package:
pkg install pulseaudio
- To install the port:
-
Optional dependencies are: yt-dlp and ffmpeg for downloading from youtube and ...
-
Before installing
python3
,py3-qt5
andpy3-requests
packages, you must first change your system default python to python3 instead of python2. For doing this you must add following line to your system/etc/make.conf
file:
DEFAULT_VERSIONS+= python=3.6 python3=3.6
Here we change default python and python3 version to Python 3.6, you can choose whichever python 3 version available and you want. (See/usr/ports/Mk/bsd.default-versions.mk
). -
After that, first install
python3
from Port -
python3
- To install the port:
cd /usr/ports/lang/python3/ && make install clean
- To install the port:
-
py3-qt5
- To install the port:
cd /usr/ports/devel/py-qt5/ && make install clean
- To install the port:
-
py3-requests
- To install the port:
cd /usr/ports/www/py3-requests/ && make install clean
- To install the port:
-
py3-setproctitle
- To install the port:
cd /usr/ports/devel/py3-setproctitle/ && make install clean
- To install the port:
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 install the port:
cd /usr/ports/devel/git/ && make install clean
- To add the package:
pkg install git
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
Read More About Persepolis