LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 05-30-2013, 11:19 PM   #1
st_tht
LQ Newbie
 
Registered: May 2013
Posts: 3

Rep: Reputation: Disabled
Question 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
 
Old 05-31-2013, 12:40 AM   #2
uppalagayatri
LQ Newbie
 
Registered: Mar 2011
Posts: 26

Rep: Reputation: 1
Hi,

Can you check with below command

#sudo apt-get install vlc

IN Ubuntu the package file extesion is .deb
 
Old 05-31-2013, 01:06 AM   #3
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Just a quick search with your favourite search engine on your favourite browser gives you the answer:
http://www.ubuntugeek.com/install-mp...-ringtail.html
Try it yourself next time. I just typed
Code:
ubuntu 13.04 codecs
into the search bar.
jdk
 
Old 06-01-2013, 01:01 AM   #4
st_tht
LQ Newbie
 
Registered: May 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
thanks for help, but it didn't work... im looking for a way to setup application offline/without internet, i google around n losted
 
Old 06-01-2013, 01:21 AM   #5
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Originally Posted by st_tht View Post
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
 
Old 06-01-2013, 06:13 AM   #6
jkirchner
Member
 
Registered: Apr 2007
Location: West Virginia
Distribution: Pop!_OS
Posts: 945

Rep: Reputation: 297Reputation: 297Reputation: 297
The easiest way is to open software center and search for ubunutu-restricted-extras. Install it. All done.
 
Old 06-01-2013, 08:02 AM   #7
st_tht
LQ Newbie
 
Registered: May 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
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
 
Old 06-01-2013, 08:21 AM   #8
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
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
 
Old 06-01-2013, 08:22 AM   #9
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
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&section=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.
 
Old 06-01-2013, 09:13 AM   #10
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,465
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
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.

I hope i've helped.

Last edited by Knightron; 06-01-2013 at 09:15 AM.
 
Old 06-01-2013, 09:17 AM   #11
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Why won't DVDs play?
duh.
 
Old 06-01-2013, 09:35 AM   #12
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
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*
http://fedorasolved.org/multimedia-s...s/win32-codecs
should probably work for ubuntu.

Last edited by schneidz; 06-01-2013 at 09:36 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Videos/music won't play in ubuntu jrjone Linux - Newbie 4 06-08-2009 03:09 AM
Web videos not playing under Linux (Ubuntu 8.10) muzzavitch Linux - Software 3 03-06-2009 01:35 PM
Playing / streaming DVDs / Videos using ubuntu 7.10 Lara Linux - Software 1 04-24-2008 07:27 PM
Remove ALL VIDEO viewing codec on Ubuntu drapper. Child looking at videos..... Dimitriy Ubuntu 25 09-26-2006 02:24 AM
playing videos in ubuntu Clarence27 Linux - Newbie 14 08-09-2006 08:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration