How do I install "tree" via
apt-get in Terminal? I have been trying to do
apt-get update tree but nothing seems to happen.
Is it necessary to include
sudo in the command?
Use this command in Terminal:
sudo apt-get install tree
apt-get update only updates the package lists. You need
apt-get install and the package name to install a new package.
sudo is required as you need root privileges in order to install and remove software.
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?