Upgrade Ubuntu to the Latest Version
Use these two commands to upgrade to the latest version of Ubuntu/other debian based distros.
sudo apt-get update
sudo apt-get dist-upgrade
Use these two commands to upgrade to the latest version of Ubuntu/other debian based distros.
sudo apt-get update
sudo apt-get dist-upgrade
Install LAMP Stack on Ubuntu/Debian using apt-get
sudo apt-get install openssh-server openssh-client apache2 libapache2-mod-php5 php5-cli php5-common php5-cgi mysql-client mysql-common mysql-server php5-mysql php5-sqlite php5-gd phpmyadmin
If you want to download the deb files without installing them, use the following command. The downloaded file will be at /var/cache/apt/archives . Needless to say, this works only on Debian based distros – like Ubuntu, Kubuntu, etc
apt-get -d install PACKAGE-NAME