Install tree in manjaro linux

Rubenshibu
Nov 13, 2021

Today we are going to discuss about tree command in linux, tree is a directory listing command which produces a depth listing of files, showing in a tree structure

tree is a recursive directory listing command that creates a depth indented file listing.

ENABLE SNAPS AND INSTALL TREE COMMAND

Snaps are applications that are packed with all of their dependencies and can be installed on all major Linux distributions with a single build.

snapd can be installed from the command line:

sudo pacman -S snapd

It’s necessary to enable the systemd unit that manages the main snap communication socket:

sudo systemctl enable --now snapd.socket

To make a symbolic connection between /var/lib/snapd/snap and /snap, type the following:

sudo ln -s /var/lib/snapd/snap /snap

RESTART YOUR TERMINAL, then

COMMAND FOR TREE INSTALLATION

sudo snap install tree

--

--