Error while installing mendeley [closed]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I want to install mendeley, but when I ran the command



sudo dpkg -i <path-to-download-package>


I got this error:



bash: syntax error near unexpected token `newline'









share|improve this question















closed as unclear what you're asking by muru, Zanna, Eric Carvalho, clearkimura, Volker Siegel Jan 29 at 13:32


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.










  • 3




    what command did you run to get this error?
    – stumblebee
    Jan 28 at 10:18










  • I use sudo dpkg -i <path-to-download-package>
    – Raisul Hadi
    Jan 28 at 10:24










  • Try running the same command with <path-to-download-package> enclosed in a pair of single quote characters.
    – karel
    Jan 28 at 10:27






  • 1




    run the command without the <>
    – stumblebee
    Jan 28 at 10:28











  • but I got this massage "dpkg: error processing archive path-to-download-package (--install): cannot access archive: No such file or directory Errors were encountered while processing: path-to-download-package"
    – Raisul Hadi
    Jan 28 at 13:02














up vote
0
down vote

favorite












I want to install mendeley, but when I ran the command



sudo dpkg -i <path-to-download-package>


I got this error:



bash: syntax error near unexpected token `newline'









share|improve this question















closed as unclear what you're asking by muru, Zanna, Eric Carvalho, clearkimura, Volker Siegel Jan 29 at 13:32


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.










  • 3




    what command did you run to get this error?
    – stumblebee
    Jan 28 at 10:18










  • I use sudo dpkg -i <path-to-download-package>
    – Raisul Hadi
    Jan 28 at 10:24










  • Try running the same command with <path-to-download-package> enclosed in a pair of single quote characters.
    – karel
    Jan 28 at 10:27






  • 1




    run the command without the <>
    – stumblebee
    Jan 28 at 10:28











  • but I got this massage "dpkg: error processing archive path-to-download-package (--install): cannot access archive: No such file or directory Errors were encountered while processing: path-to-download-package"
    – Raisul Hadi
    Jan 28 at 13:02












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I want to install mendeley, but when I ran the command



sudo dpkg -i <path-to-download-package>


I got this error:



bash: syntax error near unexpected token `newline'









share|improve this question















I want to install mendeley, but when I ran the command



sudo dpkg -i <path-to-download-package>


I got this error:



bash: syntax error near unexpected token `newline'






command-line bash software-installation mendeley






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 23 at 7:30









Zanna

48.3k13120229




48.3k13120229










asked Jan 28 at 10:03









Raisul Hadi

12




12




closed as unclear what you're asking by muru, Zanna, Eric Carvalho, clearkimura, Volker Siegel Jan 29 at 13:32


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.






closed as unclear what you're asking by muru, Zanna, Eric Carvalho, clearkimura, Volker Siegel Jan 29 at 13:32


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.









  • 3




    what command did you run to get this error?
    – stumblebee
    Jan 28 at 10:18










  • I use sudo dpkg -i <path-to-download-package>
    – Raisul Hadi
    Jan 28 at 10:24










  • Try running the same command with <path-to-download-package> enclosed in a pair of single quote characters.
    – karel
    Jan 28 at 10:27






  • 1




    run the command without the <>
    – stumblebee
    Jan 28 at 10:28











  • but I got this massage "dpkg: error processing archive path-to-download-package (--install): cannot access archive: No such file or directory Errors were encountered while processing: path-to-download-package"
    – Raisul Hadi
    Jan 28 at 13:02












  • 3




    what command did you run to get this error?
    – stumblebee
    Jan 28 at 10:18










  • I use sudo dpkg -i <path-to-download-package>
    – Raisul Hadi
    Jan 28 at 10:24










  • Try running the same command with <path-to-download-package> enclosed in a pair of single quote characters.
    – karel
    Jan 28 at 10:27






  • 1




    run the command without the <>
    – stumblebee
    Jan 28 at 10:28











  • but I got this massage "dpkg: error processing archive path-to-download-package (--install): cannot access archive: No such file or directory Errors were encountered while processing: path-to-download-package"
    – Raisul Hadi
    Jan 28 at 13:02







3




3




what command did you run to get this error?
– stumblebee
Jan 28 at 10:18




what command did you run to get this error?
– stumblebee
Jan 28 at 10:18












I use sudo dpkg -i <path-to-download-package>
– Raisul Hadi
Jan 28 at 10:24




I use sudo dpkg -i <path-to-download-package>
– Raisul Hadi
Jan 28 at 10:24












Try running the same command with <path-to-download-package> enclosed in a pair of single quote characters.
– karel
Jan 28 at 10:27




Try running the same command with <path-to-download-package> enclosed in a pair of single quote characters.
– karel
Jan 28 at 10:27




1




1




run the command without the <>
– stumblebee
Jan 28 at 10:28





run the command without the <>
– stumblebee
Jan 28 at 10:28













but I got this massage "dpkg: error processing archive path-to-download-package (--install): cannot access archive: No such file or directory Errors were encountered while processing: path-to-download-package"
– Raisul Hadi
Jan 28 at 13:02




but I got this massage "dpkg: error processing archive path-to-download-package (--install): cannot access archive: No such file or directory Errors were encountered while processing: path-to-download-package"
– Raisul Hadi
Jan 28 at 13:02










1 Answer
1






active

oldest

votes

















up vote
1
down vote













I believe the confusion here is related to the misunderstanding that path-to-download-package is figurative rather than literal. Assuming that your downloads are going to your default download directory you should be able to install with dpkg -i ~/Downloads/mendeleydesktop_1.17.13-stable_amd64 where mendeleydesktop_1.17.13-stable_amd64 is the name of the file you downloaded. you can get the exact path/to/filename with the command find ~/ -name *mendeleydesktop* | grep Downloads



If this sounds too complicated you an simply issue the command installpath=$(find ~/ -name *mendeleydesktop* | grep Downloads) && dpkg -i $installpath which will set the environment variable installpath equal to the full path to the file found by the find command and then use that to tell dpkg what to install.






share|improve this answer





























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    1
    down vote













    I believe the confusion here is related to the misunderstanding that path-to-download-package is figurative rather than literal. Assuming that your downloads are going to your default download directory you should be able to install with dpkg -i ~/Downloads/mendeleydesktop_1.17.13-stable_amd64 where mendeleydesktop_1.17.13-stable_amd64 is the name of the file you downloaded. you can get the exact path/to/filename with the command find ~/ -name *mendeleydesktop* | grep Downloads



    If this sounds too complicated you an simply issue the command installpath=$(find ~/ -name *mendeleydesktop* | grep Downloads) && dpkg -i $installpath which will set the environment variable installpath equal to the full path to the file found by the find command and then use that to tell dpkg what to install.






    share|improve this answer


























      up vote
      1
      down vote













      I believe the confusion here is related to the misunderstanding that path-to-download-package is figurative rather than literal. Assuming that your downloads are going to your default download directory you should be able to install with dpkg -i ~/Downloads/mendeleydesktop_1.17.13-stable_amd64 where mendeleydesktop_1.17.13-stable_amd64 is the name of the file you downloaded. you can get the exact path/to/filename with the command find ~/ -name *mendeleydesktop* | grep Downloads



      If this sounds too complicated you an simply issue the command installpath=$(find ~/ -name *mendeleydesktop* | grep Downloads) && dpkg -i $installpath which will set the environment variable installpath equal to the full path to the file found by the find command and then use that to tell dpkg what to install.






      share|improve this answer
























        up vote
        1
        down vote










        up vote
        1
        down vote









        I believe the confusion here is related to the misunderstanding that path-to-download-package is figurative rather than literal. Assuming that your downloads are going to your default download directory you should be able to install with dpkg -i ~/Downloads/mendeleydesktop_1.17.13-stable_amd64 where mendeleydesktop_1.17.13-stable_amd64 is the name of the file you downloaded. you can get the exact path/to/filename with the command find ~/ -name *mendeleydesktop* | grep Downloads



        If this sounds too complicated you an simply issue the command installpath=$(find ~/ -name *mendeleydesktop* | grep Downloads) && dpkg -i $installpath which will set the environment variable installpath equal to the full path to the file found by the find command and then use that to tell dpkg what to install.






        share|improve this answer














        I believe the confusion here is related to the misunderstanding that path-to-download-package is figurative rather than literal. Assuming that your downloads are going to your default download directory you should be able to install with dpkg -i ~/Downloads/mendeleydesktop_1.17.13-stable_amd64 where mendeleydesktop_1.17.13-stable_amd64 is the name of the file you downloaded. you can get the exact path/to/filename with the command find ~/ -name *mendeleydesktop* | grep Downloads



        If this sounds too complicated you an simply issue the command installpath=$(find ~/ -name *mendeleydesktop* | grep Downloads) && dpkg -i $installpath which will set the environment variable installpath equal to the full path to the file found by the find command and then use that to tell dpkg what to install.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Jan 28 at 22:49

























        answered Jan 28 at 22:41









        Elder Geek

        25.6k949122




        25.6k949122












            Popular posts from this blog

            pylint3 and pip3 broken

            Missing snmpget and snmpwalk

            How to enroll fingerprints to Ubuntu 17.10 with VFS491