A PCRE internal error occured. This might be caused by a faulty plugin

====== Differences ====== This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
packages:manage [2014/01/09 14:13]
admin [List all installed packages]
packages:manage [2015/11/22 03:33] (current)
admin [Find what package a specific file does come from]
Line 2: Line 2:
 Useful information about managing packages can be found [[http://​newbiedoc.sourceforge.net/​tutorials/​apt-get-intro/​info.html.en|in the Source Forge newbie documentation]]. Useful information about managing packages can be found [[http://​newbiedoc.sourceforge.net/​tutorials/​apt-get-intro/​info.html.en|in the Source Forge newbie documentation]].
  
-Here are a few commands that might come handy whenever you information about [installed] packages on your system:+Here are a few commands that might come handy whenever you seek information about [installed] packages on your system:
  
 ==== Updating package list from sources ==== ==== Updating package list from sources ====
Line 26: Line 26:
 </​code>​ </​code>​
  
 +==== Get versionning information ====
 +<​code>​
 +apt-cache policy <​package>​
 +</​code>​
 ==== List all installed packages ==== ==== List all installed packages ====
 To show **what packages are installed** on your system, and know if they need configuration use: To show **what packages are installed** on your system, and know if they need configuration use:
Line 47: Line 51:
 </​code>​ </​code>​
 This will let you know what packages are installed (ii), uninstalled (un) or are marked to be purged (pn). This will let you know what packages are installed (ii), uninstalled (un) or are marked to be purged (pn).
 +
 +==== Find what package a specific file does come from ====
 +Here's how to find which package contains/​supplies a certain file:
 +<​code>​
 +sudo dpkg -S postmaster
 +sudo dpkg -S '​doc/​*sql'​ | cut -f1 -d: | sort -u
 +</​code>​
 +
 +==== Removing an Installed Package ====
 +
 +To completely remove an already installed package:
 +<​code>​
 +> apt-get --purge remove <​package>​
 +</​code>​
 ===== Adding a Repo(sitory) to Your Sources ===== ===== Adding a Repo(sitory) to Your Sources =====
-==== Package ​Management ​====+==== Package ​Repositories ​====
 Debian and Debian based distributions (Linspire, Xandros, Ubuntu, and Mepis to name a few) use a tool called APT (Advanced Packaging Tool) to manage all software on the system. The term "​package"​ refers to an individual file with a .deb extension that contains either all or part of an application. Debian and Debian based distributions (Linspire, Xandros, Ubuntu, and Mepis to name a few) use a tool called APT (Advanced Packaging Tool) to manage all software on the system. The term "​package"​ refers to an individual file with a .deb extension that contains either all or part of an application.
  
Line 55: Line 73:
 Linux Mint Debian Edition comes with some default repositories that are already setup, but these contain only a portion of the freely available software out there waiting for you. Linux Mint Debian Edition comes with some default repositories that are already setup, but these contain only a portion of the freely available software out there waiting for you.
  
 +==== Choosing a Mirror ====
 +<wrap todo>TO BE COMPLETED</​wrap>​
 ==== /​etc/​apt/​sources.list ==== ==== /​etc/​apt/​sources.list ====
  
Line 80: Line 100:
  
 ==== Source Packages ==== ==== Source Packages ====
-No all repos provide source packages, if a repo only provides .deb packages, omit the second line (deb-src) when adding the repo to your sources. Otherwise, apt-get update will stop with an error of type:+Not all repos provide source packages, if a repo only provides .deb packages, omit the second line (deb-src) when adding the repo to your sources. Otherwise, apt-get update will stop with an error of type:
 <​code>​ <​code>​
 Failed to fetch http://​download.myrepo.org/​repository/​debian/​dists/​wheezy/​InRelease Failed to fetch http://​download.myrepo.org/​repository/​debian/​dists/​wheezy/​InRelease
Line 109: Line 129:
 sudo apt-get install python-software-properties sudo apt-get install python-software-properties
 </​code>​ </​code>​
-==== Package / Software Managers ====+===== Package / Software Managers ====
 +<wrap todo>TO BE COMPLETED</​wrap>​