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. |
|
1.
Code:
tar jxvf {name of firefox tar.bz2 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 |
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.) |
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 |
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. |
Quote:
just double click it . Quote:
Quote:
there IS NO NEED TO run ./configure , because there is NO NEED TO BUILD IT . Quote:
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:
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 |
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. |
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
|
Quote:
|
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 |
All times are GMT -5. The time now is 10:55 PM. |