Net Activity View: how to install it on Mint 18.x

Write tutorials here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Please don't add support questions to tutorials,start your own thread in the appropriate sub-forum instead. Before you post please read this
Post Reply
User avatar
karlchen
Level 19
Level 19
Posts: 9071
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Net Activity View: how to install it on Mint 18.x

Post by karlchen » Sun Apr 08, 2018 12:39 pm

Application: Net Activity View
Homepage: http://netactview.sourceforge.net/index.html
Download:
Ubuntu packages (Ubuntu 10.04 to 14.04 LTS)
32bit PC (x86): netactview_0.6.4-1_i386.deb
64bit PC (amd64): netactview_0.6.4-1_amd64.deb
Preface:
Users of Mint 17.x, who want to install Net Activity View (netactview), can simply download the .deb package which matches their system architecture, right click on the downloaded file in their file-manager and select "open with gDebi" and install the application.
Only users of Mint 18.x, who want to install Net Activity View (netactview), will have to correct the name of a shared library package, which netactview depends upon, to match the changed package name on Mint 18.x. Only afterwards, gDebi will be willing and able to install netactview on Mint 18.x as well.

Step by step instruction for Mint 18.x 32-bit:
  1. Open a terminal window and prepare the needed directory structure

    Code: Select all

    cd ~/Downloads
    mkdir Netactview
    mkdir Netactview/new
    mkdir Netactview/org
    mkdir Netactview/work
  2. Save download file netactview_0.6.4-1_i386.deb or netactview_0.6.4-1_amd64.deb to ~/Downloads/Netactview/org
  3. Extract the content of the original .deb file

    Code: Select all

    cd ~/Downloads/Netactview/work
    dpkg-deb -v -R ../org/netactview_0.6.4-1_i386.deb .
  4. Edit file control

    Code: Select all

    cd ~/Downloads/Netactview/work/DEBIAN
    xed control
    # Inside xed navigate to line starting with "Depends:" (without the double quotes)
    # search for: "libgtop2-7 (>= 2.20.0)" - replace by: "libgtop-2.0-10 (>= 2.20.0)"
    #             without the double quotes
    # save & quit xed
  5. Give directories and files back to root

    Code: Select all

    cd ~/Downloads/Netactview/work
    sudo chown -R root:root DEBIAN/ usr/
    Note:
    sudo will prompt for your password. While you type it there will be no visual feedback. Type it and press the enter key.
  6. Build the new .deb file

    Code: Select all

    cd ~/Downloads/Netactview
    sudo dpkg-deb --build work new/netactview_0.6.4-1_i386.deb
  7. cleanup work directory

    Code: Select all

    cd ~/Downloads/Netactview
    sudo rm -r work/*
  8. Install Net Activity View
    Inside your graphical filemanager navigate to ~/Downloads/Netactview/new, right click
  9. netactview_0.6.4-1_i386.deb and select "open in gdebi" and install. No error messages must occur.
  10. Invocation:
    Net Activity View can be invoked by executing the command netactview.
    Also there should be a launcher labelled "Net Activitiy Viewer" inside the Mnint menu > Internet, which you can click on.
Step by step instruction for Mint 18.x 64-bit:
Same steps as above. Just replace the filename netactview_0.6.4-1_i386.deb by netactview_0.6.4-1_amd64.deb wherever appropriate.

Epilogue:
NetActView has last been updated in 2015. This raises concerns that development has stopped.
The NetActView source code is available on its homepage as well. In case someone is more comfortable with compiling and linking from source code, instead of installing a .deb package from outside the official software repositories, please, go ahead.

Good luck.
Image
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

User avatar
administrollaattori
Level 14
Level 14
Posts: 5003
Joined: Tue Sep 03, 2013 4:51 am
Location: Finland
Contact:

Re: Net Activity View: how to install it on Mint 18.x

Post by administrollaattori » Mon Apr 09, 2018 1:54 pm

In this Mint 18.1 computer I had to make a symbolic link from libgtop-2.0.so.10 to libgtop-2.0.so.7 so that Netactview worked.

Code: Select all

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
Actually I made the installation package different way:
1. I extracted the original deb-package
2. I edited DEBIAN/control file as guided
3. I made a fixed package for Mint 18

Code: Select all

sudo chown root:root -R netactview_0.6.4-1_amd64
sudo dpkg -b netactview_0.6.4-1_amd64 netactview_0.6.4-1_amd64-fixed.deb
PS. An excellent tutorial (original). :D

Post Reply

Return to “Tutorials”