OxOOL v5 community edition compiling on Ubuntu 24.04 HOWTO
-
First thing first, install a Ubuntu 24.04 server! Can it be run on Ubuntu 24.04 desktop? Yes, but why bother? :-)
-
Upgrade the system:
sudo apt update
sudo apt upgrade -y
- Make sure you install OpenSSH and Vim (I'm a Vim guy! All right, but remember to install your favorite editor, okay?) and a couple of tools:
sudo apt install vim openssh-server net-tools curl git -y
- Import OSSII public key
sudo curl -o /etc/apt/keyrings/OSSII.asc http://www.oxoffice.com.tw/deb/OSSII.key
- Set up OxOOL repository
sudo curl -o /etc/apt/sources.list.d/oxool-community-v5-noble.list http://www.oxoffice.com.tw/deb/oxool-community-v5-noble.list
- Install software packages necessary for compiling OxOOL (use option apt install -y if you don't like to be asked everytime)
sudo apt update
sudo apt install oxoffice* libpoco-dev libgumbo-dev
sudo apt install -y build-essential libsqlite3-dev libcurl4-openssl-dev libcppunit-dev libcap-dev libcap2-bin libgit2-dev libtool libpng-dev automake m4 wget autoconf pkg-config openssl libgumbo-dev ccache fontconfig libfontconfig1-dev libpam-dev
sudo apt install -y devscripts debhelper dh-exec
sudo apt install -y libpcre16-3 libpcre3-dev libpcre32-3 libpcrecpp0v5
sudo apt install -y hunspell
sudo apt install -y python3-polib python3-lxml
- Install and setup Node.js
cd ~
curl -fsSL https://deb.nodesource.com/setup_20.x -o nodesource_setup.sh
sudo -E bash nodesource_setup.sh
sudo apt install -y nodejs
- Clone OxOOL-community code from GitHub and switch to branch
v5
cd ~
git clone https://github.com/OSSII/oxool-community.git
cd oxool-community
git switch v5
- For debug and developing, run autogen.sh directly WITHOUT running configure
cd oxool-community
./autogen.sh
It will enable debug options so that you can test and debug by running make run
.
- For installing, you can build deb packages with following command. The built deb packages will be one level up the compiling directory:
./autogen.sh
debuild -b -uc -us
cd ..
ls oxool*.deb
The generated deb files can be then installed in the system.
No Comments