Installation Guide
March 25, 2026 · View on GitHub
This document covers how to install and update VoiceType on your system.
Quick Install
The easiest way to install VoiceType is using the provided installation script:
./install.sh
This will:
- Build the release version of the application
- Create a Debian package
- Install the package on your system
- Set up desktop integration
Requirements
Before installation, ensure you have:
- Rust & Cargo: Install from rustup.rs
- System dependencies:
sudo apt install libasound2-dev - Deepgram API Key: Get one from Deepgram Console
Installation Steps
1. Clone the Repository
git clone https://github.com/danielrosehill/Real-Time-Text-Keyboard.git
cd voicetype-linux
2. Run the Installer
./install.sh
The script will:
- Install
cargo-debif not already present - Build the release binaries
- Create a
.debpackage - Install the package system-wide
3. Post-Installation
After installation, you can:
Launch the GUI:
voicetype-gui
Or find "VoiceType" in your application menu.
Use the CLI version:
sudo -E voicetype --test-stt
Updating
To update to the latest version:
# Pull the latest changes
git pull
# Run the update script
./update.sh
The update script will:
- Clean previous builds
- Rebuild the application
- Create a new package
- Remove the old version
- Install the new version
Note: If the GUI is running, restart it after updating.
Development Mode
For development and testing without installing the package:
./run.sh --test-stt
This runs the application directly from the source directory.
Uninstallation
To remove VoiceType from your system:
sudo apt remove voicetype
Or using dpkg:
sudo dpkg -r voicetype
Directory Structure
voicetype-linux/
├── app/ # Application source code
│ ├── src/ # Rust source files
│ ├── Cargo.toml # Package configuration
│ └── target/ # Build artifacts (gitignored)
├── install.sh # Installation script
├── update.sh # Update script
├── run.sh # Development runner
├── README.md # General documentation
└── INSTALL.md # This file
Troubleshooting
cargo-deb not found
If cargo-deb is not installed, the install script will install it automatically. You can also install it manually:
cargo install cargo-deb
Build fails
Ensure all dependencies are installed:
sudo apt install libasound2-dev build-essential
Package installation fails
If there are dependency issues:
sudo apt-get install -f
Permission errors
The scripts should not be run as root. They will use sudo internally when needed.
Manual Installation
If you prefer to install manually:
cd app
cargo build --release
cargo deb
sudo dpkg -i target/debian/voicetype_*.deb
sudo apt-get install -f
System Integration
The installed package includes:
- Binaries:
/usr/bin/voicetypeand/usr/bin/voicetype-gui - Documentation:
/usr/share/doc/voicetype/ - Desktop file:
/usr/share/applications/voicetype-gui.desktop
The GUI stores configuration in:
~/.config/voicetype/config.json