LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Reinstall NetworkManager...without internet (https://www.linuxquestions.org/questions/linux-newbie-8/reinstall-networkmanager-without-internet-835574/)

warlock07 10-01-2010 03:11 AM

Reinstall NetworkManager...without internet
 
Hi everyone,
Linux newbie here
I kind of uninstalled my NetworkManager in Fedora 12 planning to reinstall it.
Now without wireless(or ethernet) on my laptop, I am stranded, high and dry without internet. Anyway to get the internet so I can use the command...
Code:

yum install NetworkManager

I tried doing it offline but it is too much trouble and I am getting no where with so may things to toubleshoot.
I downloaded the tarfile from the official website for NetworkManager trying to reinstall it only to find errors while trying to run
Code:

./configure
I get this error
Quote:

XML::Parser perl module is required for intltool
When I googled for this error, i found this link

From the instructions there I ran this bit of code
Code:

/usr/bin/perl -e "require XML::Parser"
only to find this error msg.
Quote:

Can't locate XML/Parser.pm in @INC
SO tried to reinstall the XML-Parser.
I downloaded the tar file from the website and ran the files as per the readme file only to find more errors!!
As u must've realized by now, I am totally lost and clueless and any help would be greatly appreciated.....:D

linuxlover.chaitanya 10-01-2010 04:36 AM

One way to use yum without internet is to add cd drive as repository and then install it from there.

warlock07 10-02-2010 03:22 AM

How do you specify that?
Is there an option for yum for enabling the cd/dvd repository
I checked the yum help. The only thing i found relevant was the localinstall option which did not work with the cd in the drive..
Any idea on how to do that explicitly?

sem007 10-02-2010 03:27 AM

Quote:

Originally Posted by warlock07 (Post 4115472)
How do you specify that?
Is there an option for yum for enabling the cd/dvd repository
I checked the yum help. The only thing i found relevant was the localinstall option which did not work with the cd in the drive..
Any idea on how to do that explicitly?

Yes you can use media repository.

add baseurl entry in repo file like

Code:

[media]
name=Media repo
baseurl=file:///media/CentOS/
        file:///media/cdrom/
        file:///media/cdrecorder/
gpgcheck=0
enabled=1

Regards,


All times are GMT -5. The time now is 10:59 PM.