To install libjxl (JPEG XL library) on Ubuntu from source, follow these steps:
Install build tools and dependencies:
sudo apt update
sudo apt install git cmake pkg-config libbrotli-dev libpng-dev libwebp-dev zlib1g-dev
Clone the libjxl repository:
git clone https://github.com/libjxl/libjxl.git
cd libjxl
Checkout the desired version or commit (optional):
git checkout <desired_version_or_commit>
Set up the submodule:
git submodule update --init --recursive
Create a build directory and move into it:
mkdir build
cd build
Configure the build using CMake:
cmake -DCMAKE_BUILD_TYPE=Release ..
Compile the library:
make -j$(nproc)
Install the library:
sudo make install
Update the linker cache:
sudo ldconfig
Now, libjxl should be installed on your Ubuntu system from source.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2023-04-09 11:51:54 +0000
Seen: 1 times
Last updated: Apr 09
How can I install Maxdata Geo IP light on my Ubuntu Server?
How can I install Beegfs on Ubuntu 22.04?
How can I migrate all UFW Firewall Rules from one Ubuntu Server to another one?
Easy way to list the large Subdirs of a Directory in Ubuntu
How to get rid of "Authentication required: The login keyring did not get unlocked" in Ubuntu?
How can I disable the sound in an Ubuntu terminal?