11/15/2023 0 Comments Unpack tar gz files![]() ![]() ![]() They're fine, but you have to take them into account. When you find it, the tar invocation you have should work.Īnother issue in play here are spaces in filenames. You can double check your location with pwd ("present working directory", same thing as CWD). It should list the file you want to extract. These are case sensitive, so be sure that's not Downloads. Then while in /home, I try tar -xvzf TTRLinux v1.2.0.tar.gz (yes, this is the name of the file) and I get four successive errors: tar (child): TTRLinux: Cannot open: No such file or directoryīut you said "I downloaded the file in /home/Pi/downloads" - why would you expect it to be in /home? cd /home/pi/downloads But if you try to cd /pi, you are asking for the absolute path /pi, which does not exist. If you cd pi, you would be trying to change to /home/pi, since pi is a relative path. If your CWD is /usr/local, that will refer to /usr/local/home/pi/whatever. Regardless of your current working directory (CWD), that refers to the same place. home/pi/whateverīegins with the root / and is thus an absolute path. The root is / there is a further standard for its organization on linux /home is part of that. Such a filesystem is structured like a tree. You evidently are confused by the nature of a hierarchical filesystem (a term appropriated by Apple for "HFS", but which long pre-dated them and applies to most contemporary filesystems). ![]() Changing directory to /pi fails because there is no such directory. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |