Build and Run sqlite3
in two ways
Firstly, get the sqlite3 source code:
wget https://sqlite.org/2023/sqlite-amalgamation-3410100.zip
unzip sqlite-amalgamation-3410100.zip && rm -f sqlite-amalgamation-3410100.zip
Then, you need to copy config_linux.toml
and main.c
from ruxgo/apps/redis/local
into the same directory as sqlite-amalgamation-3410100
that you just downloaded.
Finally, execute the following commands to build and run it:
# Build and Run
ruxgo -b
ruxgo -r
Firstly, you need to copy config_linux.toml
from ruxgo/apps/sqlite3/ruxos
and place it in the ruxos/apps/c/sqlite3
at the same level as sqlite-amalgamation-3410100
.
Then, switch to ruxos/apps/c/sqlite3
directory. If sqlite-amalgamation-3410100
does not exist in the ruxos/apps/c/sqlite3
directory, execute the following prerequisite commands (if it does, it is not required):
wget https://sqlite.org/2023/sqlite-amalgamation-3410100.zip
unzip sqlite-amalgamation-3410100.zip && rm -f sqlite-amalgamation-3410100.zip
Finally, execute the following commands to build and run it:
# Build and Run
ruxgo -b
ruxgo -r