0

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

1
  • 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, 2014 at 8:09

2 Answers 2

3

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.

0
1

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 !

0

Not the answer you're looking for? Browse other questions tagged .