Last active
June 19, 2016 08:32
-
-
Save mohitesachin217/48e16a669f2b85f2cdeecfdeaed61b3f to your computer and use it in GitHub Desktop.
debian package management system
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dpkg | |
dpkg-reconfigure | |
APT | |
--apt-get , apt-cache | |
--configuration | |
aptitute | |
dpkg is the program is used to installing debian pacakages | |
dpkg -l firefox to see if firefox installed and the information about the firefox | |
dpkg -p firefox to see other documentattion on the machine | |
dpkg -i install debian package | |
dpkg -r [name of the package] --- removes the package installed | |
dpkg flags | |
-i --install -- install the package | |
-l --list -- lists all the pacakges | |
-L --list files -- show all install files | |
-P --purge -- will remove the program and the config files | |
-p --print available -- gives details | |
-r --remove -- will remove the program only not the config files | |
-S --search -- shows what pacakge it from or displays package supplying file | |
dpkg-reconfigure | |
-- very handy | |
-- you need to know the package name | |
dpkg-reconfigure | |
apt pacakge management system | |
-- dist-upgrade -- upgrades the version | |
-- update -- normal system update | |
-- install -- install pacakges | |
-- remove -- removes the packages | |
apt-cache commands | |
-- search -- search keywork | |
-- show -- shows the information about the file | |
-- depends -- shows the dependencies | |
-- rdepends -- reverse dependencies -- shows which other packages depends on it | |
aptitude is same as the apt and have same commands | |
-- search -- search keywork | |
-- show -- shows the information about the file | |
-- depends -- shows the dependencies | |
-- rdepends -- reverse dependencies -- shows which other packages depends on it | |
you can use aptitude with no parameters to launch graphical tool which can help you to manage pakages graphically | |
Configuration | |
/etc/apt/sources.list === files contains the list of repositories information were os can update the app cache and install softwares with apt-get commands | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment