Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

This question already has an answer here:

i am trying to install teamviewer and i am getting the following error and the entire process is as follows

kittu@kittu-355V4C-356V4C-3445VC-3545VC:~$ sudo dpkg -i teamviewer_linux_x64.debdpkg: error processing archive teamviewer_linux_x64.deb (--install):
 cannot access archive: No such file or directory
Errors were encountered while processing:
 teamviewer_linux_x64.deb

the file is in home/downloads/teamviewer_linux_x64.deb

share|improve this question

marked as duplicate by Sylvain Pineau, Eric Carvalho, Warren Hill, karel, Luis Alvarado Jul 24 at 19:03

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
It says "No such file or directory" because you're missing the right path to the file. You should do ~/Downloads/teamviewer.deb –  m1nev Jun 5 at 8:09

2 Answers 2

up vote 3 down vote accepted

You are trying to execute the command in the wrong directory. You have two ways to correct it and get going:

  1. Using the GUI:

    • Open files(the file browser in ubuntu) and go to your Downloads directory(this should be visible when you open the file browser) and then double click on the team viewer .deb file.

    • This will open the software center and take some time to load everything and then you should see the install button on the top right hand side.

    • Click on "Install" and this will install team viewer for you.

  2. Using the command-line:

    • Open a terminal (press Alt+F2 and type gnome terminal and open the application) and then type the following one line at a time:

      cd ~/Downloads
      sudo dpkg -i  teamviewer_linux_x64.deb
      

and then enter your password when prompted and press Return.

share|improve this answer
    
Thanks alot worked well –  krishnamraju Jun 5 at 11:53

Some packages come as standalone but require other dependencies which may be third party libraries so you need to fix that yourself. You can just do it the same way and resolve dependencies like this

 sudo dpkg -i packagename.deb && sudo apt-get -f install

This will not only install the package but also try to resolve it's dependacies. Helps me alot. or like he said, GUI does work as well

Good luck !

share|improve this answer
    
thanks alot .... –  krishnamraju Jun 5 at 11:54

Not the answer you're looking for? Browse other questions tagged or ask your own question.