Net Activity Viewer for Mint 18 and Mint 19

Net Activity Viewer for Mint 18 and Mint 19 and other Ubuntu based systems and in Debian probably too

A good program, but not upgraded for years, so if wanting to work with newer Ubuntu-based systems, it must make some changes.

1. Download and extract netactview_0.6.4-1_amd64.deb

2. Go into extracted DEBIAN folder and edit control file as

Package: netactview
Version: 0.6.4-1
Architecture: amd64
Maintainer: Mihai Varzaru
Installed-Size: 320
Depends: libatk1.0-0 (>= 1.29.3), libbonobo2-0 (>= 2.15.0), libc6 (>= 2.7), libcairo2 (>= 1.2.4), libfontconfig1 (>= 2.8.0), libfreetype6 (>= 2.2.1), libgconf2-4 (>= 2.27.0), libglade2-0 (>= 1:2.6.1), libglib2.0-0 (>= 2.16.0), libgnome2-0 (>= 2.17.3), libgnomevfs2-0 (>= 1:2.17.90), libgtk2.0-0 (>= 2.16.0), libgtop2-common, liborbit2 (>= 1:2.14.10), libpango1.0-0 (>= 1.14.0), libpopt0 (>= 1.15), libxml2 (>= 2.6.27)
Section: net
Priority: optional
Homepage: http://netactview.sourceforge.net
Description: Net Activity Viewer
Netactview is a graphical network connections viewer similar in
functionality with netstat.
It includes features like process information, host name retrieval,
automatic refresh, sorting, filtering and csv save. It has a fully
featured GTK 2 graphical interface.
fixed 16.3.2020 for working with Mint 18, 19 and Ubuntu 16.04 and 18.04
Added postinst for making libgtop working

3. Because libgtop-2.0.so.7 is has not been available for years, make a postinst file, whose contents is

#!/bin/bash -e
ln -s /usr/lib/x86_64-linux-gnu/libgtop-2.0.so.11.0.0 /usr/lib/x86_64-linux-gnu/libgtop-2.0.so.7

… save and make executable

chmod +x postinst

4. Make a MD5SUM if you want, but it is not compulsory

5. Rename the working folder and change ownership to root

sudo chown -R root:root netactview_0.6.4-1_amd64-fixed-16.3.2020

6. Make an installation package

sudo dpkg -b netactview_0.6.4-1_amd64-fixed-16.3.2020 netactview_0.6.4-1_amd64-fixed-16.3.2020.deb

7. Install program

————————————————————————–

EDIT 18.3.2020: If the program does not launch in Mint 18, the reason is older libgtop version. The fix is to unlink newer libgtop link and make a new link.

sudo unlink /usr/lib/x86_64-linux-gnu/libgtop-2.0.so.7
sudo ln -s /usr/lib/x86_64-linux-gnu/libgtop-2.0.so.10 /usr/lib/x86_64-linux-gnu/libgtop-2.0.so.7

—————————————————————————-