How To Install golang-github-adrianmo-go-nmea-dev on Ubuntu 22.04
Introduction
In this tutorial we learn how to install golang-github-adrianmo-go-nmea-dev
on Ubuntu 22.04.
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
- RMC | Recommended Minimum Specific GPS/Transit data.
- PMTK | Messages for setting and reading commands for MediaTek gps modules.
- GGA | GPS Positioning System Fix Data.
- GSA | GPS DOP and active satellites.
- GSV | GPS Satellites in view.
- GLL | Geographic Position, Latitude / Longitude and time.
- VTG | Track Made Good and Ground Speed.
- ZDA | Date & time data.
- HDT | Actual vessel heading in degrees True.
- GNS | Combined GPS fix for GPS, Glonass, Galileo, and BeiDou.
- PGRME | Estimated Position Error (Garmin proprietary sentence).
- THS | Actual vessel heading in degrees True and status.
- VDM/VDO | Encapsulated binary payload.
- WPL | Waypoint location.
- RTE | Route.
- VHW | Water Speed and Heading.
- DPT | Depth of Water.
- DBS | Depth Below Surface.
- DBT | Depth below transducer.
- MDA | Meteorological Composite.
- MWD | Wind Direction and Speed.
- MWV | Wind Speed and Angle.
There are three methods to install golang-github-adrianmo-go-nmea-dev
on Ubuntu 22.04. 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 Ubuntu. 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 Ubuntu 22.04
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 Ubuntu 22.04, 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 Ubuntu 22.04 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
References
Summary
In this tutorial we learn how to install golang-github-adrianmo-go-nmea-dev
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.