LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 04-03-2008, 04:18 AM   #1
mfdarvesh
LQ Newbie
 
Registered: Feb 2007
Posts: 21

Rep: Reputation: 15
Software Installation Process on Linux (How)


I am still Newbie to Linux, using CentOS 4.4 for last two months. Installation Process on Linux seems more difficult than Windows, specially analyzing dependencies. Like few days before I searched web for downloader and found D4x, now downloaded its RPM and trying to install, it gives a long list of files missing, now how to can I search each of them, it is very difficult to find all.

Similarly, I tried #yum install d4x, same result found, is it some command that can automatically download all dependencies ..
 
Old 04-03-2008, 06:05 AM   #2
wolfperkins
Member
 
Registered: Oct 2007
Location: Val-des-Monts, Québec, Canada
Distribution: CentOS, RHEL, Fedora
Posts: 110

Rep: Reputation: 16
yum should get dependencies on your behalf... as long as it knows the repositories you are trying to install from.

You typically have to download the RPM for the repository server you are getting your RPMs from.

Once installed, a simple "yum install whatever" should query that repository as part of the search and get all dependencies along with it.
 
Old 04-03-2008, 06:06 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
For most common applications--using the package manager--the dependencies will be handled automatically. Always try the package manager first.

If you want to install SW that is not available in your package manager, then--yes--you have to track down whatever it needs.

d4x is available in the package manager on two systems here: PCLinuxOS and Arch Linux.

Once you get used to a good package management / repository system, you will find that installing SW on Linux is actually much easier than on Windows.
 
Old 04-04-2008, 12:16 AM   #4
mfdarvesh
LQ Newbie
 
Registered: Feb 2007
Posts: 21

Original Poster
Rep: Reputation: 15
Thanks, where I can find package manager and how can I use that. Moreover, rpm -ivh can install or not?
 
Old 04-04-2008, 02:19 AM   #5
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Check 'man yum'. It should be installed by default on your Centos system. rpm does not resolve dependencies. Yum is a package manager.
 
Old 04-04-2008, 05:07 AM   #6
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Isn't there an Add/Remove Software item on the "Applications" menu?
 
Old 04-05-2008, 02:41 AM   #7
mfdarvesh
LQ Newbie
 
Registered: Feb 2007
Posts: 21

Original Poster
Rep: Reputation: 15
LazLow, I try "yum install D4x" but it does not work at end it says nothing to do.

No Jay73, No add remove in Application menu is available.
 
Old 04-05-2008, 06:49 AM   #8
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Is there a line in there that says "No package D4x available."? If so that means that the particular package is not available from the repos you are using. If there is no such line that would indicate that it is already installed.

Where did you get this rpm from? Please post link.

Last edited by lazlow; 04-05-2008 at 06:54 AM.
 
Old 04-09-2008, 01:08 AM   #9
mfdarvesh
LQ Newbie
 
Registered: Feb 2007
Posts: 21

Original Poster
Rep: Reputation: 15
Thanks, Lazlow, please tell me the easiest way to install D4x on CentOS, I think rpmfin.net from where I download the rpm.
 
Old 04-09-2008, 01:01 PM   #10
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Again look at "man yum". In this case you are looking for localinstall.
 
Old 04-10-2008, 03:50 AM   #11
greengrocer
Member
 
Registered: Aug 2005
Distribution: Ubuntu Intrepid and Meerkat, formerly used Debian 3.1 (Sarge) with Gnome Desktop
Posts: 353

Rep: Reputation: 37
Try this:

Open up a text editor and paste in the following:

Code:
[fc6-base]
name=Fedora Core 6 Base
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-6&arch=$basearch
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras
gpgcheck=0

[fc6-updates]
name=Fedora Core 6 Updates
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-fc6&arch=$basearch
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras
gpgcheck=0

[fc6-extras]
name=Fedora Core 6 Extras
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=extras-6&arch=$basearch
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras
gpgcheck=0
Save out this as a file inside the /etc/yum.repos.d directory, name the file "FC6.repo"

Then try

Code:
yum install d4x --enablerepo=FC6.repo
Regards,
Greenie
 
Old 04-10-2008, 03:55 AM   #12
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
I would be careful mixing distro repos. Centos5 was based on FC6. I think Centos4 was based on FC3(?). So even if you wanted to try and use Fedora packages on Centos you would want to stick to the version that it was based on. Newer versions will probably have newer dependencies and mixing and matching can bring down a system pretty fast.
 
Old 04-18-2008, 11:17 PM   #13
mfdarvesh
LQ Newbie
 
Registered: Feb 2007
Posts: 21

Original Poster
Rep: Reputation: 15
Thanks, green and Lazlow
 
  


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
Linux Software Installation rmal006 Linux - Software 6 04-03-2008 10:42 AM
distro-independent detailed description of linux installation process kabarbaik Linux - General 1 02-20-2007 11:16 AM
The magical linux installation process!!!!! help ;) pertek Linux - Software 5 04-04-2004 07:58 PM

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

All times are GMT -5. The time now is 12:50 PM.

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