proxyopk.blogg.se

Debian packages list
Debian packages list







debian packages list

The file should contain one or more lines that look something like this: deb stable main contrib non-free Example See the apt-get manpage for more information.Īpt-get uses /etc/apt/sources.list to determine where packages should be obtained. This command is conservative and will not process upgrades that could cause a conflict or break an existing configuration it also will not remove packages.Īdditional commands and options are available. Upgrade a system's complete set of packages to current versions safely. This is typically done before any changes are made to existing packages. removeįetch a list of currently available packages. Install or upgrade one or more packages by name. Upgrade automatically to new versions of Debian Linux. Use dpkg -S to determine the package from which a particular file was installed with the filename: # dpkg -S /usr/bin/nl Ii xdm 3.3.2.3a-11 X display manager Example 8 List the installed packages using dpkg -l if you don't specify a pattern, all packages will be listed: # dpkg -l xdm List the files in a package using dpkg -L and process the output using grep or less: # dpkg -L apt | grep '^/usr/bin' Obtain package status information, such as version, content, dependencies, integrity, and installation status, using dpkg -s: # dpkg -s apt In this example, apt-get is contained in the apt package: # dpkg -S apt-get Use the dpkg -S command to find a package containing specific files. Use dpkg -r or dpkg -purge to remove a package: # dpkg -purge elvis However, you should use the -G option when upgrading with dpkg to ensure that the installation won't proceed if a newer version of the same package is already installed. Upgrading a package is no different from installing one. Preparing to replace libncurses4 4.2-3 (using The following NEW packages will be installed:Ģ packages upgraded, 1 newly installed, 0 to remove The following extra packages will be installed: For this example, the location is : # apt-get install elvis In this case, the package comes from the location or locations configured in /etc/apt/sources.list. Preparing to replace hdparm 3.3-3 (using hdparm_3.3-3.deb)Īlternatively, use apt-get install with the name of the package. Install a package using dpkg -i with the name of an available package file: # dpkg -i. Unpack package_file, but don't install the package it contains. Search for a filename matching search_pattern from installed packages. S search_pattern (also -search search_pattern ) Remove everything except configuration files for package.

debian packages list

print-avail packageĭisplay details found in /var/lib/dpkg/available about package. l (also -list )ĭisplay information for installed package names that match pattern. This involves backing up old files, unpacking and installation of new files, and configuration. Install the package contained in package_file. i package_file ( also -install package_file) This involves setup of configuration files.









Debian packages list