Pages

Wednesday, June 28, 2017

15 Practical Examples of “dpkg commands” for Debian Based Distros

Debian GNU/Linux, the mother Operating System of a number of Linux distributions including KnoppixKaliUbuntuMint, etc. uses various package Manager like dpkgaptaptitudesynaptictaskseldeselectdpkg-deb and dpkg-split.
dpkg Command Examples
15 dpkg Command Examples
We will be describing each of these briefly before focusing on ‘dpkg‘ command.

APT Command
Apt stands for Advanced Package Tool. It doesn’t deal with ‘deb‘ package and works directly, but works with ‘deb‘ archive from the location specified in the “/etc/apt/sources.list” file.
Aptitude
Aptitude is a text based package manager for Debian which is front-end to ‘apt‘, which enables user to manage packages easily.
Synaptic
Graphical package manager which makes it easy to installupgrade and uninstall packages even to novice.
Tasksel
Tasksel lets the user to install all the relevant packages related to a specific task, viz., Desktop-environment.
Deselect
menu-driven package management tool, initially used during the first time install and now is replaced with aptitude.
Dpkg-deb
Interacts with Debian archive.
Dpkg-split
Useful in splitting and merging large file into chunks of small files to be stored on media of smaller size like floppy-disk.
Dpkg Command
dpkg is the main package management program in Debian and Debian based System. It is used to installbuildremove, and manage packages. Aptitude is the primary front-end to dpkg.
Some the most commonly used dpkg commands along with their usages are listed here:

1. Install a Package

For installing an “.deb” package, use the command with “-i” option. For example, to install an “.deb” package called “flashpluginnonfree_2.8.2+squeeze1_i386.deb” use the following command.

      ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
                                                    ► Read more: http://adf.ly/1nBRfV
      ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

No comments:

Post a Comment