Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am trying to install a python package and it needs gcc.
I try to install all the packages of gcc including the compat-gcc pacakges but the depth goes on since each package requires one library or another...
i tried rpm -ivh compat* or gcc* it needs a lot of dependecies.
Is there any easy way to do this ? Is there any easy way to point and install all packages needed without having to speify everything ? I am installing from the cent os cd.
this is centos 52
Thanks in advance.
Also I notice that many pacakges are installed twice, like for example:
Is there any easy way to do this ? Is there any easy way to point and install all packages needed without having to speify everything ? I am installing from the cent os cd.
Yes. Use yum instead of the rpm command. Yum takes care of dependencies automatically. If the system is connected to internet, yum will look for packages on some online repository. If you want to use your own installation DVD as a repository, most likely you have to enable it and disable the online ones.
This is a common situation in 64-bit systems. Is this an x86_64 system architecture? Indeed you cannot have two packages with the same name installed at the same time, unless one is 32-bit and the other 64-bit. To see the difference, use the command
Unfortunately I cannot connect to the net with this machine.
The only way i can install is thru the cd....
Any ideas ? can i make yum point to the dvd ?
Yes, these are from 2 different architechtures.
thanks for that. the command revaled it.
Is there any way I can remove ond of these ?
I have not my Centos machine at hand now, but you should have a file called /etc/yum.repos.d/CentOS-Media.repo or something similar. If you edit it change (or add the line) with the option enabled to
Code:
enabled=1
If you do not want to edit yum repository configuration files, you can enable the DVD repository directly from the command line:
I tried that , nut it does not seem to work.I have pasted the output below.
I have also edited that file to include the path to the mount point of the cd for the c5-media like this:
name=CentOS-$releasever - Media
baseurl=file:///media/CentOS/
file:///media/cdrom/
file:///mnt/
file:///media/cdrecorder/
gpgcheck=1
enabled=1
where /mnt is my mounted path to the cd rom
but does not help:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.