Results 1 to 1 of 1

Thread: PI24: Replaced dump1090 v1.14 by pre-build package of dump1090 v1.15

  1. #1
    Captain abcd567's Avatar
    Join Date
    Sep 2013
    Location
    Toronto CYYZ
    Posts
    2,648

    PI24: Replaced dump1090 v1.14 by pre-build package of dump1090 v1.15

    This is how I replaced PI24's integral dump1090-mutability v1.14 by pre-compiled package of dump1090-mutability v1.15

    PREPARATIONS
    (1) Compiled .deb package of dump1090-mutability ver 1.15 dev from source code on my RPi
    (Raspberry Pi 2 Model B ARMv7 / Raspbian Stretch)

    (2) Uploaded compiled package to GitHub, and made it "Public" i.e. it can be downloaded and used by anybody.

    REPLACEMENT
    Now that I have made the ver 1.15 pre-built package publicly available on GitHub, I replaced PI24's dump1090-mutability ver 1.14 by ver 1.15~dev using following steps:

    STEP-1:
    Opened file install_dump1090.sh to modify
    Code:
    sudo nano /usr/lib/fr24/install_dump1090.sh
    Commented-out three lines (red) for ver 1.14, and added 3 lines (green) for ver 1.15, as shown below.

    NOTE: To comment-out a line of code, you have to add # at start of the line, as I have done in the red lines below.

    Code:
        # Download and install dump1090-mutability
    #    wget -O /tmp/dump1090-mutability_1.14_armhf.deb https://github.com/mutability/dump1090/releases/download/v1.14/dump1090-mutability_1.14_armhf.deb
    #    dpkg -i /tmp/dump1090-mutability_1.14_armhf.deb
    #    rm -f /tmp/dump1090-mutability_1.14_armhf.deb
    
    
        wget -O /tmp/dump1090-mutability_1.15_dev_armhf.deb https://github.com/abcd567a/dump1090/releases/download/v1/dump1090-mutability_1.15_dev_armhf.deb
        dpkg -i /tmp/dump1090-mutability_1.15_dev_armhf.deb
        rm -f /tmp/dump1090-mutability_1.15_dev_armhf.deb

    STEP-2:
    Purged ver 1.14
    Code:
    sudo dpkg --purge dump1090-mutability

    STEP-3:
    Run modified file install_dump1090.sh to install ver 1.15
    Code:
    cd /usr/lib/fr24/
    
    sudo ./install_dump1090.sh
    
    sudo service lighttpd force-reload
    
    sudo systemctl restart fr24feed

    STEP-4:
    Checked
    Code:
    apt-cache policy dump1090-mutability
    dump1090-mutability:
      Installed: 1.15~dev
      Candidate: 1.15~dev
      Version table:
     *** 1.15~dev 100
            100 /var/lib/dpkg/status
    Code:
    fr24feed-status
    [ ok ] FR24 Feeder/Decoder Process: running.
    [ ok ] FR24 Stats Timestamp: 2019-06-05 17:57:04.
    [ ok ] FR24 Link: connected [UDP].
    [ ok ] FR24 Radar: T-CYYZ50.
    [ ok ] FR24 Tracked AC: 23.
    [ ok ] Receiver: connected (7183 MSGS/0 SYNC).
    [ ok ] FR24 MLAT: ok [UDP].
    [ ok ] FR24 MLAT AC seen: 22.

    STEP-5:
    Checked Map

    In browser typed
    IP-of-PI/dump1090/

    The ver 1.14 map continued to display (from browser cache).
    To remove it and display map of ver 1.15~dev, did following:
    1. Cleared browser cache (on Windows by pressing Ctrl+Shift+Delete keys together)
    2. Reloaded browser (on Windows by pressing Ctrl+F5 keys together)
    Last edited by abcd567; 2019-06-11 at 13:44.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •