Computing.Net > Forums > Linux > install tar.bz2 file

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to get for your free account now!

install tar.bz2 file

Reply to Message Icon

Name: hombre3
Date: September 18, 2005 at 14:24:40 Pacific
OS: Suse 9.3 Pro
CPU/Ram: P4 2.9Mhz / 1 GB
Comment:

Hi Folks,
I'm trying to install media codecs to /usr/local/lib/codecs. The codecs are in a tar.bz2 package (essential-20050412.tar.bz2). I've tried to install according to instructions from LinuxQuestions.org and others but (again, please excuse my ignorance) I am so new to Linux that I cannot seem to understand the instructions. Could someone please walk me through this step by step and very simply? I would really appreciate it. Thanks.

Here's what I have
the package: /home/hombre3/essential-20050412.tar.bz2

the target
/usr/local/lib/codecs

Thanks again!


Report Offensive Message For Removal

Sponsored Link
Ads by Google

Response Number 1
Name: Jake2
Date: September 18, 2005 at 17:46:07 Pacific
Reply:

You're not really "installing" the codecs, just extracting them. Use "tar xjf essential-20050412.tar.bz2". The x tells tar to extract, j indicates that it's bz2 compressed (z for gz compression is also common), and the final f indicates that the filename to extract follows. If you want to see the names of all the files, include a v.

I suspect you'll end up with a directory called essential-20050412, so you'll then want to move the codecs to their desired location with "mv essential-20050412 /usr/local/lib/codecs". You'll need to be root to write to /usr/local/lib. Finally, for security purposes, if you extracted the codecs as your non-root user, change the ownership to root with "chown -R root /usr/loca/lib/codecs".

When you install MPlayer, you'll have to extract it with tar the same way you extracted the codecs, cd to the directory that gets created, and run "./configure", "make", and then as root, "make install". After the ./configure you'll see a summary of what MPlayer found. If your codecs aren't listed, you did something wrong.


Report Offensive Follow Up For Removal

Response Number 2
Name: Jake2
Date: September 18, 2005 at 17:48:58 Pacific
Reply:

Where I say you need to be root, use the "su" command and "exit" when you're done.

Use "ls" to list directory contents, for example "ls /usr/local/lib/codecs" to see if your codecs made it to their destination.


Report Offensive Follow Up For Removal

Response Number 3
Name: hombre3
Date: September 18, 2005 at 19:52:39 Pacific
Reply:

Success! Thanks Jake! I'm learning . . .


Report Offensive Follow Up For Removal
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: install tar.bz2 file

installing tar.gz files www.computing.net/answers/linux/installing-targz-files/1996.html

problem in installing tar.gz file www.computing.net/answers/linux/problem-in-installing-targz-file/24677.html

How can I install tar.gz files? www.computing.net/answers/linux/how-can-i-install-targz-files/22527.html