Package management in Ubuntu

From Notes_Wiki
Revision as of 03:14, 7 October 2013 by Saurabh (talk | contribs) (Created page with "<yambe:breadcrumb>Ubuntu|Ubuntu</yambe:breadcrumb> =Package management in Ubuntu= ==Package management commands== ===Update package metadata=== To get list of latest package...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<yambe:breadcrumb>Ubuntu|Ubuntu</yambe:breadcrumb>

Package management in Ubuntu

Package management commands

Update package metadata

To get list of latest packages from repository servers use:

sudo apt-get update


Install package

To installing package use:

sudo apt-get install <package-name>


Searching package

To search for a package with name or word in description use:

apt-cache search <word>


List installed packages

To get list of all installed packages use:

dpkg --get-selections


Package information

To get information about package use:

apt-cache show <package-name>


Package management tools

Package management tools supported by Ubuntu are:

aptitude
ncurses based
synaptic
Graphical


Learn more at https://help.ubuntu.com/community/AptGet/Howto


<yambe:breadcrumb>Ubuntu|Ubuntu</yambe:breadcrumb>