Skip to content

Hướng dẫn cài đặt từ mã nguồn

The Little Waltz edited this page Sep 6, 2024 · 24 revisions
  1. Cài đặt các gói phụ thuộc
  • make
  • golang
  • libgtk-3-dev
  • libx11-dev
  • libxtst-dev
# Debian/Ubuntu:
sudo apt-get install make golang libx11-dev libxtst-dev libgtk-3-dev

# Fedora
sudo dnf install make go libX11-devel libXtst-devel gtk3-devel

# CentOS, RHEL, ...
sudo yum install make go libX11-devel libXtst-devel gtk3-devel

# openSUSE Tumbleweed
sudo zypper install make go libX11-devel libXtst-devel gtk3-devel

# FreeBSD
sudo pkg install gmake go gcc pkgconf libX11 libXtst gtk3 bash
  1. Download
wget https://github.com/BambooEngine/ibus-bamboo/archive/master.zip -O ibus-bamboo.zip
unzip ibus-bamboo.zip

# hoặc clone từ github:
git clone https://github.com/BambooEngine/ibus-bamboo.git
  1. Build & install

Linux

cd ibus-bamboo
sudo make install PREFIX=/usr

# Restart ibus
ibus restart

FreeBSD

cd ibus-bamboo
sudo gmake install PREFIX=/usr/local

# Restart ibus
ibus restart

Gỡ cài đặt

Linux

sudo make uninstall PREFIX=/usr
ibus restart

FreeBSD

sudo gmake uninstall PREFIX=/usr/local
ibus restart