LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-27-2016, 10:57 PM   #1
mzsade
Member
 
Registered: Sep 2009
Distribution: Linux Mint 9, Linux Mint 17.2(xfce), LMDE2(Mate), Debian Jessie minimal (with standalone OBox)
Posts: 299

Rep: Reputation: 34
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.
 
Old 10-27-2016, 11:27 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 7.7 (?), Centos 8.1
Posts: 17,873

Rep: Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600
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' "
 
1 members found this post helpful.
Old 10-28-2016, 12:43 AM   #3
mzsade
Member
 
Registered: Sep 2009
Distribution: Linux Mint 9, Linux Mint 17.2(xfce), LMDE2(Mate), Debian Jessie minimal (with standalone OBox)
Posts: 299

Original Poster
Rep: Reputation: 34
Thanks a mil, Chris. Seems so obvious when an adept explains it..
 
Old 10-31-2016, 03:13 AM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 7.7 (?), Centos 8.1
Posts: 17,873

Rep: Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600
You're welcome
 
  


Reply

Tags
android


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How To Install Package on External Hard Drive? rshepard Slackware 7 06-28-2014 06:23 PM
trying to exportfs an external drive that has a space in the pathname unclejed613 Slackware 2 12-26-2012 11:31 PM
External Hard Drive Missing Space swordphsh Linux - Hardware 6 11-14-2008 07:08 PM
Missing disk space in external HDD wearetheborg Linux - General 4 04-10-2007 04:47 AM
External drive - wrong size af free space yannator Linux - General 2 06-27-2005 02:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration