diff --git a/BUILD.md b/BUILD.md index e6994a56..9652442d 100644 --- a/BUILD.md +++ b/BUILD.md @@ -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 diff --git a/install/build_rpm.sh b/install/build_rpm.sh index 67612b53..954197b7 100755 --- a/install/build_rpm.sh +++ b/install/build_rpm.sh @@ -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"