First install the programme called 'apt-file', type the following command in terminal
sudo apt-get update && sudo apt-get install apt-file
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfmuTDgEUc5wqSV3XWr644QUhbAZx2CKkSTxbvhA3xHksdLDK3TAHeh7PjNKbpNjdtNYNZmkr9I45kGF0lv1ApZgJsqZcceaUTvkkfT-R6tdU_8s-RljHL1OS-6ctrB6J_IrjevYAKmOw/s320/Selection_002.png)
sudo apt-file update
Now see the contents of deb file/package
sudo apt-file list packagename # This is syntax for the command
sudo apt-file file wget
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeZ5VSEnCFmCrQhDmGCnH-QhK1yXqA_5gI5DyuBHS25eH5VU2b90w3xaBRenRMSX-usFktEz0bjGXCCEL450_eA3cjbdWLX5PvT86H9okAT_0u9-kCmhu1b3vFUVtjO4V9tgagRrBK7LA/s320/Selection_003.png)
Then see the contents of package vlc
sudo apt-file list vlc
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiL-vY5XA4xfbVAk71WNNxV8m-dTDjGFqcU0NJSpxmF_ioU8CvEmhgUrxKZm5llsA0bH1DCm0tVh8uRKonUCFB479N4v2KH8rpZurcNCxQ893MzlPWLgpGc-Hs6cUWUkS4fPOUTKikE94k/s320/Selection_004.png)
How can see the deb file for example 'cndrvcups-capt_2.00-2_i386.deb' type the following in terminal
sudo dpkg-deb -c cndr*.deb
The output is
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxybqBPtCO63DpE98elU8z4NKvuHQlTbL03KKzAB7b8kRS0swNRPZBE0Sd_SsWAdr_PdaMUwxxNx6RZ04IF-nnZQ80LzHFxfwSt67oCjMCnYeamQDH8jLF31IsIhUUqD0TE1tbYVzI7lg/s320/Selection_005.png)
0 comments:
Post a Comment