Score:2

How to get executable program from tar.xz file

us flag

I want to use the program KDE Iso Imagewriter, but it seems to only be available as a tar.xz file. How do I derive an executable file from the tar.xz file?

cocomac avatar
cn flag
Does this answer your question? [How do I install a .tar.gz (or .tar.bz2) file?](https://askubuntu.com/questions/25961/how-do-i-install-a-tar-gz-or-tar-bz2-file) I'm aware that the compression format is different, but it is pretty much the same.
Score:2
zw flag

This KDE Iso Imagewriter package is distributed in source code form. It is possible to get compilation instructions for Ubuntu by reading ArchLinux PKGBUILD.

Below is the list of commands for building on Ubuntu 20.04 LTS:

sudo apt-get update
sudo apt-get install wget xz-utils cmake extra-cmake-modules build-essential gettext libkf5i18n-dev libkf5coreaddons-dev libkf5widgetsaddons-dev libkf5iconthemes-dev libudev-dev libgpgme-dev libgpgmepp-dev libgpg-error-dev pkg-config appstream

cd ~/Downloads
wget -c https://download.kde.org/unstable/isoimagewriter/0.8/isoimagewriter-0.8.tar.xz
tar -xf isoimagewriter-0.8.tar.xz
cd isoimagewriter-0.8
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release
make -j$(nproc)
sudo make install

and then enjoy KDE Iso Imagewriter.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.