Differences between revisions 2 and 61 (spanning 59 versions)
Revision 2 as of 2004-02-09 00:03:41
Size: 2901
Editor: anonymous
Comment:
Revision 61 as of 2019-08-13 19:01:53
Size: 2368
Editor: nodiscc
Comment: add CategoryPackageManagement
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## Auto-converted by kwiki2moinmoin v2005-10-07
== Contents of a debian file ==
To get the contents of the file "abc.deb", you have to enter
$ dpkg-deb -c abc.deb
#language en
||<tablestyle="width: 100%;" style="border: 0px hidden">~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: [[bn/QuickPackageManagement|বাংলা]] - [[pt_BR/QuickPackageManagement|Brasileiro]] - [[el/QuickPackageManagement| Ελληνικά]] - English - [[es/QuickPackageManagement|Español]] - [[fr/QuickPackageManagement|Français]] - [[de/QuickPackageManagement|German]] - [[he/QuickPackageManagement|עברית (Hebrew)]] - [[id/QuickPackageManagement|Indonesian]] - [[it/QuickPackageManagement|Italiano]] - [[ru/QuickPackageManagement|Русский]] - [[ta/QuickPackageManagement|தமிழ் (Tamil)]] -~ ||<style="text-align: right; border: 0px hidden"> (!) [[/Discussion|Discussion]]||
<<BR>>
||<tablestyle="width: 100%; text-align: center; border: 0px hidden"> {{http://www.debian.org/logos/openlogo-nd-50.png}} {{http://www.debian.org/Pics/debian.png}}||
||<style="border: 0px hidden">~+{{attachment:Portal/IDB/logo_portal.png}} Welcome to [[Debian]] package management+~||
----
{{attachment:Portal/IDB/icon-apt-32x32.png}} The main goal of this portal is to guide your first steps with Debian. It explains the basics of installation and how Debian works. This portal is designed for beginners. It uses simplified language. We recommend reading [[QuickInstall|installation of Debian]] before starting here.
----
{{{#!wiki debian
http://www.debian.org/doc/manuals/debian-reference/ch02.en.html – Debian official references
}}}
Line 6: Line 13:
== Reconfiguring of debconf ==
To reconfigure debconf, so that it informs you of most changes of the new packages, you have to enter
# dpkg-reconfigure debconf
Chose "medium" here
 * [[Apt]] - The main package management suite of tools
 * [[Synaptic]] – The preferred Gtk GUI front end for [[Apt|APT]]
 * [[Aptitude]] – The preferred text front end for [[Apt|APT]]
 * [[DebianUpgrade]] – How to upgrade your distribution
 * [[Backports]] – [[DebianStable|Debian stable]] runs well but the software is outdated compared with other distributions. This is where backports comes in.
Line 11: Line 19:
== Package Management with apt-get and dpkg ==
=== Package resource list for APT ===
The file /etc/apt/sources.list is the definition file of the sources for apt. For further information about this file type
man 5 sources.list
----
See also:
Line 16: Line 22:
===Retrieve new lists of packages: PackageManagement: [[PackageManagement/PkgTools|List of tools]]
Line 18: Line 24:
To fetch the new lists of all the packages from sources.list enter as root
# apt-get update
This command checks for new release-files on the given servers. Luckily the command is clever enough to check if the release-file has changed after the last update.
If you are using Flatpaks: [[FlatpakHowto]] and [[https://flatpak.org/setup|FlatpakOfficial]]
Line 22: Line 26:
===Upgrade of all the files: Note: Flatpak is distro independent project that uses sandbox-like technology for application management and deployment (even building) and also not maintained by Debian project by any direct means.
Line 24: Line 28:
To make an update of all the changed packages, enter the line
# apt-get update -u
The additional flag -u shows a list of upgraded packages as well. If you want to run the update in a cron-job, you should use the flags -dy. With this flags the new packages will be downloaded but not installed. You can install them later by writing apt-get update -u.

===Distribution Upgrade of all the files:

To make an upgrade of your actual distribution (e.g from potato to woody or when using unstable) replace upgrade with dist-upgrade when entering your command. So you have to type
apt-get dist-upgrade -dy
apt-get dist-upgrade -u
for an distribution upgrade.

===Add a package:

How can you add a package to your system without the gui-programms? All you have to do is find out the name of this package and enter the command
apt-get install sylpheed-claws
to add the package sylpheed-claws.

===Remove a package:

To get rid of the package foo which is no longer needed, enter the command
# apt-get remove foo
If the package is needed by other packages you will be prompted to remove this package and all packages which depend on it.

===Forced removing of a package:

While making an distibution upgrade it coud happen that you have to remove a package first. But sometimes this is not possible with apt-get remove since the package has unmet dependencies or is not installed completely. You can remove the package foo by using the command
dpkg --force-all --remove foo

===Read the contents of a installed package:

Sometimes you wan't to know which files are in the package foo. To get this information enter the command
dpkg -L foo

===Get the description of a package:

You don't know what the package foo is for? Just write
dpkg -p foo

===Search the package of a file:

Have you ever wondered to which package belongs a given file? To get this information (e.g. for /usr/bin/apt-get), start the command
dpkg -S /usr/bin/apt-get
and it will tell you that this file is part of the package apt.
CategoryPackageManagement | CategoryPortal | CategoryQuickPackageManagement
 
 

Translation(s): বাংলা - ?Brasileiro - Ελληνικά - English - Español - Français - German - עברית (Hebrew) - Indonesian - Italiano - Русский - தமிழ் (Tamil)

(!) ?Discussion


http://www.debian.org/logos/openlogo-nd-50.png http://www.debian.org/Pics/debian.png

Portal/IDB/logo_portal.png Welcome to Debian package management


Portal/IDB/icon-apt-32x32.png The main goal of this portal is to guide your first steps with Debian. It explains the basics of installation and how Debian works. This portal is designed for beginners. It uses simplified language. We recommend reading installation of Debian before starting here.


  • Apt - The main package management suite of tools

  • Synaptic – The preferred Gtk GUI front end for APT

  • Aptitude – The preferred text front end for APT

  • DebianUpgrade – How to upgrade your distribution

  • BackportsDebian stable runs well but the software is outdated compared with other distributions. This is where backports comes in.


See also:

PackageManagement: List of tools

If you are using Flatpaks: FlatpakHowto and FlatpakOfficial

Note: Flatpak is distro independent project that uses sandbox-like technology for application management and deployment (even building) and also not maintained by Debian project by any direct means.

CategoryPackageManagement | CategoryPortal | ?CategoryQuickPackageManagement