Ways to find a list of the files installed from a .deb file.
An example.
Teapot – Table Editor And Planner- is a spreadsheet for the console.
Not in the regular debian repository, 'tho.
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.syntax-k.de/projekte/teapot/"
linktext was:"http://www.syntax-k.de/projekte/teapot/"
====================================
To find out that its html and pdf manuals were put in /usr/share/doc/teapot, and more:
1.- Use dpkg -L <the package-name>, eg “teapot” ...capital ‘ell’, no quotes.
2.- Use dpkg -c <the .deb file name> eg “Teapot-2.2.0-Linux-x86.deb” ...no quotes.
3- Use synaptic, if you have it, to view.
4- Use MC (press F3), if you have the .deb on hand.
5.- Go to packages.debian.org (if they have the package), find your .deb, look for “Files” at bottom left.
6.- Use - deb-gview - a gui Gnome viewer for .deb package files and contents “do not need to be installed to be viewed.”
7.- Use - packagesearch - a gui “find ... browse and explore your packages .... not meant to be a package managment tool like synaptic, though it is capable of installing individual packages”. Include apt-file"apt-file is a command line tool for searching files contained in packages", if you like.
***********************************************
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://linuxhelp.blogspot.com/2005/12/concise-apt-get-dpkg-primer-for-new.html"
linktext was:"http://linuxhelp.blogspot.com/2005/12/c ... r-new.html"
====================================
“A Concise apt-get - dpkg primer for new Debian users All about Linux” gives eg:
Dpkg -I ...capital “eye”, not i ! ...more info eg the “Depends:”.
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.paleez.com/debian_linux_commands.html"
linktext was:"http://www.paleez.com/debian_linux_commands.html"
====================================
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.cyberciti.biz/howto/question/linux/dpkg-cheat-sheet.php"
linktext was:"http://www.cyberciti.biz/howto/question ... -sheet.php"
====================================
************************************************
Also:
Rather than depending solely on apt-get or synaptic, go exploring at packages.debian.org.
Advantages are eg looking at “similar packages”.
I found out the varieties of eg dpkg and apt available.
How about:
dpkg-repack -"puts an unpacked .deb file back together”, “creates a .deb file out of a package that has already been installed",
or maybe apt-show-version .
topic title: Finding info about a .deb file
2 posts
• Page 1 of 1
-
Posts: 162
- Joined: 22 Feb 2010
#1
Last edited by drg on 25 Nov 2010, 19:21, edited 1 time in total.
-
Posts: 162
- Joined: 22 Feb 2010
#2
Installing a new apt breaks synaptic?
Several times I’ve installed apps that required apt, and blithely reinstalled it along with the rest. Then found that synaptic would not start at all. Re-installing synaptic with dpkg fixed this. Maybe I had actually upgraded, since squeeze is still changing a lot as testing. Recommend having those synaptic files on hand already.
Have revised the little list above.
Several times I’ve installed apps that required apt, and blithely reinstalled it along with the rest. Then found that synaptic would not start at all. Re-installing synaptic with dpkg fixed this. Maybe I had actually upgraded, since squeeze is still changing a lot as testing. Recommend having those synaptic files on hand already.
Have revised the little list above.