How to Install and Uninstall mtree Package on openSUSE Leap

Last updated: November 08,2024

1. Install "mtree" package

Please follow the steps below to install mtree on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install mtree

2. Uninstall "mtree" package

Please follow the steps below to uninstall mtree on openSUSE Leap:

$ sudo zypper remove mtree

3. Information about the mtree package on openSUSE Leap

Information for package mtree:
------------------------------
Repository : Main Repository
Name : mtree
Version : 1.0.4-bp155.3.11
Arch : x86_64
Vendor : openSUSE
Installed Size : 52.5 KiB
Installed : No
Status : not installed
Source package : mtree-1.0.4-bp155.3.11.src
Upstream URL : https://github.com/archiecobbs/mtree-port
Summary : Tool for creating and verifying file hierarchies
Description :
The mtree utility compares the file hierarchy rooted in the current
directory against a specification read from the standard input. Messages
are written to the standard output for any files whose characteristics do
not match the specifications, or which are missing from either the file
hierarchy or the specification.
Note: This is an older FreeBSD version of mtree; a newer NetBSD version
is also available in the package "nmtree".

5. The same packages on other Linux Distributions