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'm sorry, this is obviously a duplicate. But other posts were not helpful.

I have Ubuntu 13.04 running on my laptop. My friend has VLC in his Ubuntu 12.04. And I want to copy VLC to my laptop. I have no ubuntu-restricted-extras installed. And my friends /var/cache/apt/archives folder is empty. Maybe it is because he installed VLC using Software Center.

So is there any way to copy VLC to my laptop from my friends laptop, so that I can watch videos too? :)

(Internet cost is expensive here :|) Thanks for your help in advance.

share|improve this question
    
Please help! :( –  Sylap Aliyev Sep 25 '13 at 18:48
add comment

2 Answers

up vote 1 down vote accepted

In this kind of situation, it might be worthy to check the files

/var/lib/dpkg/info/vlc.*

(where vlc is the package name). The file vlc.list is the list of all the files in the package. As a nasty hack, you could just put the files to a tar ball

(cd /; tar cfj /tmp/vlc.tar.bz2 $(cat /var/lib/dpkg/info/vnc.list))

and try extracting these files to another computer (I would try in some other than / directory, uncontrollably extracting the files to root directory is invitation to problems, for example will make it impossible to install the package using real *.deb package). In general case the files *.preinst and *.postinst are worth looking at, because they might perform some necessary or useful set-up tasks. The files *.conffiles list the changeable configuration files.

share|improve this answer
add comment

Just off the top of my head, and probably not the answer your after, maybe you can check your friend's cache/apt folder and if you're lucky enough find the VLC package there. Besides, I'm not even sure about it, but maybe only copying the VLC files alone won't do you any good if you don't have the codecs and stuff it needs, in case their not in between those files.

share|improve this answer
    
is it possible to copy just codecs? –  Sylap Aliyev Oct 4 '13 at 2:48
1  
I hope it won't hurt but I think you can just give it a try and copy/paste every trace of your friend's vlc to the same path in your Ubuntu, and just sit down and pray. Maybe something as naive as find -name vlc and same for the codecs, and who knows, stupid things happen, but rarely of course if they're good. –  arsaKasra Oct 4 '13 at 19:56
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.