]> sigrok.org Git - pulseview.git/blame - manual/installation.txt
manual/generate: Always generate a PDF manual as well by default.
[pulseview.git] / manual / installation.txt
CommitLineData
1894027b
SA
1[[installation,Installation]]
2== Installation
3
4PulseView can be run on Linux, Windows, Mac OS X or Android. For some platforms, we provide binary
5packages, for others we provide installers and for others we provide AppImage containers that
6you can run without the need to install anything. Check the https://sigrok.org/wiki/Downloads[sigrok download page]
7to see which option is available for your platform.
8
9=== Linux
10
11On Linux, the usual way to install PulseView is to install the packages provided by your distro's
12package manager. However, sometimes only outdated packages are made available to you. In that case,
13you have two options:
14
15. Use the AppImage which contains all required files and needs no installation:
16+
17--
18[listing, subs="normal"]
19wget https://sigrok.org/jenkins/job/sigrok-native-appimage/platform=native-x86_64-appimage/lastSuccessfulBuild/artifact/cross-compile/appimage/out/PulseView-NIGHTLY-x86_64.AppImage
20chmod u+x PulseView-NIGHTLY-x86_64.AppImage
21./PulseView-NIGHTLY-x86_64.AppImage
22
23Please be aware, however, that the AppImages are built every night, so they always contain
24the latest development changes. While we do try to keep the code base in a working state, it is sometimes
25unavoidable to introduce bugs that show up in the nightly builds. If you encounter something that is
26odd to you, please download and install the latest nightly and check if the issue still exists. If it
27does, feel free to https://sigrok.org/bugzilla/[file a bug].
28
29No system files are changed, so if you decide that you no longer want to use PulseView, simply
30delete the AppImage. If you also want the stored settings gone, delete ~/.config/sigrok as well.
31--
32
33. Uninstall any sigrok packages from your package manager and build PulseView from source:
34+
35--
36[listing, subs="normal"]
37_[install dependencies https://sigrok.org/wiki/Linux#Building[as listed on the wiki]]_
38mkdir ~/sr
39cd ~/sr
40wget https://sigrok.org/gitweb/?p=sigrok-util.git;a=blob_plain;f=cross-compile/linux/sigrok-cross-linux
41chmod u+x sigrok-cross-linux
42./sigrok-cross-linux
43export LD_LIBRARY_PATH=~/sr
44build/bin/pulseview
45
46No system files are changed, so if you decide that you no longer want to use PulseView, simply
47delete the ~/sr directory. If you also want the stored settings gone, delete ~/.config/sigrok
48as well.
49--
50
51[WARNING]
52--
53If you don't install the PulseView distro packages (as is the case when using the AppImage or building
54from source), PulseView will not be able to access USB and serial port devices unless it's run as root.
55Since programs shouldn't be run as root unless absolutely necessary, we provide udev configuration files
56that allows PulseView access to those devices without being root.
57
58Here's how you install them:
59[listing, subs="normal"]
60sudo bash
61cd /etc/udev/rules.d/
62wget https://sigrok.org/gitweb/?p=libsigrok.git;a=blob_plain;f=contrib/60-libsigrok.rules
63wget https://sigrok.org/gitweb/?p=libsigrok.git;a=blob_plain;f=contrib/61-libsigrok-plugdev.rules
64wget https://sigrok.org/gitweb/?p=libsigrok.git;a=blob_plain;f=contrib/61-libsigrok-uaccess.rules
65sudo udevadm control --reload-rules
66--
67
68=== Windows
69
70We offer installers for PulseView that contain everything you need to get started. Simply download
71them from the https://sigrok.org/wiki/Downloads[sigrok download page] and run them as any other Windows
72installer.
73Please be aware, however, that the Windows installers are built every night, so they always contain
74the latest development changes. While we do try to keep the code base in a working state, it is sometimes
75unavoidable to introduce bugs that show up in the nightly builds. If you encounter something that is
76odd to you, please download and install the latest nightly and check if the issue still exists. If it
77does, feel free to https://sigrok.org/bugzilla/[file a bug].
78
79After installation, you will find a program called Zadig in the start menu. By default, certain devices
80recognized by Windows will have drivers installed for them that PulseView cannot use. The purpose of
81Zadig is to let you change the driver Windows uses for a particular device - for most devices you'll need
82to choose WinUSB to use them with PulseView or the original proprietary Windows driver to use it with whatever
83other software you access the device with. More details are available https://sigrok.org/wiki/Windows[in the wiki].
84
85In case your device doesn't show up in PulseView and you can't find it with a scan either (see next
86chapter), check with Zadig whether the correct driver is assigned for the device.
87
88=== Mac OS X
89
90(Some Mac user needs to fill this chapter)
91
92