{"id":334,"date":"2012-05-18T14:29:29","date_gmt":"2012-05-18T06:29:29","guid":{"rendered":"http:\/\/www.sysadmindayph.com\/blog\/?p=334"},"modified":"2016-01-02T17:43:30","modified_gmt":"2016-01-02T09:43:30","slug":"useful-commands-to-extract-packages","status":"publish","type":"post","link":"https:\/\/www.sysadmindayph.com\/blog\/useful-commands-to-extract-packages\/","title":{"rendered":"Useful commands to extract packages"},"content":{"rendered":"<p>Useful commands to extract packages:<\/p>\n<table width=\"100%\" border=\"6\">\n<tbody>\n<tr>\n<td width=\"40%\">To extract a *.tar file:<\/td>\n<td width=\"60%\">tar xvf package.tar<\/td>\n<\/tr>\n<tr>\n<td width=\"40%\">To extract a *.cpio.Z file:<\/td>\n<td width=\"60%\">zcat package.cpio.Z | cpio -idmV<\/td>\n<\/tr>\n<tr>\n<td width=\"40%\">To extract a *.gz file:\u00a0<\/td>\n<td width=\"60%\">gunzip package.gz<\/td>\n<\/tr>\n<tr>\n<td width=\"40%\">To extract *.tar.gz file:<\/td>\n<td width=\"60%\">guznip package.tar.gz; tar xvf package.tar<\/td>\n<\/tr>\n<tr>\n<td width=\"40%\">To extract *.dstream.Z file:<\/td>\n<td width=\"60%\">uncompress package.dstream.Z; pkgtrans package.dstream <strong>.<\/strong> all<\/td>\n<\/tr>\n<tr>\n<td width=\"40%\">To extract *.zip file:<\/td>\n<td width=\"60%\">unzip package.zip<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>yeah sure, citi&#8217;g gonna give me a memo for this<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Useful commands to extract packages: To extract a *.tar file: tar xvf package.tar To extract a *.cpio.Z file: zcat package.cpio.Z | cpio -idmV To extract a *.gz file:\u00a0 gunzip package.gz To extract *.tar.gz file: guznip &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[398,399,400],"class_list":["post-334","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-extract-package","tag-tar","tag-unzip"],"_links":{"self":[{"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/posts\/334","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/comments?post=334"}],"version-history":[{"count":2,"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/posts\/334\/revisions"}],"predecessor-version":[{"id":364,"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/posts\/334\/revisions\/364"}],"wp:attachment":[{"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/media?parent=334"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/categories?post=334"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/tags?post=334"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}