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