Skip to content

Commit d614865

Browse files
committed
docbook: fix infos and commands.
- Use apt instead of aptitude. - Update example file name versions. - Remove leading $ from command lines. Change-Id: I888f6612615ac252c0c0b3f867bac36610ae3e51 Reviewed-on: https://code.wireshark.org/review/34110 Reviewed-by: Peter Wu <[email protected]> Petri-Dish: Dario Lombardo <[email protected]> Tested-by: Petri Dish Buildbot Reviewed-by: Dario Lombardo <[email protected]>
1 parent a0cdb06 commit d614865

File tree

1 file changed

+12
-21
lines changed

1 file changed

+12
-21
lines changed

docbook/wsug_src/WSUG_chapter_build_install.adoc

Lines changed: 12 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -274,27 +274,27 @@ or Linux:
274274
+
275275
--
276276
----
277-
$ tar xaf wireshark-2.9.0.tar.xz
277+
tar xJf wireshark-2.9.0.tar.xz
278278
----
279279
In other cases you will have to use the following commands:
280280
----
281-
$ xz -d wireshark-2.9.0.tar.xz
282-
$ tar xf wireshark-2.9.0.tar
281+
xz -d wireshark-2.9.0.tar.xz
282+
tar xf wireshark-2.9.0.tar
283283
----
284284
--
285285

286286
. Create a directory to build Wireshark in and change to it.
287287
+
288288
----
289-
$ mkdir build
290-
$ cd build
289+
mkdir build
290+
cd build
291291
----
292292

293293
. Configure your source so it will build correctly for your version of UNIX. You
294294
can do this with the following command:
295295
+
296296
----
297-
$ cmake ../wireshark-2.9.0
297+
cmake ../wireshark-2.9.0
298298
----
299299
+
300300
If this step fails you will have to look into the logs and rectify the problems,
@@ -304,7 +304,7 @@ Troubleshooting hints are provided in <<ChBuildInstallUnixTrouble>>.
304304
. Build the sources.
305305
+
306306
----
307-
$ make
307+
make
308308
----
309309
+
310310
Once you have build Wireshark with `make` above, you should be able to run it
@@ -313,7 +313,7 @@ by entering `run/wireshark`.
313313
. Install the software in its final destination.
314314
+
315315
----
316-
$ make install
316+
make install
317317
----
318318

319319
Once you have installed Wireshark with `make install` above, you should be able
@@ -362,19 +362,10 @@ dependencies first, and then retry the step above.
362362
If you can just install from the repository then use
363363

364364
----
365-
$ aptitude install wireshark
365+
apt install wireshark
366366
----
367367

368-
Aptitude should take care of all of the dependency issues for you.
369-
370-
Use the following command to install downloaded Wireshark debs under Debian:
371-
372-
----
373-
$ dpkg -i wireshark-common_2.0.5.0-1_i386.deb wireshark_wireshark-2.0.5.0-1_i386.deb
374-
----
375-
376-
dpkg doesn’t take care of all dependencies, but reports what’s missing.
377-
368+
Apt should take care of all of the dependency issues for you.
378369

379370
[NOTE]
380371
.Capturing requires privileges
@@ -391,15 +382,15 @@ Use the following command to install Wireshark under Gentoo Linux with all of
391382
the extra features:
392383

393384
----
394-
$ USE="c-ares ipv6 snmp ssl kerberos threads selinux" emerge wireshark
385+
USE="c-ares ipv6 snmp ssl kerberos threads selinux" emerge wireshark
395386
----
396387

397388
==== Installing from packages under FreeBSD
398389

399390
Use the following command to install Wireshark under FreeBSD:
400391

401392
----
402-
$ pkg_add -r wireshark
393+
pkg_add -r wireshark
403394
----
404395

405396
pkg_add should take care of all of the dependency issues for you.

0 commit comments

Comments
 (0)