Federico Bortolotti wrote:
Hi. I'm new in Linux and Fedora world.
I have installed fedora Core 5, but now i want to install others
software included in the installation CDs, but i cannot find an utility
to make this.
createrepo is available from the CDs which make local repos. You will
have to install this with rpm or by finding the package while browsing
the CDs using the file manager. Clicking on the createrepo<version>.rpm
should bring up a prompt for installing rpms for simple one item and no
additional packages needed. You will need to type the password for root
to install createrepo.
From there, things get a bit more terminal oriented and you must do the
below to get the installer to work with installing from local files.
- Decide what location to put your local rpms in for creating a repo.
(/srv/repos/rpms or similar schemes)
- Copy the rpms from the CDs into the directory you created for the repo.
- Run the command createrepo /srv/repos/rpms or whatever you decided to
create information for the installer to be able to deal with the files.
- Add a file in /etc/yum.repos.d/ directory pointing to the
file:///srv/repos/rpms directory where your repo was created. You will
also have to disable the fedora-core and fedora-updates repos in the
file under /etc/yum.repos.d/ directory by changing enabled=1 to
enabled=0 in these files.
Put the below in a file and locate it to the /etc/yum.repos.d directory.
Make sure the file ends with the .repo extension. no-net.repo or
something easily identifiable.
[local-core-repo]
name=Fedora Core $releasever - $basearch
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
baseurl=file:///srv/repos/rpms/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
file:///etc/pki/rpm-gpg/RPM-GPG-KEY
How can I do?
I have no ADSL connection at home, so i cannot use internet updaters...
There is supposed to be work in making a simple way to do this from
local media. The installer was changed to be Internet friendly as yum is.
No finished product (Or Work in progress) to just put in the first disc
and answer prompts after selecting packages is yet in FC5.
Jim
Thanks
P.S.: where can i find PDF guides to Fedora?
No Idea.
--
There is a certain impertinence in allowing oneself to be burned for an
opinion.
-- Anatole France