Hi!
I want to use xfsdump, how can I install this package on CL?
I thought it was in xfsprogs, but i think it’s in dump.
sudo swupd update
sudo swupd bundle-add dump
Nope
$ sudo swupd bundle-add dump
Loading required manifests...
Warning: Bundle "dump" is invalid, skipping it...
Failed to install 1 of 1 bundles
I can’t check it myself right now, give this a try :
sudo swupd bundle-add os-core-xfs
I do not have a package called os-core-xfs
Try this.
sudo swupd bundle-add xfsprogs
bundle
xfsprogs
is installed, but does not contain xfsdump
sudo swupd bundle-add os-core-dev
wget https://www.kernel.org/pub/linux/utils/fs/xfs/xfsdump/xfsdump-3.1.12.tar.gz
tar -xvzf xfsdump-3.1.12.tar.gz
cd xfsdump-3.1.12
./configure --disable-shared --enable-static
make
sudo make install
UPDATE: xfsdump added to xfsprogs bundle in 41890
There is an xfsprogs, but there is no xfsdump. Based on my search on GitHub - clearlinux/clr-bundles: Bundle definitions for Clear Linux OS it hasnt been packaged for clear linux. You’ll have to try building it from source
Dependencies
sudo swupd bundle-add kvm-host-dev xfsprogs devpkg-util-linux devpkg-attr devpkg-ncurses
download source tarball https://mirrors.edge.kernel.org/pub/linux/utils/fs/xfs/xfsdump/xfsdump-3.1.12.tar.xz
tar xf xfsdump-3.1.12.tar.xz
cd xfsdump-3.1.12
./configure
make
sudo make install
# or sudo make install-dev
We were typing the solution at the same time…
Yea, that’s what I though…
Thank you guys
I had to open an issue to include these programs, I saw in another distro that they are separated and not included in xfsprogs.
xfsdump added to xfsprogs bundle in 41890
i@clr~ $ sudo swupd search-file xfsdump
Password:
Downloading all Clear Linux manifests
[100%]
Searching for 'xfsdump'
Bundle xfsprogs [installed] (311 MB on system)
/usr/share/package-licenses/xfsdump/f38aac1e64e9f8fdd9037bea6259a999376dd9ad
/usr/share/package-licenses/xfsdump/901f4cc558fe3ee50112cdf50c90a17b284c58ce
/usr/share/man/man8/xfsdump.8
/usr/share/locale/pl/LC_MESSAGES/xfsdump.mo
/usr/share/locale/de/LC_MESSAGES/xfsdump.mo
/usr/bin/xfsdump