Apt is the package manager provided with Ubuntu; there's no need to install it. It allows you to install both command-line tools and applications out of the box. If an application isn't available from Apt's repository, you can add a repository using the following command:
add-apt-repository