LinuxQuestions.org
Review your favorite Linux distribution.
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 10-18-2010, 11:34 AM   #1
LinuxNewbie81
LQ Newbie
 
Registered: Oct 2010
Posts: 12

Rep: Reputation: 0
Starting to install a new program with Linux CentOS 5 (.tar.gz Yum ....)


Hi.
I've see that there's a new version of Firefox on Internet for Linux (actually new version is the 3.6.10 when I'm writing) and I've installed the 3.6.9-2.el5.centos .
I've see that the file is in .tar.bz2 and I've downloaded it ..... but I don't know how to install this type of file.
I've see that there's also the Yum command but said that is already installed and is at the latest version (the 3.6.9 ).
I've try also to make the Yum install vlc but the answers is " No package vlc available "
What can I do?
Tnx so much for the answers!!!!!!!
Best Regards.
 
Old 10-18-2010, 11:38 AM   #2
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Rep: Reputation: 101Reputation: 101
http://www.tuxfiles.org/linuxhelp/softinstall.html
 
Old 10-18-2010, 11:44 AM   #3
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
1.
Code:
tar jxvf {name of firefox tar.bz2 file}
2. A directory called Firefox will be created by untarring the file.
3. Move that directory to your /opt directory
4. That's it. The path to your firefox will be /opt/firefox/firefox
ciao,
jdk
 
Old 10-18-2010, 11:56 AM   #4
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
Welcome to the forums!

Generally speaking in Linux, we get our "packages" (applications, system libraries, the kernel, etc.) through something called a repository or "repo" that is basically a collection of software that's tested and trusted to work with that distro. Each distribution or "distro" maintains its own repo, and the CentOS repo is widely regarded as one of the most stable and well tested repositories out there.

To install an application from the CentOS repo, all you need to do is 'yum install firefox'. Try it; you should see a message that Firefox is already installed. To keep your packages updated with the latest from the CentOS repo, type 'yum update'. Use these two easy commands (or type 'man yum' if you need more options), and you will have a stable and successful CentOS experience.

Now this leads to an obvious question: "What if the application I need (VLC) is not in the CentOS repo, or I want a newer version than CentOS provides (Firefox)? This is a pretty vast question that I cannot comprehensively cover, so let me look only at the specific examples of VLC and Firefox:

VLC is not in the CentOS repository. So I went to http://videolan.org for you and looked at their instructions for installing it in Red Hat Enterprise Linux (same as CentOS): http://www.videolan.org/vlc/download-redhat.html They recommend adding an extra repository called RPM Forge that contains additional software that is unsupported by CentOS. You will have to decide for yourself whether you trust this repository and want to use their software. Here is some reading material:

http://rpmrepo.org/RPMforge
http://wiki.centos.org/AdditionalResources/Repositories

Now as for Firefox, again as I mentioned above, I recommend simply using the stable, tested, trusted, and security-patched Firefox from the CentOS repo. But if there is some new feature you absolutely need to have, I suppose you could download the .tar straight from Mozilla.org. If I remember correctly, all you need to do is extract the .tar (using your favorite Archive Manager) and browse around with your file manager. There is a Firefox "executable" that you can launch by double-clicking (just like a Windows .exe). You can create a shortcut to this executable directly on your desktop if you wish. Please note that if you go this route, YUM will not know about it, so you will have two versions of Firefox installed unless you use YUM to remove the old one. (And if you want the new Firefox available to all users on the system, you can move it to /opt as mentioned above.)

Last edited by snowday; 10-18-2010 at 04:41 PM.
 
Old 10-18-2010, 04:37 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
i have been using the firefox ( from mozilla site) on CentOS 5.3,5.4 and 5.5

BUT i do not install the new/different FF in /usr . I install it is a dedicated DATA partition away from the OS

there is ONE VERY big problem you will have to deal with by not using the one in the cent repo
the ff plugins all of them !

in cent ff is installed all over the OS and NOT in one folder as the tar ball is
you will need to make new links for them
/usr/lib/mozilla/plugins
and some of them are links to other places
 
Old 10-18-2010, 07:08 PM   #6
LinuxNewbie81
LQ Newbie
 
Registered: Oct 2010
Posts: 12

Original Poster
Rep: Reputation: 0
First thing: I'd like to thanks all for the answers and for the help!!!!!

I've try with: tar xvjf pkg.tar.bz2 now I've a directory with the icon of the directory and a little pencil with the denyed symbol....by the way....files are into this directory!!!!!
I've Bruno/firefox (bruno is where I've downloaded the tar.bz2 file and where there is also the Desktop icon).
I've after try with ./configure (into the firefox directory) and the error message is No such file or directory .
I've try also with ./firefox and the error message is: ./firefox-bin: error while loading shared libraries: ./libxul.so cannot restore segment prot after reloc: Permission denied .
Another error is that is appeared (don't know what I've done) an Icon with a star with write : SELinux AVC denial, Click icon to view. said : SELinux is preventing firefox-bin from loading /home/Bruno/firefox/libxul.so wich requires text relocation.
On mouse over there is a text that

What is wrong? What can I do for install this file?

Important!!!!: I'm using the Linux CentOS 5 firewall settings. SELinux Settings are setted to Enforcing !!!

P.S.1: What is a command for moove a directory?
P.S.2: What is a command for make a new links and how make them?

Tnx again for the help!!!!!!!!!!!!!

Best Regards.

Last edited by LinuxNewbie81; 10-18-2010 at 07:14 PM.
 
Old 10-18-2010, 08:44 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
I've try with: tar xvjf pkg.tar.bz2 now I've a directory with the icon of the directory and a little pencil with the denyed symbol....by the way....files are into this directory!!!!!
for that file there is no need to use "tar " in the terminal
just double click it .

Quote:
I've Bruno/firefox (bruno is where I've downloaded the tar.bz2 file and where there is also the Desktop icon).
? I think this is in your home folder but i do not know ????
Quote:
I've after try with ./configure (into the firefox directory) and the error message is No such file or directory .
this tar.bz2 IS NOT SOURCE it is a prebuilt - ready to run- file
there IS NO NEED TO run ./configure , because there is NO NEED TO BUILD IT .
Quote:
I've try also with ./firefox and the error message is: ./firefox-bin: error while loading shared libraries: ./libxul.so cannot restore segment prot after reloc: Permission denied .
this is a normal problem WHEN YOU DO NOT use the rpms in the cent repo !
that version of ff is not compatible with what you have installed -- it is TO NEW .

? have you looked at the cent forum ? this has been discussed there in the past .


Quote:
I've try also to make the Yum install vlc but the answers is " No package vlc available "
have you read the vlc web site page ????????
the instructions ARE ON THE DOWNLOAD page on the vlc web site !!!!!
http://www.videolan.org/vlc/
and the link for centos/rhel
http://www.videolan.org/vlc/download-redhat.html
and THE CENTOS HOW TO HELP PAGE -- did you read it ?????
http://wiki.centos.org/
adding the rpmforge repo - be VERY CAREFUL , if you are not you will kill the install of CentOS
http://wiki.centos.org/AdditionalResources/Repositories
 
Old 10-20-2010, 07:06 AM   #8
LinuxNewbie81
LQ Newbie
 
Registered: Oct 2010
Posts: 12

Original Poster
Rep: Reputation: 0
Hi.
I've solved the problem with installyng with Yum.....
I'd like to tnx all of u, but also snowpine that (in this thread) with his suggestion have make me find a way.....

Here what I've type into Terminal :
.repo files in /etc/yum.repos.d/
rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt
rpm -k rpmforge- release-0.5.1-1.el5.rf.*.rpm
rpm -k rpmforge release-0.5.1-1.el5.rf.*.rpm
rpm -i rpmforge- release-0.1.5.1-el5.rf.*.rpm
yum check-update
Loading "priorities" plugin
yum install flv
yum install mplayer
yum install flv
yum search "package name"
yum search rpmforge
yum install rpmforge-release.i386
yum install vlc
....... now I've installed also other programs .....but I've problems with some others programs like Skype......

I don't know what I've do...... I've read a little bit in some few sites searching with Google.....

Can someone explain me what I've done, for start to better understand what to do?!?!?!?

Tnx so much to everybody!!!!!!!!!!
Best Regards.
 
Old 10-20-2010, 08:34 AM   #9
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
I've never installed Skype on CentOS personally, but I found this nifty how-to on the CentOS wiki for you: http://wiki.centos.org/HowTos/Skype
 
Old 10-20-2010, 09:39 AM   #10
LinuxNewbie81
LQ Newbie
 
Registered: Oct 2010
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by snowpine View Post
I've never installed Skype on CentOS personally, but I found this nifty how-to on the CentOS wiki for you: http://wiki.centos.org/HowTos/Skype
I'll make another post about how to install Skype on Centos 5....because I've found some guide (the guide that you've post too!!!! ) but I don't know how to install correctly.....I think I've installed something (about Skype) but I don't know what.....
 
Old 10-20-2010, 02:49 PM   #11
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
LinuxNewbie81
did you fallow the bold warnings ( on the centOS help page)and SET the " Priorities " plugin !!!!
some of the rpmforge base OS packages( for el5) ARE NOT compatible with the cent base OS packages

and you CAN NOT MIX THE TWO !
http://wiki.centos.org/AdditionalRes...ories/RPMForge
 
  


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
Trying to install YUM on CentOS... SJH Linux - Software 2 09-01-2009 08:51 AM
[HOW TO] Install Program from Source-tar.gz/tar.bz kratosal Linux - Newbie 5 04-04-2008 03:59 PM
linux hangs at "starting storage devices" on centos install extendedping Linux - Hardware 1 11-23-2006 03:24 AM
trying to install YUM on CentOS MrSako Linux - Newbie 5 07-20-2006 08:36 AM

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

All times are GMT -5. The time now is 05:43 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