Add install to Cheatsheet/deb

This commit is contained in:
Henrik Qvigstad 2017-03-07 09:50:37 +01:00 committed by GitHub
parent edd7b5e806
commit bb3c4105cb
1 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,7 @@
# Extract contents of a .deb file # Extract contents of a .deb file
$ ar vx foo.deb # -> data.tar.gz $ ar vx foo.deb # -> data.tar.gz
$ tar xf data.tar.gz $ tar xf data.tar.gz
# Install .deb file to a debian like system, e.g. ubuntu
$ sudo dpkg -i foo.deb
$ sudo apt-get install -f