How To Install golang-github-adrianmo-go-nmea-dev on Debian 12
Introduction
In this tutorial we learn how to install golang-github-adrianmo-go-nmea-dev
on Debian 12.
What is golang-github-adrianmo-go-nmea-dev
golang-github-adrianmo-go-nmea-dev is:
Go library for the National Marine Electronics Association 0183 protocol.
NMEA 0183 is a combined electrical and data specification for communication between marine electronics such as echo sounder, sonars, anemometer, gyrocompass, autopilot, GPS receivers and many other types of instruments.
Features include:
- Parse individual NMEA 0183 sentences.
- Register custom parser for unsupported sentence types.
- Support for sentences with NMEA 4.10 “TAG Blocks”.
Supported sentences:
- Sentence type | Description
- AAM | Waypoint BArrival Alarm.
- ALA | System Faults and Alarms.
- APB | Autopilot Sentence “B”.
- BEC | Bearing and distance to waypoint (dead reckoning).
- BOD | Bearing waypoint to waypoint (origin to destination).
- BWC | Bearing and distance to waypoint (great circle).
- BWR | Bearing and distance to waypoint (Rhumb Line).
- BWW | Bearing from destination waypoint to origin waypoint.
- DBK | Depth Below Keel (obsolete, use DPT instead).
- DBS | Depth Below Surface (obsolete, use DPT instead).
- DBT | Depth below transducer.
- DOR | Door Status Detection.
- DPT | Depth of Water.
- DSC | Digital Selective Calling Information.
- DSE | Expanded digital selective calling.
- DTM | Datum Reference.
- EVE | General Event Message.
- FIR | Fire Detection event with time and location.
- GGA | GPS Positioning System Fix Data.
- GLL | Geographic Position, Latitude / Longitude and time.
- GNS | Combined GPS fix for GPS, Glonass, Galileo, and BeiDou.
- GSA | GPS DOP and active satellites.
- GSV | GPS Satellites in view.
- HDG | Heading, Deviation & Variation.
- HDM | Heading - Magnetic.
- HDT | Actual vessel heading in degrees True.
- HSC | Heading steering command.
- MDA | Meteorological Composite.
- MTA | Air Temperature (obsolete, use XDR instead).
- MTW | Mean Temperature of Water.
- MWD | Wind Direction and Speed.
- MWV | Wind Speed and Angle.
- OSD | Own Ship Data.
- RMB | Recommended Minimum Navigation Information.
- RMC | Recommended Minimum Specific GPS/Transit data.
- ROT | Rate of turn.
- RPM | Engine or Shaft revolutions and pitch.
- RSA | Rudder Sensor Angle.
- RSD | RADAR System Data.
- RTE | Route.
- THS | Actual vessel heading in degrees True and status.
- TLL | Target latitude and longitude.
- TTM | Tracked Target Message.
- TXT | Sentence is for the transmission of text messages.
- VBW | Dual Ground/Water Speed.
- VDM/VDO | Encapsulated binary payload (commonly used with AIS data).
- VDR | Set and Drift.
- VHW | Water Speed and Heading.
- VLW | Distance Traveled through Water.
- VPW | Speed Measured Parallel to Wind.
- VTG | Track Made Good and Ground Speed.
- VWR | Relative Wind Speed and Angle.
- VWT | True Wind Speed and Angle.
- WPL | Waypoint location.
- XDR | Transducer Measurement.
- ZDA | Date & time data.
- Proprietary sentence type | Description
- PGRME | Estimated Position Error (Garmin proprietary sentence).
- PHTRO | Vessel pitch and roll (Xsens IMU/VRU/AHRS).
- PMTK | Messages for setting and reading commands for MediaTek gps modules.
- PRDID | Vessel pitch, roll and heading (Xsens IMU/VRU/AHRS).
- PSKPDPT | Depth of Water for multiple transducer installation.
- PSONCMS | Quaternion, acceleration, rate of turn, magnetic field, sensor temperature (Xsens IMU/VRU/AHRS).
There are three methods to install golang-github-adrianmo-go-nmea-dev
on Debian 12. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install golang-github-adrianmo-go-nmea-dev Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install golang-github-adrianmo-go-nmea-dev
using apt-get
by running the following command:
sudo apt-get -y install golang-github-adrianmo-go-nmea-dev
Install golang-github-adrianmo-go-nmea-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install golang-github-adrianmo-go-nmea-dev
using apt
by running the following command:
sudo apt -y install golang-github-adrianmo-go-nmea-dev
Install golang-github-adrianmo-go-nmea-dev Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install golang-github-adrianmo-go-nmea-dev
using aptitude
by running the following command:
sudo aptitude -y install golang-github-adrianmo-go-nmea-dev
How To Uninstall golang-github-adrianmo-go-nmea-dev on Debian 12
To uninstall only the golang-github-adrianmo-go-nmea-dev
package we can use the following command:
sudo apt-get remove golang-github-adrianmo-go-nmea-dev
Uninstall golang-github-adrianmo-go-nmea-dev And Its Dependencies
To uninstall golang-github-adrianmo-go-nmea-dev
and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove golang-github-adrianmo-go-nmea-dev
Remove golang-github-adrianmo-go-nmea-dev Configurations and Data
To remove golang-github-adrianmo-go-nmea-dev
configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge golang-github-adrianmo-go-nmea-dev
Remove golang-github-adrianmo-go-nmea-dev configuration, data, and all of its dependencies
We can use the following command to remove golang-github-adrianmo-go-nmea-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge golang-github-adrianmo-go-nmea-dev
Dependencies
golang-github-adrianmo-go-nmea-dev have the following dependencies:
References
Summary
In this tutorial we learn how to install golang-github-adrianmo-go-nmea-dev
package on Debian 12 using different package management tools: apt
, apt-get
and aptitude
.