How to install "tree" with command-line?
132,610
Use this command in Terminal:
sudo apt-get install tree
The command apt-get update only updates the package lists. You need apt-get install and the package name to install a new package.
And yes, sudo is required as you need root privileges in order to install and remove software.
Related videos on Youtube
Author by
Admin
Updated on November 27, 2022Comments
-
Admin about 5 hoursHow do I install "tree" via
apt-getin Terminal? I have been trying to doapt-get update treebut nothing seems to happen.Is it necessary to include
sudoin the command?-
Admin almost 8 yearsapt-get updateupdates the list of available packages. Please readman apt-get.
-
-
Admin over 5 yearsaptis an alias forapt-get, so you can usesudo apt install tree -
Admin over 5 years@ГригорийПерельман: You can use that command, but apt is a separate command, it is not an alias, even if it does useapt-getwhich I don't know about. -
Admin about 3 yearsAlso note that its in theuniverserepo.