LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to install an external package which has a space in it's name? (https://www.linuxquestions.org/questions/linux-software-2/how-to-install-an-external-package-which-has-a-space-in-its-name-4175592395/)

mzsade 10-27-2016 10:57 PM

How to install an external package which has a space in it's name?
 
Hi, I am running Debian Sid but i think this is more of a general Linux question related to software and so posting here.

I need to install this android pkg.,
"Joispot WiFi_v7.4.0_apkpure.com.apk"
Managed to install shashlik successfully after a bit of a hiccup about dependencies but when the above package with it, the shell sees "WiFi_v7.4.0_apkpure.com.apk" as a separate argument and fails to recognize it. I tried renaming it by connecting "Joispot" and the rest with an underscore but then i ran into trouble with name recognition in several of the package's and shashlik's files. Is it possible to let the space remain with an escape character or something in this line "sudo /opt/shashlik/bin/shashlik-install /data1/Joispot WiFi_v7.4.0_apkpure.com.apk"? If so how do i go about it? Because i don't see any other way out of this, and i really need to install this package urgently if i am to stay connected..any help would be greaty appreciated. Thanks.

chrism01 10-27-2016 11:27 PM

Try either
Code:

# escaping ie use '\'
Joispot\ WiFi_v7.4.0_apkpure.com.apk

# (extra) single quotes
sudo /opt/shashlik/bin/shashlik-install '/data1/Joispot WiFi_v7.4.0_apkpure.com.apk' "


mzsade 10-28-2016 12:43 AM

Thanks a mil, Chris. Seems so obvious when an adept explains it..:D

chrism01 10-31-2016 03:13 AM

You're welcome :)


All times are GMT -5. The time now is 04:47 AM.