Tag: apt

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…

Install LAMP Stack on Ubuntu/Debian

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…

Download Deb Files Using apt-get

If you want to download the deb files without installing them, use the following command. The downloaded file will be…

Package Listing in Debian

Show space used by deb packages installed sorted by size (ubuntu, debian and like) dpkg-query -W -f='{Installed-Size;10}t{Package}n’ | sort -k1,1n

Update Package List in Apt

Update the package list – do this after you change the source in /etc/apt/sources.list . apt-get update

Packages to Install in a Debian/KDE Laptop

I usually install these packages after I install Debian/KDE in a Laptop. apt-get install … kdebase k3b gcc vlc xine-ui…

Apt using CD/DVD

Install / upgrade a deb package from cdrom/dvd apt-cdrom install package_name

Caching Debain installation DVD/CD

Cache all your Debain installation DVD/CDs Put the first DVD in the drive and run this command apt-cdrom add Do…