A simple calculator I made in Rust.
To use this calculator on Windows (tested on windows 11) download the Windows executable and left click it twice (installer not available).
To use the Linux version (tested on kubuntu) download the Linux executable and right click on the file. you then want to select run in Konsole (on different distributions of Linux this might say console or terminal). For newer versions (8.0.0 and up) just left click it twice for the exactable or do the same thing for the debian package and follow the installation instructions look for the program in the start menu and launch it by clicking it.
Feel free to make suggestions in the discussions tab and report any errors or bugs the the issues tab.
Download the release you want from the releases section and folow the instructions there.
Feel free to make suggestions in the discussions tab and report any errors or bugs the the issues tab.
I will no longer be updating the Windows files for smaller updates like V6.5.0. I will only update windows to main releases like V9.0.0. If you have a specific version you want windows updated to please post it in the dedicated discussion.
-
Compile & run dev mode Linux
> cargo run
-
Compile Android app & run in emulator
-
Start Android Studio (
studio.sh
). Go to 'Virtual Device Manager'. Select a device to emulate and start the device (play button).> cargo apk run --target aarch64-linux-android --lib
-
> sudo apt update
> sudo apt install build-essential curl
> curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh
> rustup target add aarch64-linux-android armv7-linux-androideabi i686-linux-android x86_64-linux-android
https://github.com/rust-mobile/cargo-apk
> cargo install cargo-apk
https://developer.android.com/studio
- Download & install Android Studio
- Unpack the Android Studio distribution archive that you downloaded where you wish to install the program. Extract
android-studio
to$HOME
. - To start the application, open a console, cd into
~/android-studio/bin
and type:./studio.sh
This will initialize various configuration files in the configuration directory:~/.config/Google/AndroidStudio2024.1.
- Go to SDK Manager & install the following:
- Android SDK Platform
- Android SDK Platform-Tools
- NDK (Side by side)
- Android SDK Build-Tools
- Android SDK Command-line Tools
- Go to Virtual Device Manager & add a device to emulate.
- Edit
~./bashrc
. (modified to make Slint compile to android too)export PATH=$PATH:$HOME/android-studio/bin:$HOME/android-studio/jbr/bin export JAVA_HOME=$HOME/android-studio/jbr export ANDROID_HOME="$HOME/Android/Sdk" export NDK_HOME="$ANDROID_HOME/ndk/$(ls -1 $ANDROID_HOME/ndk)" export ANDROID_NDK_ROOT="$ANDROID_HOME/ndk/$(ls -1 $ANDROID_HOME/ndk)"
- Restart shell to re-load
~./bashrc
- Unpack the Android Studio distribution archive that you downloaded where you wish to install the program. Extract
- Unknown if this is actually needed
> sudo apt-get install adb > sudo agp-get install google-android-platform-tools-installer