2014-06-10 13:31:19 -04:00
|
|
|
# Building OnionShare
|
|
|
|
|
2014-06-10 14:47:54 -04:00
|
|
|
## GNU/Linux
|
|
|
|
|
|
|
|
Start by getting a copy of the source code:
|
2014-06-10 14:33:34 -04:00
|
|
|
|
|
|
|
git clone https://github.com/micahflee/onionshare.git
|
|
|
|
cd onionshare
|
|
|
|
|
2014-06-10 14:47:54 -04:00
|
|
|
*For .deb-based distros (like Debian, Ubuntu, Linux Mint):*
|
2014-06-10 14:33:34 -04:00
|
|
|
|
2014-06-10 17:41:13 -04:00
|
|
|
sudo apt-get install -y build-essential fakeroot python-all python-stdeb python-flask python-stem python-webkit
|
2014-06-10 14:47:54 -04:00
|
|
|
./build_deb.sh
|
|
|
|
sudo dpkg -i deb_dist/onionshare_*.deb
|
2014-06-10 14:33:34 -04:00
|
|
|
|
2014-06-10 14:47:54 -04:00
|
|
|
*For .rpm-based distros (Red Hat, Fedora, CentOS):*
|
2014-06-10 14:33:34 -04:00
|
|
|
|
|
|
|
sudo yum install -y rpm-build python-flask python-stem pywebkitgtk
|
|
|
|
./build_rpm.sh
|
|
|
|
sudo yum install -y dist/onionshare-*.rpm
|
|
|
|
|
2014-06-10 13:31:19 -04:00
|
|
|
## Mac OS X
|
|
|
|
|
2014-06-10 14:33:34 -04:00
|
|
|
*Note: These instructions are a work-in-progress. The OnionShare GUI doesn't yet work in Mac OS X.*
|
|
|
|
|
2014-06-10 13:31:19 -04:00
|
|
|
If you don't already have pip installed, install it like this:
|
|
|
|
|
|
|
|
sudo easy_install pip
|
|
|
|
|
|
|
|
Then use pip to install py2app:
|
|
|
|
|
|
|
|
sudo pip install py2app
|
|
|
|
|
2014-06-10 14:47:54 -04:00
|
|
|
## Windows
|
2014-06-10 13:31:19 -04:00
|
|
|
|
2014-06-10 14:47:54 -04:00
|
|
|
*Note: Haven't started figuring this out yet.*
|
2014-06-10 17:41:13 -04:00
|
|
|
|