Re: About mono program with FC6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



edwardspl@xxxxxxxxxx wrote:

Hello Jim,

Due to the Server machine without Internet connection, so how to remove anything of mono by using rpm / yum command ?

Edward,


I ran yum erase "mono*" to get rid of mono packages. There are sites where explanation is given as to how to set up local repos using the iso images loop mounted. Yum does not work without Internet connection by default.

If you wanted to put all the rpms from the install media on the hard disk and setup a local repo, you would also have to install a program called createrepo which makes information that yum recognizes to retrieve packages.

Basically, insert the install disc(s) and change to the directory where the rpms are located. Pick a location to install the rpms such as /srv/rpm-repo which you would create. Disable your fedora-extras.repo and fedora-updates.repo files (change enabled to 0 instead of 1) Next edit your fedora-core.repo file and comment out the mirrorlist= line. Add a new line below with
baseurl=file\\\srv\rpm-repo
as the information in the file for your local repo. Copy all of the rpms from the RPMS directories from all install media to the /srv/rpm-repo directory. Next, change to the /srv/rpm-repo directory and run rpm -Uvh createrepo*.rpm to install the createrepo file. Afterwards, run createrepo /srv/rpm-repo and wait for it to finish. Next, you should have yum setup so you can add or remove rpms from the install disk repository. You only need the repo to install rpms but yum needs it to run. Afterward run yum erase "mono*" and answer y if the packages that will be erased are what packages you want to remove.

I wish tyhere was a simpler way for those without Internet connection to do this by just inserting the installation media but there is none right now. You might search for information on setting up local repos if you want to try the loop mounting the install media isos and setting up repos based on that.

Jim

--
You never know how many friends you have until you rent a house on the beach.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux