With the usage of wget command line I got a tar.gz file. I downloaded it in the root@raspberrypi. Is there any way to uncompress it in the /usr/src folder?
Asked
Active
Viewed 1.6e+01k times
3 Answers
152
Use -C
option of tar:
tar zxvf <yourfile>.tar.gz -C /usr/src/
and then, the content of the tar should be in:
/usr/src/<yourfile>

qingchen
- 1,706
- 1
- 11
- 3
-
14-z : filter the archive through gzip • -x : extract files from an archive • -v : verbosely list files processed • -f : use archive file or device F (default "-", meaning stdin/stdout) • See http://linuxcommand.org/man_pages/tar1.html – Dane Rossenrode May 21 '17 at 08:07