Txt

Byte sized tech know-how.

  • Home
  • About

Tag Archives: apt

26 May

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
admin Posted in Command Line, Linux apt, apt-get, debian, ubuntu, update, upgrade 2 Comments
28 Apr

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 php5-mysql php5-sqlite php5-gd phpmyadmin
admin Posted in Code, Command Line, Linux apache, apt, apt-get, command, debian, lamp, Linux, mysql, PHP, ubuntu 1 Comment
06 Mar

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 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
admin Posted in Command Line, Linux apt, apt-get, command, deb, debian, download, Linux, package, ubuntu 2 Comments
16 Jul

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 
admin Posted in Command Line, Linux apt, command, deb, debian, dpkg, install, Linux, size, software Leave a comment
02 Apr

Update Package List in Apt

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


apt-get update
admin Posted in Command Line, Linux apt, list, package, update Leave a comment
01 Mar

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 mplayer xmms amarok
bzip2 ark
build-essentials binutils util-linux module-init-tools xfsprogs pcmcia-cs  procps oprofile   
kde-guidance klaptopdaemon laptop-mode-tools
admin Posted in Command Line, Linux apt, debian, etch, install, kde, laptop, Linux, packade, packages 1 Comment
26 Feb

Apt using CD/DVD

Install / upgrade a deb package from cdrom/dvd


apt-cdrom install package_name
admin Posted in Command Line, Linux apt, cd, command, debian, dvd, install, Linux, package Leave a comment
13 May

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 this for all your DVDs. After its over run this command

apt-get upgrade

To install a pacakge this command can be used

apt-get install <Package Name>

[tags]debian,install,cd,dvd,cache,apt[/tags]

admin Posted in Command Line, Linux apt, cache, cd, debian, dvd, install Leave a comment

Post navigation

Categories

  • Code
  • Command Line
  • Configuration
  • CSS
  • HTML
  • internet
  • JavaScript
  • Linux
  • Mobile
  • Perl
  • PHP
  • Python
  • Ruby
  • Uncategorized

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Fruitful theme by fruitfulcode Powered by: WordPress
↑