mvt/docs/install.md

66 lines
2.5 KiB
Markdown
Raw Permalink Normal View History

2021-07-16 06:05:01 +00:00
# Installation
2021-08-20 06:58:08 +00:00
Before proceeding, please note that MVT requires Python 3.6+ to run. While it should be available on most operating systems, please make sure of that before proceeding.
2021-07-16 06:05:01 +00:00
## Dependencies on Linux
First install some basic dependencies that will be necessary to build all required tools:
```bash
sudo apt install python3 python3-pip libusb-1.0-0 sqlite3
2021-07-16 06:05:01 +00:00
```
*libusb-1.0-0* is not required if you intend to only use `mvt-ios` and not `mvt-android`.
2021-08-04 17:14:06 +00:00
When working with Android devices you should additionally install [Android SDK Platform Tools](https://developer.android.com/studio/releases/platform-tools). If you prefer to install a package made available by your distribution of choice, please make sure the version is recent to ensure compatibility with modern Android devices.
2021-08-20 06:58:08 +00:00
## Dependencies on macOS
2021-07-16 06:05:01 +00:00
2021-08-20 06:58:08 +00:00
Running MVT on macOS requires Xcode and [homebrew](https://brew.sh) to be installed.
2021-07-16 06:05:01 +00:00
In order to install dependencies use:
```bash
brew install python3 libusb sqlite3
2021-07-16 06:05:01 +00:00
```
*libusb* is not required if you intend to only use `mvt-ios` and not `mvt-android`.
2021-08-20 06:58:08 +00:00
When working with Android devices you should additionally install [Android SDK Platform Tools](https://developer.android.com/studio/releases/platform-tools):
2021-08-04 17:14:06 +00:00
```bash
brew install --cask android-platform-tools
```
Or by downloading the [official binary releases](https://developer.android.com/studio/releases/platform-tools).
2021-08-03 08:24:38 +00:00
## MVT on Windows
2021-08-03 08:28:28 +00:00
MVT does not currently officially support running natively on Windows. While most functionality should work out of the box, there are known issues especially with `mvt-android`.
2021-08-03 08:24:38 +00:00
It is recommended to try installing and running MVT from [Windows Subsystem Linux (WSL)](https://docs.microsoft.com/en-us/windows/wsl/about) and follow Linux installation instructions for your distribution of choice.
2021-07-16 06:05:01 +00:00
## Installing MVT
2023-10-04 21:43:45 +00:00
If you haven't done so, you can add this to your `.bashrc` or `.zshrc` file in order to add locally installed PyPI binaries to your `$PATH`:
2021-07-16 06:05:01 +00:00
```bash
export PATH=$PATH:~/.local/bin
```
2023-10-04 21:43:45 +00:00
Then you can install MVT directly from [PyPI](https://pypi.org/project/mvt/)
2021-07-18 14:33:34 +00:00
```bash
2021-07-31 17:48:19 +00:00
pip3 install mvt
2021-07-18 14:33:34 +00:00
```
If you want to have the latest features in development, you can install MVT directly from the source code. If you installed MVT previously from pypi, you should first uninstall it using `pip3 uninstall mvt` and then install from the source code:
2021-07-16 06:05:01 +00:00
```bash
git clone https://github.com/mvt-project/mvt.git
cd mvt
pip3 install .
```
You now should have the `mvt-ios` and `mvt-android` utilities installed.