How To Install opentrep on Fedora 34
Introduction
In this tutorial we learn how to install opentrep
on Fedora 34.
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. opentrep 0.07.7 11.fc34 x86_64 750 k opentrep-0.07.7-11.fc34.src.rpm fedora C++ library providing a clean API for parsing travel-focused requests https LGPLv2+ and BSD 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 34. In this tutorial we discuss both methods but you only need to choose one of method to install opentrep.
Install opentrep on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install opentrep
using dnf
by running the following command:
sudo dnf -y install opentrep
Install opentrep on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
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 34
To uninstall only the opentrep
package we can use the following command:
sudo dnf remove opentrep
opentrep Package Contents on Fedora 34
/usr/bin/opentrep-dbmgr
/usr/bin/opentrep-indexer
/usr/bin/opentrep-searcher
/usr/lib/.build-id
/usr/lib/.build-id/05
/usr/lib/.build-id/05/d5443676a822127f3d8014cbf47cb2894900a8
/usr/lib/.build-id/10
/usr/lib/.build-id/10/37adb42fa618e5a8733e6035a7a8717078ed04
/usr/lib/.build-id/17
/usr/lib/.build-id/17/43ede9d0f59f986c1248144e98c8dae7b8cd50
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/f5465eb2d0eb50c7668434e771a5f1f51aa5ab
/usr/lib/libopentrep.so.0.07
/usr/lib/libopentrep.so.0.07.7
/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
/usr/bin/opentrep-dbmgr
/usr/bin/opentrep-indexer
/usr/bin/opentrep-searcher
/usr/lib/.build-id
/usr/lib/.build-id/84
/usr/lib/.build-id/84/f8cc1bcc2a0f398ffaa5db2f841c5c1b185bb4
/usr/lib/.build-id/93
/usr/lib/.build-id/93/a400d557726a6b4c098174f1e67c0c56c35c95
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/b65067454529fc3a0ae9c651ed34fb5cddc221
/usr/lib/.build-id/e5
/usr/lib/.build-id/e5/194f96f78f523198a7a9ae1f221077a35a5a2c
/usr/lib64/libopentrep.so.0.07
/usr/lib64/libopentrep.so.0.07.7
/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
- [opentrep website](https://github.com/trep/opentrep https://github.com/trep/opentrep)
Summary
In this tutorial we learn how to install opentrep
on Fedora 34 using yum and dnf.