I had no idea I had git added this file, but well
[myslice.git] / debian / deb-cheat-sheet
index 8524fb8..3d3f1bc 100644 (file)
@@ -16,3 +16,12 @@ dpkg-deb -c myslice_0.2.4.lxc.2013.11.26_amd64.deb
 dpkg -s myslice
 dpkg --info -c myslice_0.2.4.lxc.2013.11.26_amd64.deb
 
+--- install from a local .deb 
+dpkg -i foo.deb
+- or, if this has deps that need to be pulled through apt-get:
+gdebi foo.deb
+(install with apt-get install -y gdebi-core)
+
+--- find which package a file belongs to
+apt-file search /path/to/file
+(can be installed with : sudo apt-get install apt-file)