]> git.lizzy.rs Git - torbrowser-launcher.git/blob - BUILD.md
Update build instructions to make python-gpg optional
[torbrowser-launcher.git] / BUILD.md
1 # Building Tor Browser Launcher
2
3 First, clone the repository:
4
5 ```sh
6 git clone https://github.com/micahflee/torbrowser-launcher.git
7 cd torbrowser-launcher
8 ```
9
10 Then install dependencies, build a package, and install:
11
12 ### Debian, Ubuntu, Linux Mint, etc.
13
14 ```sh
15 sudo apt-get install build-essential dh-python python-all python-stdeb python-gtk2 python-twisted python-lzma python-txsocksx gnupg fakeroot xz-utils tor
16 # If you're running an OS that has python-gpg like Ubuntu 17.04+ or Debian 9+, install that too
17 sudo apt install python-gpg
18 ./build_deb.sh
19 sudo dpkg -i deb_dist/torbrowser-launcher_*.deb
20 ```
21
22 Optionally you can install `python-pygame` if you want to play a modem sound while Tor Browser is launching.
23
24 ### Red Hat, Fedora, CentOS, etc.
25
26 ```sh
27 sudo dnf install python-psutil python-twisted gnupg fakeroot rpm-build python-txsocksx tor pygtk2 python2-gpg
28 ./build_rpm.sh
29 sudo yum install dist/torbrowser-launcher-*.rpm
30 ```
31
32 Optionally you can install `pygame` if you want to play a modem sound while Tor Browser is launching.
33
34 ### Run without installing
35
36 Install the dependencies: sadly, not all of them are available in virtualenv, so you will need to install (some of) them system-wide.
37 Then, you can run: `TBL_SHARE=share ./torbrowser-launcher`