File: Packages.md

package info (click to toggle)
termshark 2.4.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,424 kB
  • sloc: sh: 98; makefile: 10
file content (108 lines) | stat: -rw-r--r-- 2,585 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# Install Packages

Here's how to install termshark on various OSes and with various package managers.

## Arch Linux

- [termshark](https://archlinux.org/packages/community/x86_64/termshark/): The
   official package.
- [termshark-git](https://aur.archlinux.org/packages/termshark-git): Compiles
  from source, made by [Thann](https://github.com/Thann)

## Debian

Termshark is only available in unstable/sid at the moment.

```bash
apt update
apt install termshark
```

## FreeBSD

Thanks to [Ryan Steinmetz](https://github.com/zi0r)

Termshark is in the FreeBSD ports tree! To install the package, run:

`pkg install termshark`

To build/install the port, run:

`cd /usr/ports/net/termshark/ && make install clean`

## Homebrew

```bash
brew update
brew install termshark
```

## MacPorts

```bash
sudo port selfupdate
sudo port install termshark
```

## Kali Linux

```bash
apt update
apt install termshark
```

## NixOS

Thanks to [Patrick Winter](https://github.com/winpat)

```bash
nix-channel --add https://nixos.org/channels/nixpkgs-unstable
nix-channel --update
nix-env -iA nixpkgs.termshark
```

## SnapCraft

Thanks to [mharjac](https://github.com/mharjac)

Termshark can be easily installed on almost all major distros just by issuing:

```bash
snap install termshark
```

Note there is a big caveat with Snap and the architecture of Wireshark that prevents termshark being able to read network interfaces. If installed via Snap, termshark will only be able to work with pcap files. See [this explanation](https://forum.snapcraft.io/t/wireshark-and-setcap/9629/6).

## Termux (Android)

```bash
pkg install root-repo
pkg install termshark
```

Note that termshark does not require a rooted phone to inspect a pcap, but it does depend on tshark which is itself in Termux's root-repo for programs that do work best on a rooted phone.

If you would like to use termshark's copy-mode to copy sections of packets to your Android clipboard, you will also need [Termux:API](https://play.google.com/store/apps/details?id=com.termux.api&hl=en_US). Install from the Play Store, then from termux, type:

```bash
pkg install termux-api
```

![device art](/../gh-pages/images/device art.png?raw=true)

## Ubuntu

If you are running Ubuntu 19.10 (eoan) or higher, termshark can be installed like this:

```bash
sudo apt install termshark
```

For Ubuntu < 19.10, you can use the PPA _nicolais/termshark_ to install termshark:

```bash
sudo add-apt-repository --update ppa:nicolais/termshark
sudo apt install termshark
```

Thanks to [Nicolai Søberg](https://github.com/NicolaiSoeborg)