Install Codec for playing Music & Videos for the first time in Ubuntu/Linux
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Install Codec for playing Music & Videos for the first time in Ubuntu/Linux
Hi all, im new to Linux, i started with ubuntu-13.04, hlp me on installing codec for playing music & videos.
I was windows type of Guy, if i had to install software (codec for example) on windows, i just google around for Codec (with .exe file) and simply setup but how to do
that same on Ubunto.
I already downloaded file - 'all-20110131.tar.bz2' but stucked on installing.
Which file is setup file on Ubuntu (like .exe on Windows) ??
Help
thanks for help, but it didn't work... im looking for a way to setup application offline/without internet, i google around n losted
I'm not sure I understand you. Where are you planning to get these applications? Offline? You get the packages online and you can install them offline if you wish unless they have dependencies that need to be installed as well. If you have to be online to get the packages why not install them at that time?
Linux does not use .exe files. As uppalagayatri explained software packages in Ubuntu (or Debian, or Mint, etc.) are .deb files. You normally would not download a tarball (tar.gz or tar.bz2) for installing your software. "all-20110131.tar.bz2" looks like some sort of backup file made on 31 Jan 2011. I have no idea what you want to do with that file. Where exactly did you get it?
jdk
Thanks for responses & I’m sorry for making u confuse. I'll tell u the whole story.
In my laptop I can access internet & install software from Software Center provided by Ubuntu. But my problem is that I can't install the software that i want (Suppose VLC Player) in other PC (My fren pc or any other running Ubuntu 13) that don't have internet access.
I want to setup VLC player on other PC (my fren's pc) that doesn’t have Internet access. So my main problem is which file to download & how to setup that.
File ‘all-20110131.tar.bz2’ that I downloaded was Win32 Codec.
I even downloaded & tried to install 'vlc_0.9.2-1_i386.Deb', it says FONT-FREEFONT... required
Wouldn't the answer be to burn a Ubuntu LiveCD/Installation disk? I don't know about Ubuntu but I Linux Mint 15 (Olivia) comes with media support (codecs) already installed unless you come from the USA or Japan. http://www.linuxmint.com/download.php
jdk
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
I would be tempted to go to the Ubuntu package search and find which packages are in ubuntu-restricted-extras and download them: http://packages.ubuntu.com/search?ke...ng§ion=all
You can grab any packages you like from there -- you just have to be mindful that you might be missing some dependencies that you will have to go back and get.
OP, i'm guessing you're very new to Linux. Installing things on linux is different to installing things on Windows.
A windows 'exe package' will install everything needed to run the application/program. Linux is more manual and will only install what you tell it too. Libraries are shared instead of having multiples of the same thing installed for several programs. Often package management helps in the management of programs because modern package managers not only solve, but also resolve dependencies for the desired program. This is pretty automated and quite frankly, pretty nice. :-D Apt/apt-get/aptitude is the package manager that Ubuntu uses or can use, and it resolves dependencies too. The software center and synaptic are just graphical front ends for apt, and resolve dependencies too.
If you would like to be more manual how ever, you need to use the low-end version of your package manager. That is 'dpkg'.
dpkg will solve dependencies for you, but it won't resolve them. It'll tell you what you need, when you need it; (eg trying to install a program without a dependency), but you'll have to go get a dependency manually.
A windows program has the extension '.exe' In Ubuntu/Debian/Mint, you need a '.deb' program. So you need to find out what codecs you need and what package provides them codecs you want and then download that package as a .deb file (preferably from the Ubuntu website/repo (Ubunutu website because that's the distro you're installing onto.)
take them .deb files on a flash drive over to the friends place and install the files with dpkg. If those .deb files have dependencies (and they likely will, and they'll likely have more dependencies too) though, you'll have to go and download them and install them as well; before the main .deb file.
You're in for a challenge OP. It's not as convenient as the Windows installers, but it has other more low level benefits.
installing from the package manager is the designed way to do it. i would connect the other pc via cat-5 cable to your laptop with internet access so you can do internet sharing.
what you are trying to do seems kinda' manually intensive.
i found this on the fedora forum:
Code:
cd /tmp
wget http://www.mplayerhq.hu/MPlayer/releases/codecs/all-20110131.tar.bz2
tar -jxvf all-20110131.tar.bz2
su -c 'mkdir -p /usr/local/lib/codecs'
su -c 'cp all-20110131/* /usr/local/lib/codecs'
rm -rf /tmp/all-20110131*
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.