Skip to main content

在 CentOS 7 環境下編譯 OxOOL

參考到設定 firewall 的部份,重新開機就行。
  • 安裝編譯 OxOOL 要用的套件
yum install git yum-utils -y
yum-builddep libreoffice -y
    安裝 nvm
    wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.0/install.sh | bash
    exit -> 離開 terminal 重新登入
    nvm install node
    exit -> 離開 terminal 重新登入
    • 將 OxOOL 源始碼 Clone 回來
    git clone https://github.com/OSSII/oxool-community.git
    • 開始編譯 OxOOL 套件
    cd oxool-community
    ./autogen.sh
    ./configure
    make dist
    rpmbuild -tb oxool-3.x.x.tar.gz
    • 編譯完成的 rpm 會放在以下路徑
    ~/rpmbuild/RPMS/x86_64