How to install 'Development Tools' into a CentOS machine without internet?
up vote
-1
down vote
favorite
I need gcc, make and other essential stuff on a CentOS machine. The thing is that the machine is not (and probably will not be) connected to the internet.
Downloading the packages on some other computer, then moving and installing them here seems as an option. However, to compile packages I need make in the first place as far as I know.
What should I do? How can I get make here? How can I use yum to install packages from the local drive?
Edit:
The only machine I have with internet runs Windows of which admin rights I do not have.
centos yum
New contributor
add a comment |
up vote
-1
down vote
favorite
I need gcc, make and other essential stuff on a CentOS machine. The thing is that the machine is not (and probably will not be) connected to the internet.
Downloading the packages on some other computer, then moving and installing them here seems as an option. However, to compile packages I need make in the first place as far as I know.
What should I do? How can I get make here? How can I use yum to install packages from the local drive?
Edit:
The only machine I have with internet runs Windows of which admin rights I do not have.
centos yum
New contributor
If you have the CentOS DVD, you can set up a local repository and just proceed with regular yum commands.
– Haxiel
Dec 3 at 12:46
add a comment |
up vote
-1
down vote
favorite
up vote
-1
down vote
favorite
I need gcc, make and other essential stuff on a CentOS machine. The thing is that the machine is not (and probably will not be) connected to the internet.
Downloading the packages on some other computer, then moving and installing them here seems as an option. However, to compile packages I need make in the first place as far as I know.
What should I do? How can I get make here? How can I use yum to install packages from the local drive?
Edit:
The only machine I have with internet runs Windows of which admin rights I do not have.
centos yum
New contributor
I need gcc, make and other essential stuff on a CentOS machine. The thing is that the machine is not (and probably will not be) connected to the internet.
Downloading the packages on some other computer, then moving and installing them here seems as an option. However, to compile packages I need make in the first place as far as I know.
What should I do? How can I get make here? How can I use yum to install packages from the local drive?
Edit:
The only machine I have with internet runs Windows of which admin rights I do not have.
centos yum
centos yum
New contributor
New contributor
edited Dec 3 at 12:40
New contributor
asked Dec 3 at 7:17
trxrg
62
62
New contributor
New contributor
If you have the CentOS DVD, you can set up a local repository and just proceed with regular yum commands.
– Haxiel
Dec 3 at 12:46
add a comment |
If you have the CentOS DVD, you can set up a local repository and just proceed with regular yum commands.
– Haxiel
Dec 3 at 12:46
If you have the CentOS DVD, you can set up a local repository and just proceed with regular yum commands.
– Haxiel
Dec 3 at 12:46
If you have the CentOS DVD, you can set up a local repository and just proceed with regular yum commands.
– Haxiel
Dec 3 at 12:46
add a comment |
2 Answers
2
active
oldest
votes
up vote
1
down vote
Resolve your package dependencies from a same distro release version (major at least)
Download them all with yumdownloader from an internet connected box.
You might need to install yumdownloader first on the network box.
Transfer them rpm and profit!
1
Note:yumdownloader
has a--resolve
switch which will download all the dependencies, but that will be based on the state of the machine you run it on.
– Ulrich Schwarz
Dec 3 at 7:47
Challenge updated :). The only machine I have with internet runs Windows. Can I still do this?
– trxrg
Dec 3 at 11:07
Install VirtualBox on Windows, reproduce your CentOS setup there and fiddle with it.
– AnonymousLurker
Dec 3 at 11:43
@AnonymousLurker I cannot stop smiling reluctantly because of the level of desperation. I do not have admin rights on the Windows machine, so I cannot install anything on it. Also I cannot ask for it to the Admin. What am I going to do?
– trxrg
Dec 3 at 12:38
@trxrg probably trying to stop solving a social problem by technical means. There has to be somebody in charge. You can also install VirtualBox on another computer where you actually have admin rights and try to reproduce your CentOS setup there.
– AnonymousLurker
Dec 3 at 17:08
add a comment |
up vote
0
down vote
You don't need to have make
before any installation. rpm
operates on packages - so all stuff inside a package.rpm is already compiled (except *-devel.rpm etc.). Just do as you mentioned, download needed rpm's, copy to destination machine and do rpm -ihv yourstuff.rpm (and yes, remember about dependencies).
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
Resolve your package dependencies from a same distro release version (major at least)
Download them all with yumdownloader from an internet connected box.
You might need to install yumdownloader first on the network box.
Transfer them rpm and profit!
1
Note:yumdownloader
has a--resolve
switch which will download all the dependencies, but that will be based on the state of the machine you run it on.
– Ulrich Schwarz
Dec 3 at 7:47
Challenge updated :). The only machine I have with internet runs Windows. Can I still do this?
– trxrg
Dec 3 at 11:07
Install VirtualBox on Windows, reproduce your CentOS setup there and fiddle with it.
– AnonymousLurker
Dec 3 at 11:43
@AnonymousLurker I cannot stop smiling reluctantly because of the level of desperation. I do not have admin rights on the Windows machine, so I cannot install anything on it. Also I cannot ask for it to the Admin. What am I going to do?
– trxrg
Dec 3 at 12:38
@trxrg probably trying to stop solving a social problem by technical means. There has to be somebody in charge. You can also install VirtualBox on another computer where you actually have admin rights and try to reproduce your CentOS setup there.
– AnonymousLurker
Dec 3 at 17:08
add a comment |
up vote
1
down vote
Resolve your package dependencies from a same distro release version (major at least)
Download them all with yumdownloader from an internet connected box.
You might need to install yumdownloader first on the network box.
Transfer them rpm and profit!
1
Note:yumdownloader
has a--resolve
switch which will download all the dependencies, but that will be based on the state of the machine you run it on.
– Ulrich Schwarz
Dec 3 at 7:47
Challenge updated :). The only machine I have with internet runs Windows. Can I still do this?
– trxrg
Dec 3 at 11:07
Install VirtualBox on Windows, reproduce your CentOS setup there and fiddle with it.
– AnonymousLurker
Dec 3 at 11:43
@AnonymousLurker I cannot stop smiling reluctantly because of the level of desperation. I do not have admin rights on the Windows machine, so I cannot install anything on it. Also I cannot ask for it to the Admin. What am I going to do?
– trxrg
Dec 3 at 12:38
@trxrg probably trying to stop solving a social problem by technical means. There has to be somebody in charge. You can also install VirtualBox on another computer where you actually have admin rights and try to reproduce your CentOS setup there.
– AnonymousLurker
Dec 3 at 17:08
add a comment |
up vote
1
down vote
up vote
1
down vote
Resolve your package dependencies from a same distro release version (major at least)
Download them all with yumdownloader from an internet connected box.
You might need to install yumdownloader first on the network box.
Transfer them rpm and profit!
Resolve your package dependencies from a same distro release version (major at least)
Download them all with yumdownloader from an internet connected box.
You might need to install yumdownloader first on the network box.
Transfer them rpm and profit!
edited 2 days ago
answered Dec 3 at 7:22
M.N.
264
264
1
Note:yumdownloader
has a--resolve
switch which will download all the dependencies, but that will be based on the state of the machine you run it on.
– Ulrich Schwarz
Dec 3 at 7:47
Challenge updated :). The only machine I have with internet runs Windows. Can I still do this?
– trxrg
Dec 3 at 11:07
Install VirtualBox on Windows, reproduce your CentOS setup there and fiddle with it.
– AnonymousLurker
Dec 3 at 11:43
@AnonymousLurker I cannot stop smiling reluctantly because of the level of desperation. I do not have admin rights on the Windows machine, so I cannot install anything on it. Also I cannot ask for it to the Admin. What am I going to do?
– trxrg
Dec 3 at 12:38
@trxrg probably trying to stop solving a social problem by technical means. There has to be somebody in charge. You can also install VirtualBox on another computer where you actually have admin rights and try to reproduce your CentOS setup there.
– AnonymousLurker
Dec 3 at 17:08
add a comment |
1
Note:yumdownloader
has a--resolve
switch which will download all the dependencies, but that will be based on the state of the machine you run it on.
– Ulrich Schwarz
Dec 3 at 7:47
Challenge updated :). The only machine I have with internet runs Windows. Can I still do this?
– trxrg
Dec 3 at 11:07
Install VirtualBox on Windows, reproduce your CentOS setup there and fiddle with it.
– AnonymousLurker
Dec 3 at 11:43
@AnonymousLurker I cannot stop smiling reluctantly because of the level of desperation. I do not have admin rights on the Windows machine, so I cannot install anything on it. Also I cannot ask for it to the Admin. What am I going to do?
– trxrg
Dec 3 at 12:38
@trxrg probably trying to stop solving a social problem by technical means. There has to be somebody in charge. You can also install VirtualBox on another computer where you actually have admin rights and try to reproduce your CentOS setup there.
– AnonymousLurker
Dec 3 at 17:08
1
1
Note:
yumdownloader
has a --resolve
switch which will download all the dependencies, but that will be based on the state of the machine you run it on.– Ulrich Schwarz
Dec 3 at 7:47
Note:
yumdownloader
has a --resolve
switch which will download all the dependencies, but that will be based on the state of the machine you run it on.– Ulrich Schwarz
Dec 3 at 7:47
Challenge updated :). The only machine I have with internet runs Windows. Can I still do this?
– trxrg
Dec 3 at 11:07
Challenge updated :). The only machine I have with internet runs Windows. Can I still do this?
– trxrg
Dec 3 at 11:07
Install VirtualBox on Windows, reproduce your CentOS setup there and fiddle with it.
– AnonymousLurker
Dec 3 at 11:43
Install VirtualBox on Windows, reproduce your CentOS setup there and fiddle with it.
– AnonymousLurker
Dec 3 at 11:43
@AnonymousLurker I cannot stop smiling reluctantly because of the level of desperation. I do not have admin rights on the Windows machine, so I cannot install anything on it. Also I cannot ask for it to the Admin. What am I going to do?
– trxrg
Dec 3 at 12:38
@AnonymousLurker I cannot stop smiling reluctantly because of the level of desperation. I do not have admin rights on the Windows machine, so I cannot install anything on it. Also I cannot ask for it to the Admin. What am I going to do?
– trxrg
Dec 3 at 12:38
@trxrg probably trying to stop solving a social problem by technical means. There has to be somebody in charge. You can also install VirtualBox on another computer where you actually have admin rights and try to reproduce your CentOS setup there.
– AnonymousLurker
Dec 3 at 17:08
@trxrg probably trying to stop solving a social problem by technical means. There has to be somebody in charge. You can also install VirtualBox on another computer where you actually have admin rights and try to reproduce your CentOS setup there.
– AnonymousLurker
Dec 3 at 17:08
add a comment |
up vote
0
down vote
You don't need to have make
before any installation. rpm
operates on packages - so all stuff inside a package.rpm is already compiled (except *-devel.rpm etc.). Just do as you mentioned, download needed rpm's, copy to destination machine and do rpm -ihv yourstuff.rpm (and yes, remember about dependencies).
add a comment |
up vote
0
down vote
You don't need to have make
before any installation. rpm
operates on packages - so all stuff inside a package.rpm is already compiled (except *-devel.rpm etc.). Just do as you mentioned, download needed rpm's, copy to destination machine and do rpm -ihv yourstuff.rpm (and yes, remember about dependencies).
add a comment |
up vote
0
down vote
up vote
0
down vote
You don't need to have make
before any installation. rpm
operates on packages - so all stuff inside a package.rpm is already compiled (except *-devel.rpm etc.). Just do as you mentioned, download needed rpm's, copy to destination machine and do rpm -ihv yourstuff.rpm (and yes, remember about dependencies).
You don't need to have make
before any installation. rpm
operates on packages - so all stuff inside a package.rpm is already compiled (except *-devel.rpm etc.). Just do as you mentioned, download needed rpm's, copy to destination machine and do rpm -ihv yourstuff.rpm (and yes, remember about dependencies).
answered Dec 3 at 12:31
Radek Radek
213
213
add a comment |
add a comment |
trxrg is a new contributor. Be nice, and check out our Code of Conduct.
trxrg is a new contributor. Be nice, and check out our Code of Conduct.
trxrg is a new contributor. Be nice, and check out our Code of Conduct.
trxrg is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f485620%2fhow-to-install-development-tools-into-a-centos-machine-without-internet%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
If you have the CentOS DVD, you can set up a local repository and just proceed with regular yum commands.
– Haxiel
Dec 3 at 12:46