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.

I was already download skype 4 from official website(.deb)

When i double click and trying to install it with Software Center it trying to download it from the internet. (and i guess the older version)

Because im new in ubuntu - that behavior totally strange for me. So... why it acting like that and how to install that version from official website?

Thx

share|improve this question
    
In you terminal try: sudo dpkg -i PATH_TO_SKYPE_DEB_PACKAGE My initial guess is the newer skype may require some additional dependecies than the older one already installed and the package manager is trying to download those dependencies so that you don't have a broken installation. –  sagarchalise Jul 10 '12 at 8:03
    
sagarchalise thx, that helped. and after software center repaired themself after that, skype starts working)) –  Eugene Jul 10 '12 at 8:32
add comment

3 Answers

up vote 4 down vote accepted
  1. Open a terminal with Ctrl+Alt+T
  2. Go to the folder where you downloaded the .deb file, most probably in Downloads, with cd Downloads
  3. Type sudo dpkg -i skype-ubuntu and press Tab to automatically fill in the full filename.
  4. Press Enter, and your password when asked, and Skype should be installed.

If you are missing the status icon in the panel, please see this question for a solution.

How do I get the Skype status icon back? (on panel/tray)

share|improve this answer
add comment

When you go through the Software Center, it downloads the packages and installs. Since you already have the .deb package, all you need to do is open it, and it will install. If you are more comfortable with the terminal, you can do

sudo dpkg -i skype-v4.deb

Of course, replace skype-v4.deb with the actual name of your file.

share|improve this answer
1  
lol, that's was my question, anyway ur way of installation working, thx:) –  Eugene Jul 10 '12 at 8:39
add comment

I think the reason is because there are missing dependencies that need to be installed first, before Skype can be installed.

The way package management works (on Ubuntu & other distros), is that when you install something (like Skype) it first installs everything that Skype needs to run. This could be something like a audio library that Skype depends. The .deb file contains a list of dependencies for that package. The package manager (Ubuntu Software Center, Synaptic or the command-line apt-get) will read the .deb file; make sure all dependencies are present, if not, install them first before installing the package.

If you run dpkg --info bla.deb where you replace blah.deb with the package of your choice, you should among other things find out what packages it depends on. The dependencies would be listed next to "Depends: ..." Making sure all of those dependencies are present on the system should ensure a smooth internet-less installation. I understand this could be hard, especially since those dependencies themselves might have other dependencies. In fact installing a package with a deep dependency tree without an Internet connection will be difficult and challenging.

You would have to enumerate all dependencies for the package (e.g. Skype) you are installing; obtain .deb files for all their dependencies; see what dependencies those dependencies have; and repeat recursively till you have .deb files for the entire tree of dependencies on your computer. This is something best done programatically. Unless there's a program that does this already (I don't know of any), you would have to write one of your own.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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