|
1 | 1 | # Installation Instructions |
2 | 2 |
|
3 | | -## Installation and Use with pip |
| 3 | +## Installation and Use with pipx |
| 4 | +For installation it is recommended to use pipx instead of pip. Most installations nowadays require the usage of a virtual environment when using pip, pipx automatically arranges this for you. |
4 | 5 |
|
5 | | -Copy the link of the tgz from latest relaese and install it with pip install. e.g.: |
| 6 | +Installing the latest release with pipx install. e.g.: |
6 | 7 |
|
7 | | - pip3 install https://github.com/NanoVNA-Saver/nanovna-saver/archive/refs/tags/v0.5.5.tar.gz |
| 8 | + pipx install git+https://github.com/NanoVNA-Saver/nanovna-saver |
8 | 9 |
|
9 | | -Once completed run with the following command: `NanoVNASaver` |
10 | | - |
11 | | -The instructions omit the easiest way to get the program running under Linux - no installation - just start it in the git directory. This makes it difficult for pure users, e.g. hams, who therefore even try to run the Windows exe version under Wine. |
12 | | - |
13 | | -Proposal - Add these sections below to the top README.md, e.g. between "Detailed installation instructions" and "Using the software" (Please review and add e.g. more necessary debian packages): |
14 | | - |
15 | | -## Running on Linux without installation |
16 | | - |
17 | | -The program simply works from the source directory without having to install it. |
18 | | - |
19 | | -Simple step-by-step instruction, open a terminal window and type: |
| 10 | +Or if you want to install a specific version use: |
20 | 11 |
|
21 | | - sudo apt install git python3-pyqt5 python3-numpy python3-scipy |
22 | | - git clone https://github.com/NanoVNA-Saver/nanovna-saver |
23 | | - cd nanovna-saver |
| 12 | + pipx install git+https://github.com/NanoVNA-Saver/[email protected] |
24 | 13 |
|
25 | | -Perhaps your system needs a few additional python modules: |
26 | | - |
27 | | -- Run with `python nanovna-saver.py` and look at the response of (e.g. missing modules). |
28 | | -- Install the missing modules, preferably via `sudo apt install ...` |
29 | | - |
30 | | -until `nanovna-saver.py` starts up. |
31 | | - |
32 | | -Now the program can be used from the `nanovna-saver` directory. |
| 14 | +Once completed run with the following command: `NanoVNASaver` |
33 | 15 |
|
34 | 16 | ## Installing via DEB for Debian (and Ubuntu) |
| 17 | +🚧 TODO: this is currently broken |
35 | 18 |
|
36 | 19 | The installation has the benefit that it allows you to run the program from anywhere, because the |
37 | 20 | main program is found via the regular `$PATH` and the modules are located in the Python module path. |
|
55 | 38 | sudo apt install ./nanovnasaver....deb |
56 | 39 |
|
57 | 40 | ### Installing via RPM (experimental) |
| 41 | +🚧 TODO: this is currently broken |
58 | 42 |
|
59 | 43 | `make rpm` builds an (untested) rpm package that can be installed on your system the usual way. |
60 | 44 |
|
61 | | -## Ubuntu 20.04 / 22.04 / 24.04 |
62 | | - |
63 | | -1. Install python3 and pip |
64 | | - |
65 | | - sudo apt install python3 python3-pip libxcb-cursor-dev |
66 | | - python3 -m venv ~/.venv_nano |
67 | | - . ~/.venv_nano/bin/activate |
68 | | - pip install -U pip |
69 | | - |
70 | | -2. Clone repo and cd into the directory |
71 | | - |
72 | | - git clone https://github.com/NanoVNA-Saver/nanovna-saver |
73 | | - cd nanovna-saver |
74 | | - |
75 | | -3. Update pip and run the pip installation |
76 | | - |
77 | | - python3 -m pip install . |
78 | | - |
79 | | - (You may need to install the additional packages python3-distutils, |
80 | | - python3-setuptools and python3-wheel for this command to work on some |
81 | | - distributions.) |
82 | | - |
83 | | -4. Once completed run with the following command |
84 | | - |
85 | | - . ~/.venv_nano/bin/activate |
86 | | - python3 nanovna-saver.py |
87 | | - |
88 | 45 | ## Automated MacOS Build Script |
89 | 46 |
|
90 | 47 | 1. If needed, install dependencies |
@@ -137,6 +94,6 @@ Via a MacPorts distribution maintained by @ra1nb0w. |
137 | 94 |
|
138 | 95 | python3 -m pip install . |
139 | 96 |
|
140 | | -6. Run nanovna-saver in the nanovna-saver folder by: |
| 97 | +6. Run nanovna-saver folder by: |
141 | 98 |
|
142 | | - python3 nanovna-saver.py |
| 99 | + NanoVNASaver |
0 commit comments