How To Install qt5-qtlocation-examples on CentOS 8

qt5-qtlocation-examples is Programming examples for qt5-qtlocation

Introduction

In this tutorial we learn how to install qt5-qtlocation-examples on CentOS 8.

What is qt5-qtlocation-examples

Programming examples for qt5-qtlocation.

We can use yum or dnf to install qt5-qtlocation-examples on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install qt5-qtlocation-examples.

Install qt5-qtlocation-examples on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install qt5-qtlocation-examples using dnf by running the following command:

sudo dnf -y install qt5-qtlocation-examples

Install qt5-qtlocation-examples on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install qt5-qtlocation-examples using yum by running the following command:

sudo yum -y install qt5-qtlocation-examples

How To Uninstall qt5-qtlocation-examples on CentOS 8

To uninstall only the qt5-qtlocation-examples package we can use the following command:

sudo dnf remove qt5-qtlocation-examples

qt5-qtlocation-examples Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/ca99e6bd7e58a934a7b63f73c22e256e7497a5
/usr/lib/.build-id/15
/usr/lib/.build-id/15/615aaa9c9b3dd6658e22da3ecacd26342168ec
/usr/lib/.build-id/27
/usr/lib/.build-id/27/ddd4b65c08c25b5c376b8eaf8e835febbdf975
/usr/lib/.build-id/39
/usr/lib/.build-id/39/ef364b55424321515c8d72f17cffb80af06894
/usr/lib/.build-id/54
/usr/lib/.build-id/54/54d72a1172b4a49b46d8f712e91a3e6c802726
/usr/lib/.build-id/78
/usr/lib/.build-id/78/14ed667955f838032c7aa240a68ef4c6e8a3b9
/usr/lib/.build-id/b4
/usr/lib/.build-id/b4/97558e35ea8f656c3a9c6afd08587565cc0e0c
/usr/lib/.build-id/b7
/usr/lib/.build-id/b7/7d29594aeb732ca8e575ede5ee961882c0ec94
/usr/lib/.build-id/cc
/usr/lib/.build-id/cc/71c0a834f4e58d76d534d719587d544f206257
/usr/lib/.build-id/f8
/usr/lib/.build-id/f8/d8c0c607f757272ade1ddb6ab45d87d252cd02
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/ca63c36c4ab999ce78e63ab0896ab6efdbf01a
/usr/lib64/qt5/examples
/usr/lib64/qt5/examples/location
/usr/lib64/qt5/examples/location/itemview_transitions
/usr/lib64/qt5/examples/location/itemview_transitions/OsloListModel.qml
/usr/lib64/qt5/examples/location/itemview_transitions/doc
/usr/lib64/qt5/examples/location/itemview_transitions/doc/images
/usr/lib64/qt5/examples/location/itemview_transitions/doc/images/itemview_trasitions.jpg
/usr/lib64/qt5/examples/location/itemview_transitions/doc/src
/usr/lib64/qt5/examples/location/itemview_transitions/doc/src/itemview_transitions.qdoc
/usr/lib64/qt5/examples/location/itemview_transitions/itemview_transitions
/usr/lib64/qt5/examples/location/itemview_transitions/itemview_transitions.pro
/usr/lib64/qt5/examples/location/itemview_transitions/main.cpp
/usr/lib64/qt5/examples/location/itemview_transitions/main.qml
/usr/lib64/qt5/examples/location/location.pro
/usr/lib64/qt5/examples/location/mapviewer
/usr/lib64/qt5/examples/location/mapviewer/forms
/usr/lib64/qt5/examples/location/mapviewer/forms/Geocode.qml
/usr/lib64/qt5/examples/location/mapviewer/forms/GeocodeForm.ui.qml
/usr/lib64/qt5/examples/location/mapviewer/forms/Locale.qml
/usr/lib64/qt5/examples/location/mapviewer/forms/LocaleForm.ui.qml
/usr/lib64/qt5/examples/location/mapviewer/forms/Message.qml
/usr/lib64/qt5/examples/location/mapviewer/forms/MessageForm.ui.qml
/usr/lib64/qt5/examples/location/mapviewer/forms/ReverseGeocode.qml
/usr/lib64/qt5/examples/location/mapviewer/forms/ReverseGeocodeForm.ui.qml
/usr/lib64/qt5/examples/location/mapviewer/forms/RouteAddress.qml
/usr/lib64/qt5/examples/location/mapviewer/forms/RouteAddressForm.ui.qml
/usr/lib64/qt5/examples/location/mapviewer/forms/RouteCoordinate.qml
/usr/lib64/qt5/examples/location/mapviewer/forms/RouteCoordinateForm.ui.qml
/usr/lib64/qt5/examples/location/mapviewer/forms/RouteList.qml
/usr/lib64/qt5/examples/location/mapviewer/forms/RouteListDelegate.qml
/usr/lib64/qt5/examples/location/mapviewer/forms/RouteListHeader.qml
/usr/lib64/qt5/examples/location/mapviewer/helper.js
/usr/lib64/qt5/examples/location/mapviewer/main.cpp
/usr/lib64/qt5/examples/location/mapviewer/map
/usr/lib64/qt5/examples/location/mapviewer/map/CircleItem.qml
/usr/lib64/qt5/examples/location/mapviewer/map/ImageItem.qml
/usr/lib64/qt5/examples/location/mapviewer/map/MapComponent.qml
/usr/lib64/qt5/examples/location/mapviewer/map/MapSliders.qml
/usr/lib64/qt5/examples/location/mapviewer/map/Marker.qml
/usr/lib64/qt5/examples/location/mapviewer/map/MiniMap.qml
/usr/lib64/qt5/examples/location/mapviewer/map/PolygonItem.qml
/usr/lib64/qt5/examples/location/mapviewer/map/PolylineItem.qml
/usr/lib64/qt5/examples/location/mapviewer/map/RectangleItem.qml
/usr/lib64/qt5/examples/location/mapviewer/mapviewer.pro
/usr/lib64/qt5/examples/location/mapviewer/mapviewer.qml
/usr/lib64/qt5/examples/location/mapviewer/mapviewer.qrc
/usr/lib64/qt5/examples/location/mapviewer/menus
/usr/lib64/qt5/examples/location/mapviewer/menus/ItemPopupMenu.qml
/usr/lib64/qt5/examples/location/mapviewer/menus/MainMenu.qml
/usr/lib64/qt5/examples/location/mapviewer/menus/MapPopupMenu.qml
/usr/lib64/qt5/examples/location/mapviewer/menus/MarkerPopupMenu.qml
/usr/lib64/qt5/examples/location/mapviewer/qml_location_mapviewer
/usr/lib64/qt5/examples/location/mapviewer/resources
/usr/lib64/qt5/examples/location/mapviewer/resources/icon.png
/usr/lib64/qt5/examples/location/mapviewer/resources/marker.png
/usr/lib64/qt5/examples/location/mapviewer/resources/scale.png
/usr/lib64/qt5/examples/location/mapviewer/resources/scale_end.png
/usr/lib64/qt5/examples/location/minimal_map
/usr/lib64/qt5/examples/location/minimal_map/main.cpp
/usr/lib64/qt5/examples/location/minimal_map/main.qml
/usr/lib64/qt5/examples/location/minimal_map/minimal_map
/usr/lib64/qt5/examples/location/minimal_map/minimal_map.pro
/usr/lib64/qt5/examples/location/minimal_map/qml.qrc
/usr/lib64/qt5/examples/location/places
/usr/lib64/qt5/examples/location/places/forms
/usr/lib64/qt5/examples/location/places/forms/Message.qml
/usr/lib64/qt5/examples/location/places/forms/MessageForm.ui.qml
/usr/lib64/qt5/examples/location/places/forms/PlaceDetails.qml
/usr/lib64/qt5/examples/location/places/forms/PlaceDetailsForm.ui.qml
/usr/lib64/qt5/examples/location/places/forms/SearchBoundingBox.qml
/usr/lib64/qt5/examples/location/places/forms/SearchBoundingBoxForm.ui.qml
/usr/lib64/qt5/examples/location/places/forms/SearchBoundingCircle.qml
/usr/lib64/qt5/examples/location/places/forms/SearchBoundingCircleForm.ui.qml
/usr/lib64/qt5/examples/location/places/forms/SearchCenter.qml
/usr/lib64/qt5/examples/location/places/forms/SearchCenterForm.ui.qml
/usr/lib64/qt5/examples/location/places/forms/SearchOptions.qml
/usr/lib64/qt5/examples/location/places/forms/SearchOptionsForm.ui.qml
/usr/lib64/qt5/examples/location/places/helper.js
/usr/lib64/qt5/examples/location/places/items
/usr/lib64/qt5/examples/location/places/items/MainMenu.qml
/usr/lib64/qt5/examples/location/places/items/MapComponent.qml
/usr/lib64/qt5/examples/location/places/items/SearchBar.qml
/usr/lib64/qt5/examples/location/places/main.cpp
/usr/lib64/qt5/examples/location/places/places.pro
/usr/lib64/qt5/examples/location/places/places.qml
/usr/lib64/qt5/examples/location/places/places.qrc
/usr/lib64/qt5/examples/location/places/qml_location_places
/usr/lib64/qt5/examples/location/places/resources
/usr/lib64/qt5/examples/location/places/resources/categories.png
/usr/lib64/qt5/examples/location/places/resources/left.png
/usr/lib64/qt5/examples/location/places/resources/marker.png
/usr/lib64/qt5/examples/location/places/resources/right.png
/usr/lib64/qt5/examples/location/places/resources/scale.png
/usr/lib64/qt5/examples/location/places/resources/scale_end.png
/usr/lib64/qt5/examples/location/places/resources/search.png
/usr/lib64/qt5/examples/location/places/resources/star.png
/usr/lib64/qt5/examples/location/places/views
/usr/lib64/qt5/examples/location/places/views/CategoryDelegate.qml
/usr/lib64/qt5/examples/location/places/views/CategoryView.qml
/usr/lib64/qt5/examples/location/places/views/EditorialDelegate.qml
/usr/lib64/qt5/examples/location/places/views/EditorialPage.qml
/usr/lib64/qt5/examples/location/places/views/EditorialView.qml
/usr/lib64/qt5/examples/location/places/views/ImageView.qml
/usr/lib64/qt5/examples/location/places/views/RatingView.qml
/usr/lib64/qt5/examples/location/places/views/ReviewDelegate.qml
/usr/lib64/qt5/examples/location/places/views/ReviewPage.qml
/usr/lib64/qt5/examples/location/places/views/ReviewView.qml
/usr/lib64/qt5/examples/location/places/views/SearchResultDelegate.qml
/usr/lib64/qt5/examples/location/places/views/SearchResultView.qml
/usr/lib64/qt5/examples/location/places/views/SuggestionView.qml
/usr/lib64/qt5/examples/location/places_list
/usr/lib64/qt5/examples/location/places_list/Marker.qml
/usr/lib64/qt5/examples/location/places_list/main.cpp
/usr/lib64/qt5/examples/location/places_list/marker.png
/usr/lib64/qt5/examples/location/places_list/places_list
/usr/lib64/qt5/examples/location/places_list/places_list.pro
/usr/lib64/qt5/examples/location/places_list/places_list.qml
/usr/lib64/qt5/examples/location/places_list/places_list.qrc
/usr/lib64/qt5/examples/location/places_map
/usr/lib64/qt5/examples/location/places_map/main.cpp
/usr/lib64/qt5/examples/location/places_map/marker.png
/usr/lib64/qt5/examples/location/places_map/places_map
/usr/lib64/qt5/examples/location/places_map/places_map.pro
/usr/lib64/qt5/examples/location/places_map/places_map.qml
/usr/lib64/qt5/examples/location/places_map/places_map.qrc
/usr/lib64/qt5/examples/location/planespotter
/usr/lib64/qt5/examples/location/planespotter/Plane.qml
/usr/lib64/qt5/examples/location/planespotter/airplane.png
/usr/lib64/qt5/examples/location/planespotter/main.cpp
/usr/lib64/qt5/examples/location/planespotter/planespotter
/usr/lib64/qt5/examples/location/planespotter/planespotter.pro
/usr/lib64/qt5/examples/location/planespotter/planespotter.qml
/usr/lib64/qt5/examples/location/planespotter/qml.qrc
/usr/lib64/qt5/examples/positioning
/usr/lib64/qt5/examples/positioning/geoflickr
/usr/lib64/qt5/examples/positioning/geoflickr/flickr-90.qml
/usr/lib64/qt5/examples/positioning/geoflickr/flickr.qml
/usr/lib64/qt5/examples/positioning/geoflickr/flickr.qrc
/usr/lib64/qt5/examples/positioning/geoflickr/flickrcommon
/usr/lib64/qt5/examples/positioning/geoflickr/flickrcommon/Progress.qml
/usr/lib64/qt5/examples/positioning/geoflickr/flickrcommon/RestModel.qml
/usr/lib64/qt5/examples/positioning/geoflickr/flickrcommon/ScrollBar.qml
/usr/lib64/qt5/examples/positioning/geoflickr/flickrcommon/Slider.qml
/usr/lib64/qt5/examples/positioning/geoflickr/flickrmobile
/usr/lib64/qt5/examples/positioning/geoflickr/flickrmobile/Button.qml
/usr/lib64/qt5/examples/positioning/geoflickr/flickrmobile/GeoTab.qml
/usr/lib64/qt5/examples/positioning/geoflickr/flickrmobile/GridDelegate.qml
/usr/lib64/qt5/examples/positioning/geoflickr/flickrmobile/ImageDetails.qml
/usr/lib64/qt5/examples/positioning/geoflickr/flickrmobile/ListDelegate.qml
/usr/lib64/qt5/examples/positioning/geoflickr/flickrmobile/TitleBar.qml
/usr/lib64/qt5/examples/positioning/geoflickr/flickrmobile/ToolBar.qml
/usr/lib64/qt5/examples/positioning/geoflickr/flickrmobile/images
/usr/lib64/qt5/examples/positioning/geoflickr/flickrmobile/images/gloss.png
/usr/lib64/qt5/examples/positioning/geoflickr/flickrmobile/images/lineedit.png
/usr/lib64/qt5/examples/positioning/geoflickr/flickrmobile/images/lineedit.sci
/usr/lib64/qt5/examples/positioning/geoflickr/flickrmobile/images/moon.png
/usr/lib64/qt5/examples/positioning/geoflickr/flickrmobile/images/quit.png
/usr/lib64/qt5/examples/positioning/geoflickr/flickrmobile/images/star.png
/usr/lib64/qt5/examples/positioning/geoflickr/flickrmobile/images/stripes.png
/usr/lib64/qt5/examples/positioning/geoflickr/flickrmobile/images/sun.png
/usr/lib64/qt5/examples/positioning/geoflickr/flickrmobile/images/titlebar.png
/usr/lib64/qt5/examples/positioning/geoflickr/flickrmobile/images/titlebar.sci
/usr/lib64/qt5/examples/positioning/geoflickr/flickrmobile/images/toolbutton.png
/usr/lib64/qt5/examples/positioning/geoflickr/flickrmobile/images/toolbutton.sci
/usr/lib64/qt5/examples/positioning/geoflickr/flickrmobile/nmealog.txt
/usr/lib64/qt5/examples/positioning/geoflickr/geoflickr
/usr/lib64/qt5/examples/positioning/geoflickr/geoflickr.pro
/usr/lib64/qt5/examples/positioning/geoflickr/geoflickr.qmlproject
/usr/lib64/qt5/examples/positioning/geoflickr/qmllocationflickr.cpp
/usr/lib64/qt5/examples/positioning/logfilepositionsource
/usr/lib64/qt5/examples/positioning/logfilepositionsource/clientapplication.cpp
/usr/lib64/qt5/examples/positioning/logfilepositionsource/clientapplication.h
/usr/lib64/qt5/examples/positioning/logfilepositionsource/logfile.qrc
/usr/lib64/qt5/examples/positioning/logfilepositionsource/logfilepositionsource
/usr/lib64/qt5/examples/positioning/logfilepositionsource/logfilepositionsource.cpp
/usr/lib64/qt5/examples/positioning/logfilepositionsource/logfilepositionsource.h
/usr/lib64/qt5/examples/positioning/logfilepositionsource/logfilepositionsource.pro
/usr/lib64/qt5/examples/positioning/logfilepositionsource/main.cpp
/usr/lib64/qt5/examples/positioning/logfilepositionsource/simplelog.txt
/usr/lib64/qt5/examples/positioning/positioning.pro
/usr/lib64/qt5/examples/positioning/satelliteinfo
/usr/lib64/qt5/examples/positioning/satelliteinfo/main.cpp
/usr/lib64/qt5/examples/positioning/satelliteinfo/satelliteinfo
/usr/lib64/qt5/examples/positioning/satelliteinfo/satelliteinfo.pro
/usr/lib64/qt5/examples/positioning/satelliteinfo/satelliteinfo.qml
/usr/lib64/qt5/examples/positioning/satelliteinfo/satelliteinfo.qrc
/usr/lib64/qt5/examples/positioning/satelliteinfo/satellitemodel.cpp
/usr/lib64/qt5/examples/positioning/satelliteinfo/satellitemodel.h
/usr/lib64/qt5/examples/positioning/weatherinfo
/usr/lib64/qt5/examples/positioning/weatherinfo/appmodel.cpp
/usr/lib64/qt5/examples/positioning/weatherinfo/appmodel.h
/usr/lib64/qt5/examples/positioning/weatherinfo/components
/usr/lib64/qt5/examples/positioning/weatherinfo/components/BigForecastIcon.qml
/usr/lib64/qt5/examples/positioning/weatherinfo/components/ForecastIcon.qml
/usr/lib64/qt5/examples/positioning/weatherinfo/components/WeatherIcon.qml
/usr/lib64/qt5/examples/positioning/weatherinfo/icons
/usr/lib64/qt5/examples/positioning/weatherinfo/icons/README.txt
/usr/lib64/qt5/examples/positioning/weatherinfo/icons/qt_attribution.json
/usr/lib64/qt5/examples/positioning/weatherinfo/icons/weather-few-clouds.png
/usr/lib64/qt5/examples/positioning/weatherinfo/icons/weather-fog.png
/usr/lib64/qt5/examples/positioning/weatherinfo/icons/weather-haze.png
/usr/lib64/qt5/examples/positioning/weatherinfo/icons/weather-icy.png
/usr/lib64/qt5/examples/positioning/weatherinfo/icons/weather-overcast.png
/usr/lib64/qt5/examples/positioning/weatherinfo/icons/weather-showers.png
/usr/lib64/qt5/examples/positioning/weatherinfo/icons/weather-sleet.png
/usr/lib64/qt5/examples/positioning/weatherinfo/icons/weather-snow.png
/usr/lib64/qt5/examples/positioning/weatherinfo/icons/weather-storm.png
/usr/lib64/qt5/examples/positioning/weatherinfo/icons/weather-sunny-very-few-clouds.png
/usr/lib64/qt5/examples/positioning/weatherinfo/icons/weather-sunny.png
/usr/lib64/qt5/examples/positioning/weatherinfo/icons/weather-thundershower.png
/usr/lib64/qt5/examples/positioning/weatherinfo/main.cpp
/usr/lib64/qt5/examples/positioning/weatherinfo/weatherinfo
/usr/lib64/qt5/examples/positioning/weatherinfo/weatherinfo.pro
/usr/lib64/qt5/examples/positioning/weatherinfo/weatherinfo.qml
/usr/lib64/qt5/examples/positioning/weatherinfo/weatherinfo.qrc

References

Summary

In this tutorial we learn how to install qt5-qtlocation-examples on CentOS 8 using yum and dnf.