Updated build instructions and script for RPM based distros

This commit is contained in:
Micah Lee 2016-02-13 17:36:18 -08:00
parent 42696cde91
commit fdca383d31
2 changed files with 6 additions and 4 deletions

View file

@ -23,14 +23,16 @@ Note that OnionShare uses stdeb to generate Debian packages, and `python3-stdeb`
*For .rpm-based distros (Red Hat, Fedora, CentOS):*
```sh
sudo yum install -y rpm-build python-flask python-stem pyqt4
sudo sudo dnf install -y rpm-build python3-flask python3-stem python3-qt5
./install/build_rpm.sh
sudo yum install -y dist/onionshare-*.rpm
```
Depending on your distribution, you may need to use `yum` instead of `dnf`.
*For ArchLinux:*
There is a PKBUILD available [here](https://aur.archlinux.org/packages/onionshare/) that can be used to install onionshare
There is a PKBUILD available [here](https://aur.archlinux.org/packages/onionshare/) that can be used to install OnionShare.
## Mac OS X

View file

@ -9,9 +9,9 @@ VERSION=`cat version`
rm -r build dist >/dev/null 2>&1
# build binary package
python setup.py bdist_rpm --requires="python-flask, python-stem, pyqt4"
python3 setup.py bdist_rpm --requires="python3-flask, python3-stem, python3-qt5"
# install it
echo ""
echo "To install, run:"
echo "sudo yum install dist/onionshare-$VERSION-1.noarch.rpm"
echo "sudo dnf install dist/onionshare-$VERSION-1.noarch.rpm"