Installing Software with the Package Manager

Learn how to install software using the package manager.

In Installing Additional Programs with a Package Manager, we learned how to use the apt package manager built into Ubuntu to install the tree command. We want this program installed on our virtual machine so we can use it in the next chapter to visualize directory structures. We also want the unzip command so we can decompress archives. Going through this process again will give us more practice installing additional software through package managers.

Opening the terminal

We first log in to our Ubuntu machine and open a new terminal. Press “Ctrl+Alt+t” to bring up the terminal, or click the Ubuntu logo on the sidebar and type “Terminal” into the text box that appears, followed by pressing the “Enter” key. We see a new terminal window like the following:

Get hands-on with 1400+ tech skills courses.