Ask Your Question
0

How to Install "C Development Tools and Libraries" offline without online Fedora

asked 2018-11-20 06:57:51 -0600

updated 2018-11-20 07:30:17 -0600

aeperezt gravatar image

computer DELL PRECISION TOWER 7910 (64 bit) prohibited from being connected on line by security online machine is Windows 8 so current answer doesn't help O.S. = Fedora 27 need libxml2-devel like to have emacs, gedit, e.t.c. havn't a clue which libxml2-devel package to get for this computer Thank you

edit retag flag offensive close merge delete

Comments

Thank you for your answers but what is suggested won't work for me. Installing Fedora onto a Windows VirtualBox is still running Fadora on line by me, from the Security point of view. I'm not authorized to do that. Also I'm not certain of the exact settings I'd need to have in Virtual Box to emulate a much more powerful computer than the Windows Computer. I really need to understand how to pick the correct files on line to put on a flash disk. I guess I just don't know how to ask the correct questions.

schmedinghoff1 gravatar imageschmedinghoff1 ( 2018-11-27 04:08:59 -0600 )edit

3 Answers

Sort by » oldest newest most voted
1

answered 2018-11-20 15:32:07 -0600

ozeszty gravatar image

Hi, the other way around would seem more secure (Fedora as the on-line system) ;)

Anyway, you can use e.g. VirtualBox on Windows to create a Virtual Machine with Fedora 27 x64, and there run dnf install libxml2-devel --downloadonly --downloaddir=/some/path. That way dnfwill download (not install) the package(s) you need, and any required dependencies, into selected directory. https://dnf.readthedocs.io/en/latest/...

After copying downloaded rpm files to the off-line system run there dnf install /path/to/downloaded/files/* --disablerepo=* to install them. --disablerepo=* will make sure dnf doesn't fail because of no access to on-line repositories. You can also use dnf install * --disablerepo=* if you've already navigated terminal to the proper directory.

You can reuse this VM to download updates (dnf update --downloadonly --downloaddir=/some/path) or any other required packages (emacs, gedit or anything else available in Fedora). Just make sure you install same packages on both systems. Keep in mind that in the beginning of December Fedora 27 will reach EndOfLife and stop receiving any new updates.

edit flag offensive delete link more
1

answered 2018-11-20 08:36:35 -0600

florian gravatar image

You can download the packages you need from koji.fedoraproject.org on another computer and use a flash drive to copy them to your Dell tower. There, you use “dnf install package and.rpm” to install the packages you need.

edit flag offensive delete link more
1

answered 2018-11-20 07:36:35 -0600

aeperezt gravatar image

With out Internet the only option is to create an home repository, but that means you need to download (so you need access to Internet) all RPM files so you could install the tools you need.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2018-11-20 06:57:51 -0600

Seen: 65 times

Last updated: Nov 20 '18