CentOS 5 :: Easier Way To Install Newer Version Of Gcc?
Nov 18, 2009
An application I'm attempting to install URL...) requires a version of gcc above 4.3.2, however the only rpms available for CentOS I can find are 4.1.2.I began trying to install a newer version via compiling the latest one from the gcc GNU site, but I started running into problems. Especially in installing newer versions of gmp and mpfr (apparently upgrading from certain versions of gmp will write over the header files, but won't change path locations for the lib files?) After examining the problem a little closer, I got worried that I was going to end up making the system unstable, so I stopped fiddling.
So my question is, is there an easier way to install a newer version of gcc? I'm not completely new to Linux, but I'm far from a master at the system, if anyone knew an easier/slightly more fool proof way of upgrading gcc.
I have ImageMagick 6.2.8 installed on my CentOS 5.3 (64bit) system. I want to upgrade it to a newer version, because it has nice new features I need to use in a PHP script I write for a website. I tried yum, but it did not help, it didn't have a newer version of ImageMagick. Maybe I have to use some other repositories (I use CentOS and RPMFprge repositories only) or use them some other way. I ended up with downloading ImageMagick 6.5.4 RPM from ImageMagick website (it was marked as Fedora package, there's no one for CentOS there) and tried to install it. I've got some absent dependencies, but installed them all, most from the CentOS and RPMForge repositories. Some were absent from those repositories (like jasper-libs and libtool-ltdl) and I installed them from other sources.Finally, when I tried to install ImageMagick I got this error:
-bash-3.2# rpm -Uvh --test ImageMagick-6.5.4-10.x86_64.rpm error: Failed dependencies: rpmlib(FileDigests) <= 4.6.0-1 is needed by ImageMagick-6.5.4-10.x86_64 rpmlib(PayloadIsXz) <= 5.2-1 is needed by ImageMagick-6.5.4-10.x86_64
I tried to install it using --nodeps, but got some "cpio: Bad magic" error. So, as far as I understand, I need to upgrade "rpm" package itself to make it working. Correct me if I'm wrong here. The current version of rpm is: bash-3.2# rpm --version RPM version 184.108.40.206
If I really have to upgrade rpm, then I'm not sure what to do. I have few questions:
1) First of all, what version of "rpm" package do I need? Because I don't want any conflicts. The latest version, as I can see on rpm.org, is 4.7.1. Will it work with CentOS 5.3?
2) Where do I get the right rpm for the rpm upgrade? If it's available at all. Rpm.org, as far as I can see, got source only, and I'm not sure CentOS uses their version of rpm. Where can I get the right rpm package, preferably as a plain .rpm file so I don't need to build it myself?
3) And after all, the most important. Wouldn't my system break at all if I upgrade rpm? I don't want to screw things up and end up with a broken system.
Is there an easy way to update Perl from repos or do I need to compile from source to get a newer version?
Longer version I'm trying to set-up MailScanner which requires a newer version of Perl IO than CentOS 5 appears to have in it's standard repos. I've also tried updating Perl from the rpmforge repo - but that just results in a bunch of transaction conflicts being reported by Yum. Is there another way of updating Perl from repos?
Specifically, I want Clementine player 0.6, but the guy that installed Ubuntu on my laptop put natty narwhal alpha 1 on it (don't ask me why. I wanted maverick since its stable but he never really asked. The whole thing was kinda a surprise), and Clementine only offers downloads for Ubuntu distros up to maverick. So. Can I/is there a way I can install it anyway? Or am I forced to just use Banshee until the official Update comes out and Clementine is updated in....
I want to install libtorrent-rasterbar version 0.14 or greater.
I want to use apt-get to do this.
It seems to be available here: [url]
How can I do it? My current libtorrent-rasterbar package is version 0.13 (I've ran apt-get update).
I DON'T want to install anything else. The last time I added a 'sid' source to my sources.list, it installed the untested version of EVERYTHING. Due to this, I had to reinstall the OS. I don't want this to happen again.
How to install libtorrent-rasterbar version 0.14+ on Debian 5?
to install a Python module I need a more recent version of a library (libcurl) that the one available in Lenny. How should I manage it? Shall I just install it manually? Won't it mess the system to have two versions of the same library in the system?
I am running Ubuntu 9.04 at work and have a sudden need to install a newer version of python-support (> 0.9.0) than is currently available in the repo (0.8.7) for my Ubuntu version. Upgrading to 9.10 is not an option as we are planning to jump to 10.04 LTS in the next few months and I am unable (unwilling) to mess with a complete upgrade prior. Is it possible for me to upgrade to the newest version of python-support - or is this package OS version specific? Assuming it's possible, how might I go about the process of upgrading?
I am still running Debian Lenny and have found that the curl version 7.18 is just too outdated for my needs, I would rather not do an upgrade just yet to the stable release of squeeze. I was looking for some information on how I could install a newer version of curl and libcurl without breaking my system.
If I were to install the current daily build of 10.10 (cd) will there be a live update that can be installed on Oct 10? Or do I need to burn the newer 10.10 version on that day and install again by cd?
Anyone know why Ubuntu has shipped with the same version of syslinux since 8.10 (Intrepid Ibex), or if there is a repository I can add to get a newer version of syslinux? The whole reason for switching from Gentoo to Ubuntu was to avoid the troubles with compiling different versions of things, but I'm needing a newer version.
I am working on a university workstation and need to use an old version of gcc (either 4.0 or 4.1) and am currently using 4.4.2. I do not have admin rights nor can I get them so using aptitude is out of the question. I was told I should compile the old version with the current one. I am very new to this sort of thing and haven't a clue what to do or how to go about compiling my program once I have gotten the older version.
there seems to be a very important bug with php 5.2.6 (mb_send_mail, [URL]). Unfortunately this affects my php applications greatly. I am currently running debian 5.0.7, with the latest updates. how to upgrade my php.
In a chroot einvironment i am trying to compile gcc but is says that i need a newer version of glibc, but i have the newest version of it. i think somehow it trys to use the older glibc from the ubuntu install im makeing it on.
i want to install vocproc auto tuner. im having problems, how do i do this exactly? please help. does anybody have some step by step terminal codes? Ive included the link to it.URl....Or does anybody have a better auto tuner thats easier to install?
I recently installed a base Squeeze system and then did apt-get install xfce4 to get the XFCE DE. Is this XFCE 4.0 or is it the newer version? This is kind of a stupid question but I haven't been able to divine a concrete answer out of Google. If "apt-get install xfce4" indeed doesn't install the newest version of XFCE in Squeeze, then how can I get it?
i have a new vServer with Fedora 6.So now i want to update my box. how can i get a full updated server??
i do this stepps: yum install yum-fastestmirror yum update << all installed yum upgrade << no packages to update
is it a good idea to change the respository to a newer version? can I get a secure and good server with Fedora v6? if no, how can I upgrade to a newer version? is my box now updated or is this only a lightupdate of an old fedora version? ps: sorry for the very bad english
I have Ubuntu Server 10.04 Lucid (LTS) installed on my server (EC2 instance). I'd like to install Memcached on it. When I type "sudo apt-get install memcached" I get version 1.4.2-1ubuntu3 installed.
I know there's a newer version 1.4.5 and looking at [URL]..I found it's available in the newer version of Ubuntu (Maverick). Question: is it possible to get the newer version 1.4.5 using apt-get on my current server?
I would like to know how or given directions how to compile a newer version of synergy for PPC. Or it would be nice if someone could compile it though I want to learn how to do these things. Synergy is available for download from: [URL].
I'm running Mozilla Firefox 3.6.17. Can someone tell me the easiest way to upgrade to a newer version? When I search on Google, I get ;lots & lots of pages & they give me 20-different instructions on how to do it & i'm confused. Not sure which command to use (There is no "upgrade" option in the "tools" area of Firefox.) Do we upgrade in the command-line?
Is there a way to use the diff command between an older and a newer version of a file and only display the lines that have been added to the newer file and not the ones that have been removed without any of the explanation formatting, just the new lines. I'm trying to bypass the process of putting both files into a database and running an SQL "left join where old data is null" as I will need to do this on a regular basis.
I installed a newer version of python in /usr/local/bin/python2.6. Now I want to use that python and only that one. When I type "Which python", I want to see /usr/local/bin/python2.6, NOT /usr/bin/python, which is old one (2.4). Also, I want to see the same even after I reboot. How do I do that?
I'm trying to install the Amazon MP3 downloader. They're a bit behind -- they have a downloader available for "Ubuntu 9.04" I downloaded it and tried to install -- but it says there's a dependency that can't be resolved: Dependency is not satisfiable: libboost-filesystem1.34.1 I installed libboost (and a bunch of other sub-items in the Boost library) using the Ubuntu Software Center, but the version of Libboost is higher now than it was in April of 2009 (surprise!) Why doesn't a NEWER version satisfy the dependency? Is there a way to override it?
For compiling ArpON on my server the cmake command says 'libpcap not found' when a newer version libpcap-1.0.0-5.20091201git117cb5.fc13.i686.rpm is already exiting which I am unable to erase as other rpms depend on it.
I'm currently an user of OpenSuse, newer version of Suse don't support some of the hardware that I use and previous version of Suse will cease to have support in a few months. So I'm considering other versions of Linux and Ubuntu comes to mind. So I like to know if Ubuntu (Desktop 32 bits) supports this devices:
NVIDIA Quadro2 Pro (including 3d support) Wacom Intuos 2 SERIAL tablet Epson ActionScanner II PARALLEL
Can this be done similar to some other O/Ses so Nouveau doesn't pre-screw up the kernel for 3rd party drivers??? Would be great in F16 if we were given a choice re: wanting nouveau or not. I simply can not get F14 or F15 to work with the 270.xx drivers on recent equipment.