mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-10 19:52:50 -03:00
Updated build instructions and script for RPM based distros
This commit is contained in:
parent
42696cde91
commit
fdca383d31
2 changed files with 6 additions and 4 deletions
6
BUILD.md
6
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
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue