# 5 Package installation

Ubuntu uses [APT](https://help.ubuntu.com/community/AptGet/Howto) to manage packages. It automatically resolves and installs dependencies when a new package needs to be installed.

To install a package, e.g. "cowsay", first type `$ sudo apt update` :

<figure><img src="https://350474136-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lp-5TQVku9qP44pY25B%2Fuploads%2FD0OqM1PmwTcCzxro33Zt%2Fmsedge_WRIUf6zXZN.png?alt=media&#x26;token=94841c5e-be24-4419-9640-e934d58b85d4" alt="" width="563"><figcaption></figcaption></figure>

Then, type`$ sudo apt-get install cowsay`. Type "Y" to confirm the installation.

<figure><img src="https://350474136-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lp-5TQVku9qP44pY25B%2Fuploads%2FUuF5BsPlQqIl92emzh5b%2Fmsedge_ZMsgKxJBZL.png?alt=media&#x26;token=2d43beb4-ab3d-4997-be14-e00dced9057c" alt="" width="563"><figcaption></figcaption></figure>

For packages available on web in`.deb`, you can always download them and double-click to install.&#x20;

Our TA team has already installed some necessary packages for you. You can install other packages you may need in the VM on your own.
