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-13 15:13:32 -04:00
Note that python-stem appears in Debian wheezy and newer (so by extension Tails 1.1 and newer), and it appears in Ubuntu 13.10 and newer. Older versions of Debian and Ubuntu aren't supported.
2014-06-20 00:01:03 -04:00
sudo apt-get install -y build-essential fakeroot python-all python-stdeb python-flask python-stem python-qt4
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
2014-06-20 00:01:03 -04:00
sudo yum install -y rpm-build python-flask python-stem pyqt4
2014-06-10 14:33:34 -04:00
./build_rpm.sh
sudo yum install -y dist/onionshare-*.rpm
2014-06-10 13:31:19 -04:00
## Mac OS X
2014-06-11 00:10:37 -04:00
*Note: This is a work-in-progress. The OnionShare GUI doesn't yet work in Mac OS X. See https://github.com/micahflee/onionshare/issues/43 for progress.*
2014-06-10 14:33:34 -04:00
2014-06-11 00:10:37 -04:00
Get a copy of the source code:
2014-06-10 13:31:19 -04:00
2014-06-11 00:10:37 -04:00
git clone https://github.com/micahflee/onionshare.git
cd onionshare
2014-06-10 13:31:19 -04:00
2014-06-11 00:10:37 -04:00
Install py2app (if you don't have pip installed, you can `sudo easy_install pip` ):
2014-06-10 13:31:19 -04:00
sudo pip install py2app
2014-06-11 00:10:37 -04:00
Then build the .app:
python setup.py py2app
Now you'll see `dist/OnionShare.app` with a nice icon. However, it won't run yet.
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