Then we cd into the folder, install using makepkg -si -boconfirm. The -c option in wget makes it try to continue the download if it failed previously, not strictly necessary but can help in some situations, while the -O - option means "output ( -O) to stdout ( -)", which pipes the contents of the file to stdout and we then pipe it into tar -xz (No need for the f option as there's no file, and the v option we usually include is just for verbosity which we also don't need. The Uppercase I in the rm is the option that prompts you for confirmation before deleting anything, while the lowercase r makes it recursive so it deletes the directory together with all its contents. Downgrading is a very poor solution but does work.ฤก202's comment worked like a charm to me, so I made a one-liner in Bash that does it all, only asking for confirmation before removing the folder at the end, to ensure the one-liner has zero chances of deleting anything that shouldn't be deleted even if you mess with the environment variable (provided of course you use the same variable in the echo that asks for confirmation and in the rm command that actually deletes stuff).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |