Debian GNU/Linux: Difference between revisions
No edit summary |
No edit summary |
||
| Line 41: | Line 41: | ||
Verify if control application, client application and test server can be build using <code>cargo build</code>. | Verify if control application, client application and test server can be build using <code>cargo build</code>. | ||
After installation of the [[SQL database]], you can proceed with the tests using <code>cargo test -- --test-threads=8</code>. | |||
Revision as of 14:58, 30 December 2024
Following are the steps to install the toolchain on a Debian 11 system:
Install the necessary packages for building and compiling Rust programs:
sudo apt install build-essential curl -y
Install additional packages:
sudo apt install libssl-dev pkg-config
sudo apt install libudev-dev
Download and install Rust:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Update current shell:
source ~/.cargo/env
Verify Rust installation:
rustc --version
As of December 2024, Rust version is 1.83.0.
Install git:
apt-get install git
Clone the git repositories into /usr/local/src:
- Main control application:
git clone https://in-dubio@bitbucket.org/in-dubio/aquarium_control.git - Client application:
git clone https://in-dubio@bitbucket.org/in-dubio/aquarium_client.git - Test server:
git clone https://in-dubio@bitbucket.org/in-dubio/aquarium_test_server.git - Databases
Verify if control application, client application and test server can be build using cargo build.
After installation of the SQL database, you can proceed with the tests using cargo test -- --test-threads=8.