Posts Tagged With: apt-get

Upgrade Ubuntu to the Latest Version

Tagged with: , , , , ,

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
2 Comments »

Install LAMP Stack on Ubuntu/Debian

Tagged with: , , , , , , , , ,

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
1 Comment »

Download Deb Files Using apt-get

Tagged with: , , , , , , , ,

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
2 Comments »