Apt-Get Package Manager
You can use Apt-Get to install tools, interpreters, and databases. Since root access is provided you can follow the official documentation for packages within the Apt repository and install with sudo access. Note that Autoparts is no longer provided as it has been replaced with Apt-Get.
Installing Tools and Databases
Since this container is Ubuntu-based, you have full access to thousands of Ubuntu and Debian packages. You can browse them at:
Alternately, you can search for a package by running the following in the command-line:
$ apt-cache search <search term>
Once you have identified the package(s) you’d like, install as follows:
$ sudo apt-get install <one or more package names>
Updating installed software
To update software already installed on your container, just run the following commands:
$ sudo apt-get update $ sudo apt-get dist-upgrade
Example (How to Install MySQL)
To install MySQL, run the following command within the console:
$ sudo apt-get install mysql-server libapache2-mod-auth-mysql
During the installation you will be prompted to set a root password. Create a password you will remember and press enter to continue.
Once installed, activate it with the following command:
$ sudo mysql_install_db
Complete the installation by running the following command:
$ sudo /usr/bin/mysql_secure_installation
When prompted to enter your root password you can leave this blank and press return. Select
N when asked if you would like to change your password.
Connect to your mysql with the following command, and when prompted enter in the password you created earlier:
$ mysql -u root -p