Page 1 of 1

unzip: filename not matched

Posted: Wed Apr 26, 2017 2:22 pm
by Seff
Hello- I'm trying to set up Android Studio on Mint 17.2 MATE. (https://developer.android.com/studio/pr ... eview.html) The problem is, when I try to extract it via command-line I get:

Code: Select all

sudo unzip -xf android-studio-ide-171.3909050-linux.zip -C /usr/local
Archive:  android-studio-ide-171.3909050-linux.zip
caution: filename not matched:  -C
caution: filename not matched:  /usr/local
While I could just unzip the thing from my file manager and set up a script or desktop entry, I want to know why this command fails. Please help.

I was able to extract the file, dropping all the arguments and simply running unzip on it. Odd.

Re: unzip: filename not matched

Posted: Wed Apr 26, 2017 2:45 pm
by xenopeek
The options you use on the command do not make any sense. See https://explainshell.com/explain?cmd=su ... sr%2Flocal

Perhaps have another read of the unzip manpage.

Re: unzip: filename not matched

Posted: Wed Apr 26, 2017 4:49 pm
by Seff
Thanks. I was given instructions on how to unpack a tar file, but then it turned out Studio is packaged in a zip file.

Re: unzip: filename not matched

Posted: Wed Apr 26, 2017 5:14 pm
by Flemur
Double-click the .zip file in your file-browser.

Re: unzip: filename not matched

Posted: Wed May 03, 2017 11:45 am
by Seff
Flemur wrote:Double-click the .zip file in your file-browser.
Does that give me administrative permissions, though? I think they're needed for anything that's under / rather than /home.

Re: unzip: filename not matched

Posted: Fri May 05, 2017 10:40 pm
by shengchieh
In thunar, I think (but not sure) you can set it to have administrative status. I never done this (always used the terminal - long-time unix user). Take a look

thunar -> edit -> configure custom actions

There is an "open as root" option.

Never used it, so you are on your own. Hopefully you figure it out.

Sheng-Chieh