Install/remove Linux Packages

installremove

Install

<pre> sudo apt-get install name // install a package. </pre>

Remove

<pre> sudo apt-get remove name // un-install package. sudo apt-get purge name // remove a package and its config files. </pre>

Search

<pre> apt-cache search name // search for a package. </pre>

Describe

<pre> apt-cache show name // describe package. apt-get showpkg name // show a package's dependencies. </pre>

List Installed

<pre> dpkg -l // list all installed packages </pre>

Update All Installed Software

<pre> # update all software (it'll ask to confirm) sudo apt-get update sudo apt-get upgrade sudo apt-get distupgrade </pre>

You May Also Like

About the Author: admin

1 Comment

Comments are closed.