You are not logged in.
Pages: 1
I recently downloaded an update for Slimjet . It was a .deb file. It downloaded to "my documents" file. When I tried to install it using "sudo dpkg -i" command,I got an error message saying"could not find file" ."no file exists". I copied the file to my desktop,and tried again. This time,it found the file,and installed it. Is there a specific place to download files..? Any input would be appreciated.
Offline
You probably need to enclose the path argument in quotes, so the command should look like this:
$ sudo dpkg -i "/home/username/my documents/slimjet_version.deb"
alternatively, without quotes, you would need to prepend a backslash to the space:
$ sudo dpkg -i /home/username/my\ documents/slimjet_version.deb
Offline
Thanks Q4OS Team...! Happy New Year..!
Offline
A handy trick to get around the spaces in pathnames is to use the bash completion (tab) just start typint the path and press tab to complete the path for you, for example when you typed /home/username/my you could then press tab and it will complete the line for you including the escape characters which would allow the command to work.
Bash completion can be used to fill filenames for most bash instructions, and if there is more than one choice you can press tab a second time to get a list of filenames or command parameters (sometimes) and you can type a few more letter until there is only one choice and it will then be entered. I find it very useful in the terminal.
Offline
Thanks so much,Dai..!
As always, very helpful info..!
Offline
You're welcome
Offline
Pages: 1