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.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
packages:manage [2014/01/09 14:25] admin [Package Repositories] |
packages:manage [2015/11/22 03:33] (current) admin [Find what package a specific file does come from] |
||
|---|---|---|---|
| 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 53: | Line 57: | ||
| sudo dpkg -S postmaster | sudo dpkg -S postmaster | ||
| sudo dpkg -S 'doc/*sql' | cut -f1 -d: | sort -u | sudo dpkg -S 'doc/*sql' | cut -f1 -d: | sort -u | ||
| - | </code> | + | </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 Repositories ==== | ==== Package Repositories ==== | ||
| Line 89: | 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 | ||
