Compiling and Installing TiKV
TiKV is an open source, distributed, and transactional key-value database. TiKV provides typical key-value APIs and ACID-compliant transactional APIs. Build in Rust and powered by Raft, TiKV was originally created to complement TiDB (a distributed MySQL-compatible HTAP database).
- Obtain the TiKV source package.
1 2 3 4
cd /home/ git clone https://github.com.cnpmjs.org/tikv/tikv.git cd tikv/ git checkout v3.0.13
- Compile and install TiKV.
1cargo build
- If the message "error: failed to fetch `https://github.com/rust-lang/crates.io-index`" is reported during TiKV compilation, refer to "cargo build" Reported During TiKV Compilation.
- If the libclangAST.so.6 dynamic library cannot be found during TiKV compilation, refer to libclangAST.so.6 Cannot Be Found During TiKV Compilation.
- If the libisl.so.15 dynamic library cannot be found during TiKV compilation, refer to libisl.so.15 Cannot Be Found During TiKV Compilation.
Parent topic: Compilation and Installation