Setting up Fedora 13 for basic development / tools
July 27, 2010
I recently installed Fedora 13 on my laptop and then went through lot of links / help articles / forums to set up the complete environment for my needs – development tools, office tools and entertainment stuff. Thanks a lot to my friend Adarsh J who helped a lot in the process (he is a complete ubuntu geek!) In this post I will try to summarize the links at one place.
Getting the package manager / yum working
I got many issues for getting the yum working. The most common error is: “Cannot retrieve repository metadata (repomd.xml)”. But a brilliant article on digitizer will be helpful to get around it.
Development packages:
To install basic development packages and edit tools, following commands can be useful:
yum groupinstall “Development Tools”
yum install vim
Installing Code::Blocks IDE
If you try and do rpm commands with the download files given here, you will get a lot of dependancy errors. I found this fedora forum page very useful to solve the difficulty.
You first need to install codeblocks-libs-8.02-3.fc10.i386.rpm so that no dependancies are there during other rpm installations. Then you may go on and install other codeblock rpms given here. Note that the above link installs codeblock version 8.2. You may google for latest version rpms.
If you try and run simple hello world console program using codeblocks, you will get following error: “Process terminated with status 255 (0 minutes, 0 seconds)” Codeblocks forum page here tells you the way around. For fedora, instead of apt-get do:
apt-get install xterm
Installing VLC
Vlc will not be available on repository list for fedora. So, yum install vlc may not work. Following commands will help to install it:
rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
rpm -ivh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
yum install vlc
Installing openoffice tools is pretty easy.
Thats it. You are ready with most things you may need!