How To Install opentrep on Fedora 36
Introduction
In this tutorial we learn how to install opentrep
on Fedora 36.
What is opentrep
opentrep aims at providing a clean API, and the corresponding C++ implementation, for parsing travel-focused requests. It powers the https opentrep uses Xapian (https part, on freely available travel-related data (e.g., country names and codes, city names and codes, airline names and codes, etc.), mainly to be found in the OpenTravelData project (https The data files are available from https opentrep exposes a simple, clean and object-oriented, API. For instance, the OPENTREP containing the travel request, and yields, as output, the list of the recognized terms as well as their corresponding types. As an example, the travel request ‘Washington DC Beijing Monday a/r +AA -UA 1 week 2 adults 1 dog’ would give the following list * Origin airport * Destination airport * Date of travel * Date of return * Preferred airline * Number of travelers The output can then be used by other systems, for instance to book the corresponding travel or to visualize it on a map and calendar and to share it with others. opentrep makes an extensive use of existing open-source libraries for increased functionality, speed and accuracy. In particular the Boost (C++ Standard Extensions SOCI (https Note that opentrep currently only recognizes points of reference (POR), as to be found in the following file A good complementary tool is GeoBase (https able to access to any travel-related data source.
We can use yum
or dnf
to install opentrep
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install opentrep.
Install opentrep on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install opentrep
using dnf
by running the following command:
sudo dnf -y install opentrep
Install opentrep on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install opentrep
using yum
by running the following command:
sudo yum -y install opentrep
How To Uninstall opentrep on Fedora 36
To uninstall only the opentrep
package we can use the following command:
sudo dnf remove opentrep
opentrep Package Contents on Fedora 36
/usr/bin/opentrep-dbmgr
/usr/bin/opentrep-indexer
/usr/bin/opentrep-searcher
/usr/lib/.build-id
/usr/lib/.build-id/14
/usr/lib/.build-id/14/2a6caea94390340a2f809a34123b1ebddd317a
/usr/lib/.build-id/77
/usr/lib/.build-id/77/70c5779d41fa507927ff5c9f3e1a7595e290ce
/usr/lib/.build-id/c1
/usr/lib/.build-id/c1/72f2011d00e32ad324e3c37c88d543f267f3e3
/usr/lib/.build-id/e0
/usr/lib/.build-id/e0/c88c3c8b00ca62942cf427ac68bbcdda708d03
/usr/lib64/libopentrep.so.0.07
/usr/lib64/libopentrep.so.0.07.10
/usr/share/doc/opentrep
/usr/share/doc/opentrep/AUTHORS
/usr/share/doc/opentrep/ChangeLog
/usr/share/doc/opentrep/NEWS
/usr/share/doc/opentrep/README.md
/usr/share/licenses/opentrep
/usr/share/licenses/opentrep/COPYING
/usr/share/man/man1/opentrep-dbmgr.1.gz
/usr/share/man/man1/opentrep-indexer.1.gz
/usr/share/man/man1/opentrep-searcher.1.gz
/usr/share/opentrep
/usr/share/opentrep/data
/usr/share/opentrep/data/por
/usr/share/opentrep/data/por/README.md
/usr/share/opentrep/data/por/create_trep_tables_mysql.sql
/usr/share/opentrep/data/por/create_trep_tables_sqlite3.sql
/usr/share/opentrep/data/por/create_trep_user_and_db.sql
/usr/share/opentrep/data/por/test_optd_por_public.csv
/usr/share/opentrep/data/por/test_optd_por_public_schema.sql
/usr/share/opentrep/data/por/test_world_schedule.csv
References
Summary
In this tutorial we learn how to install opentrep
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).
title: “How To Install opentrep on Fedora 36” linkTitle: “opentrep” type: “docs” description: “In this tutorial we learn how to install opentrep in Fedora 36. opentrep is C++ library providing a clean API for parsing travel-focused requests” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/opentrep-featured.png
Introduction
In this tutorial we learn how to install opentrep
on Fedora 36.
What is opentrep
opentrep aims at providing a clean API, and the corresponding C++ implementation, for parsing travel-focused requests. It powers the https opentrep uses Xapian (https part, on freely available travel-related data (e.g., country names and codes, city names and codes, airline names and codes, etc.), mainly to be found in the OpenTravelData project (https The data files are available from https opentrep exposes a simple, clean and object-oriented, API. For instance, the OPENTREP containing the travel request, and yields, as output, the list of the recognized terms as well as their corresponding types. As an example, the travel request ‘Washington DC Beijing Monday a/r +AA -UA 1 week 2 adults 1 dog’ would give the following list * Origin airport * Destination airport * Date of travel * Date of return * Preferred airline * Number of travelers The output can then be used by other systems, for instance to book the corresponding travel or to visualize it on a map and calendar and to share it with others. opentrep makes an extensive use of existing open-source libraries for increased functionality, speed and accuracy. In particular the Boost (C++ Standard Extensions SOCI (https Note that opentrep currently only recognizes points of reference (POR), as to be found in the following file A good complementary tool is GeoBase (https able to access to any travel-related data source.
We can use yum
or dnf
to install opentrep
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install opentrep.
Install opentrep on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install opentrep
using dnf
by running the following command:
sudo dnf -y install opentrep
Install opentrep on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install opentrep
using yum
by running the following command:
sudo yum -y install opentrep
How To Uninstall opentrep on Fedora 36
To uninstall only the opentrep
package we can use the following command:
sudo dnf remove opentrep
opentrep Package Contents on Fedora 36
/usr/bin/opentrep-dbmgr
/usr/bin/opentrep-indexer
/usr/bin/opentrep-searcher
/usr/lib/.build-id
/usr/lib/.build-id/4c
/usr/lib/.build-id/4c/ab9723bc7dca4353a0563250fa73909b186ff1
/usr/lib/.build-id/60
/usr/lib/.build-id/60/47dd249e12508cfae77c180cc750db8f874660
/usr/lib/.build-id/c5
/usr/lib/.build-id/c5/1aeeb4832ef873e5772506b06250a973130090
/usr/lib/.build-id/e8
/usr/lib/.build-id/e8/551f7b4b1359b1e7ce30465dc0642457ee1b8b
/usr/lib/libopentrep.so.0.07
/usr/lib/libopentrep.so.0.07.10
/usr/share/doc/opentrep
/usr/share/doc/opentrep/AUTHORS
/usr/share/doc/opentrep/ChangeLog
/usr/share/doc/opentrep/NEWS
/usr/share/doc/opentrep/README.md
/usr/share/licenses/opentrep
/usr/share/licenses/opentrep/COPYING
/usr/share/man/man1/opentrep-dbmgr.1.gz
/usr/share/man/man1/opentrep-indexer.1.gz
/usr/share/man/man1/opentrep-searcher.1.gz
/usr/share/opentrep
/usr/share/opentrep/data
/usr/share/opentrep/data/por
/usr/share/opentrep/data/por/README.md
/usr/share/opentrep/data/por/create_trep_tables_mysql.sql
/usr/share/opentrep/data/por/create_trep_tables_sqlite3.sql
/usr/share/opentrep/data/por/create_trep_user_and_db.sql
/usr/share/opentrep/data/por/test_optd_por_public.csv
/usr/share/opentrep/data/por/test_optd_por_public_schema.sql
/usr/share/opentrep/data/por/test_world_schedule.csv
References
Summary
In this tutorial we learn how to install opentrep
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).