This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Usage: | |
# chmod +x pbackup.sh | |
# ./pbackup.sh | |
DISTRO=$(lsb_release -sc) | |
DATE=$(date +%Y-%m-%d) | |
# Clean up the system. | |
if [ $DISTRO == jammy ]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
For Ubuntu Noble. | |
sudo apt install --no-install-recommends bear lib32gcc-s1 lib32stdc++6 libc6-i386 libstdc++-11-dev libobjc-11-dev | |
wget http://mirrors.kernel.org/ubuntu/pool/universe/l/llvm-toolchain-11/libllvm11_11.1.0-6_amd64.deb | |
wget http://mirrors.kernel.org/ubuntu/pool/universe/l/llvm-toolchain-11/libclang-11-dev_11.1.0-6_amd64.deb | |
wget http://mirrors.kernel.org/ubuntu/pool/universe/l/llvm-toolchain-11/libclang-common-11-dev_11.1.0-6_amd64.deb | |
wget http://mirrors.kernel.org/ubuntu/pool/universe/l/llvm-toolchain-11/libclang1-11_11.1.0-6_amd64.deb | |
sudo dpkg -i libllvm* | |
sudo dpkg -i libclang* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
For Ubuntu. | |
Dependencies: | |
sudo apt install --no-install-recommends build-essential asciidoc clang cmake doxygen git graphviz freeglut3-dev libavif-dev libbrotli-dev libgif-dev libjpeg-dev libopenexr-dev libpng-dev libwebp-dev perl-tk pkg-config python3-sphinx | |
Source code: | |
git clone https://github.com/libjxl/libjxl.git --recursive --shallow-submodules | |
Compilation: | |
cd libjxl/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
For Ubuntu Noble. | |
Dependencies: | |
sudo apt install --no-install-recommends git build-essential gawk gettext libpugixml-dev libicu-dev liblucene++-dev libgtkspell3-3-dev \ | |
nlohmann-json3-dev libcld2-dev libcpprest-dev libwxgtk-webview3.2-dev \ | |
libboost-all-dev libsecret-1-dev | |
Source code: | |
git clone https://github.com/vslavik/poedit.git |