What is apt-get
To install package through apt-get package manager
apt-get install package-name
apt-get install phpmyadminNOTE: if you get permission denied error, then use sudo with this command. To install any package or software in Ubuntu you need root access.
sudo apt-get install phpmyadminonce you type and enter, it ask password for root user
To Remove/Delete an installed package
apt-get remove package-name
sudo apt-get remove phpmyadminIt will remove phpmyadmin from my system (except configuration files).
To remove package as well as configuration files
apt-get --purge remove package-nameThis command uninstall phpmyadmin as well as their configuration files.
Update the local package index with the latest changes
sudo apt-get updateTo update all the currently installed software packages
sudo apt-get upgradeTo check more about apt-get , you can read it’s manual.
apt-get helpI hope these commands give them the idea about what is apt-get and how to manage package using apt-get package manager utility.