mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-26 07:49:48 -05:00
finished linux packaging instructions (fixes #25)
This commit is contained in:
parent
3eb2beee5c
commit
8b179384b0
17
BUILD.md
17
BUILD.md
@ -1,21 +1,22 @@
|
|||||||
# Building OnionShare
|
# Building OnionShare
|
||||||
|
|
||||||
For GNU/Linux and OSX, get a copy of the source code:
|
## GNU/Linux
|
||||||
|
|
||||||
|
Start by getting a copy of the source code:
|
||||||
|
|
||||||
git clone https://github.com/micahflee/onionshare.git
|
git clone https://github.com/micahflee/onionshare.git
|
||||||
cd onionshare
|
cd onionshare
|
||||||
|
|
||||||
## Debian-based GNU/Linux
|
*For .deb-based distros (like Debian, Ubuntu, Linux Mint):*
|
||||||
|
|
||||||
## Red Hat-based GNU/Linux
|
sudo apt-get install -y python-all python-stdeb python-flask python-stem python-webkit
|
||||||
|
./build_deb.sh
|
||||||
|
sudo dpkg -i deb_dist/onionshare_*.deb
|
||||||
|
|
||||||
Install dependencies and build the RPM:
|
*For .rpm-based distros (Red Hat, Fedora, CentOS):*
|
||||||
|
|
||||||
sudo yum install -y rpm-build python-flask python-stem pywebkitgtk
|
sudo yum install -y rpm-build python-flask python-stem pywebkitgtk
|
||||||
./build_rpm.sh
|
./build_rpm.sh
|
||||||
|
|
||||||
The RPM will end up in your dist folder. You can install it like this:
|
|
||||||
|
|
||||||
sudo yum install -y dist/onionshare-*.rpm
|
sudo yum install -y dist/onionshare-*.rpm
|
||||||
|
|
||||||
## Mac OS X
|
## Mac OS X
|
||||||
@ -30,4 +31,6 @@ Then use pip to install py2app:
|
|||||||
|
|
||||||
sudo pip install py2app
|
sudo pip install py2app
|
||||||
|
|
||||||
|
## Windows
|
||||||
|
|
||||||
|
*Note: Haven't started figuring this out yet.*
|
||||||
|
Loading…
Reference in New Issue
Block a user