Installing FastDB by Compiling Source Code
- Download the FastDB source package.
- Download the FastDB source package using your local browser.
- Copy the source package to the /home directory on the server.
If the server is connected to the Internet, you can run the wget command on the server to download the source package.
cd /home wget http://www.garret.ru/fastdb-3.76.tar.gz
- Go to the /home directory.
cd /home/
- Decompress the FastDB installation package.
tar -xvf fastdb-3.76.tar.gz
- Go to the fastdb directory.
cd fastdb
- Perform the compilation.
./configure --prefix=/opt/fastdb --build=arm-linux

PREFIX=PATH specifies the FastDB installation directory.
- Perform the compilation and installation.
make -j64

- In the command, -j 64 can make full use of the multi-core feature of the CPUs to accelerate the compilation. The number following -j indicates the number of CPU cores. You can run the cat /proc/cpuinfo | grep processor | wc -l command to query the number of CPU cores. The value specified must be equal to or less than the number of CPU cores.
- If the error message "testtimeseries.cpp:70:53: error: call of overloaded 'fmin(float&, float&)' is ambiguous" is displayed during compilation and installation, see make error.
- Perform the installation.
make install

- View the installation directory.
ll /opt/fastdb ll /opt/fastdb/bin
