This document covers the environment preparation and installation steps for BMC Studio.
Environment Setup
BMC Studio uses the same environment as openUBMC, please make sure your development environment is ready. For guidance, please follow openUBMC Environment Setup.
You'll likely need git and the bingo tool during the process, so ensure they're installed on your system.
Runtime Environment
OS requirement: Ubuntu 24.04.
Installation
There are three ways to install BMC Studio, please choose the one you prefer.
Option 1: Automatic Upgrade and Installation via bingo (Recommended)
BMC Studio shall be installed automatically when you installing openUBMC from manifest.
If you already have BMC Studio installed, just run this command to bump it to the latest version:
bingo upgradeOption 2: Installation from the App Marketplace
- Go to the openUBMC Marketplace, head to the "Development Tools" section, and select "BMC Studio".
- On the BMC Studio download page, click "Download Now" on the right to grab the package locally.
- Follow the installation instructions on that page to set it up.
Option 3: Manual Installation via Apt Repository (Cangjie Toolchain and BMC Studio)
Check if the apt repository is already configured:
bashsudo apt update apt policy openubmc-bingoIf you see output like this, the repo is set up, jump to step 5.
bashopenubmc-bingo: Installed: 0.0.1 Candidate: 0.0.1 Version table: 0.0.1 500 500 https://openubmc-apt-repo.obs.cn-north-4.myhuaweicloud.com/Ubuntu noble/main amd64 PackagesOtherwise, continue with the next steps.
Download the GPG public key
Install gnupg if needed
bashsudo apt update && sudo apt install gnupgAdd the GPG key
Option 1: Direct download
Create the keyrings directory:
bashsudo mkdir -p /etc/apt/keyringsDownload and install the key:
bashwget -O- https://openubmc-apt-repo.obs.cn-north-4.myhuaweicloud.com/Ubuntu/gpg_key.public | sudo gpg --dearmor -o /etc/apt/keyrings/openubmc.gpg
Option 2: From keyserver
Create the keyrings directory:
bashsudo mkdir -p /etc/apt/keyringsFetch and add the key:
bashgpg --keyserver keyserver.ubuntu.com --recv-keys BF3B2D407FDEDEA0DC91CC9412640FBCB175287A gpg --export BF3B2D407FDEDEA0DC91CC9412640FBCB175287A | sudo tee /etc/apt/keyrings/openubmc.gpg >/dev/null
Add the apt repository:
bashecho "deb [arch=amd64 signed-by=/etc/apt/keyrings/openubmc.gpg] https://openubmc-apt-repo.obs.cn-north-4.myhuaweicloud.com/Ubuntu/ noble main" | sudo tee /etc/apt/sources.list.d/openubmc.listVerify the configuration:
bashsudo apt update apt policy bmc-studioInstall the Cangjie runtime package and BMC Studio:
bashapt remove bmc-studio apt install cangjie-runtime apt install bmc-studio
Launching BMC Studio
If you have the BMC Studio VS Code extension, just click it to launch inside VS Code.
If you've installed bingo (version 0.5.238 or newer), run this to start it:
bingo studioOn WSL, the frontend page should open directly in your browser.
On non-WSL setups, manually open the address shown in the backend logs (it varies by system).Manually opening BMC Studio:
bash/usr/share/bmc_studio/bmc_studio.sh start /usr/share/bmc_studio/bmc_studio.sh start backend(后台启动)
Common Commands
Via bingo
Start BMC Studio
bingo studioStop BMC Studio
bingo studio -stopRestart BMC Studio
bingo studio -restartVia BMC Studio scripts
Start BMC Studio
/usr/share/bmc_studio/bmc_studio.sh start
/usr/share/bmc_studio/bmc_studio.sh start backend(后台启动)Stop BMC Studio
/usr/share/bmc_studio/bmc_studio.sh stopRestart BMC Studio
/usr/share/bmc_studio/bmc_studio.sh restartTroubleshooting
Check the BMC Studio FAQ for common issues.