-
Notifications
You must be signed in to change notification settings - Fork 653
FreeBSD Support
alireza-amirsamimi edited this page Apr 14, 2017
·
7 revisions
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
- To add the package:
pkg install aria2
- pulseaudio
- To install the port:
cd /usr/ports/audio/pulseaudio/ && make install clean
- To add the package:
pkg install pulseaudio
- vorbis-tools
- To install the port:
cd /usr/ports/audio/vorbis-tools/ && make install clean
- To add the package:
pkg install vorbis-tools
- libnotify
- To install the port:
cd /usr/ports/devel/libnotify/ && make install clean
- To add the package:
pkg install libnotify
- qt5-svg
- To install the port:
cd /usr/ports/graphics/qt5-svg/ && make install clean
- To add the package:
pkg install qt5-svg
- python3
- To install the port:
cd /usr/ports/lang/python3/ && make install clean
- To add the package:
pkg install python3
- py3-qt5
- To install the port:
cd /usr/ports/devel/py-qt5/ && make install clean
- py3-requests
- To install the port:
cd /usr/ports/www/py3-requests/ && make install clean
You can install them using pkg
or Ports, but Python packages need some configuration before install, especially py3-qt5
, so use Ports for installing Python packages as explained follow:
- 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:
cd /usr/ports/lang/python3/ && make install clean
- Then install
py3-qt5
andpy3-requests
from Port:
cd /usr/ports/devel/py-qt5/ && make install clean
cd /usr/ports/www/py3-requests/ && make install clean
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
:
sh ./install_freebsd
Read More About Persepolis