Is there a chance that a CentOS machine does not have RPM?
up vote
1
down vote
favorite
I am going to work on a remotely located CentOS machine without internet. I do not know its situation and it is very hard for me to move things between. In other words I have only one-shot for setting it up, so I want to be well-prepared for every possible state of the machine.
I will need some programs, so I downloaded .rpm packages in my Windows machine. I am planning to transfer them to the CentOS machine and install with RPM. The question is whether there is a chance that the machine does not have RPM? And if yes, what should I do to get RPM and install the .rpm packages?
centos rpm
New contributor
add a comment |
up vote
1
down vote
favorite
I am going to work on a remotely located CentOS machine without internet. I do not know its situation and it is very hard for me to move things between. In other words I have only one-shot for setting it up, so I want to be well-prepared for every possible state of the machine.
I will need some programs, so I downloaded .rpm packages in my Windows machine. I am planning to transfer them to the CentOS machine and install with RPM. The question is whether there is a chance that the machine does not have RPM? And if yes, what should I do to get RPM and install the .rpm packages?
centos rpm
New contributor
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I am going to work on a remotely located CentOS machine without internet. I do not know its situation and it is very hard for me to move things between. In other words I have only one-shot for setting it up, so I want to be well-prepared for every possible state of the machine.
I will need some programs, so I downloaded .rpm packages in my Windows machine. I am planning to transfer them to the CentOS machine and install with RPM. The question is whether there is a chance that the machine does not have RPM? And if yes, what should I do to get RPM and install the .rpm packages?
centos rpm
New contributor
I am going to work on a remotely located CentOS machine without internet. I do not know its situation and it is very hard for me to move things between. In other words I have only one-shot for setting it up, so I want to be well-prepared for every possible state of the machine.
I will need some programs, so I downloaded .rpm packages in my Windows machine. I am planning to transfer them to the CentOS machine and install with RPM. The question is whether there is a chance that the machine does not have RPM? And if yes, what should I do to get RPM and install the .rpm packages?
centos rpm
centos rpm
New contributor
New contributor
edited Dec 4 at 13:25
New contributor
asked Dec 4 at 13:08
trxrg
62
62
New contributor
New contributor
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
up vote
3
down vote
CentOS is rpm-based; that means that everything on that server is installed with rpms. Theoretically, it is possible that someone removed the rpm
package, but then you're in big trouble. If it is just any normal CentOS machine, then rpm
is surely present.
add a comment |
up vote
2
down vote
No; if someone removed yum/rpm it's no longer CentOS. You could bring live ISOs of CentOS/Ubuntu/Manjaro in case you need any base system components. Generally bringing individual rpm files can be a problem because you may be missing the correct version of dependencies, so it's best to bring a copy of a rpm repositories (the base one is included on live ISOs), if you have a fast connection and plenty of free space you can look up how to make a full offline clone of a distributions repositories.
yum install -y createrepo yum-utils
reposync -p /var/www/html/repo -r <REPOID> -l
createrepo /var/www/html/repo
Can I make the offline clone on my Windows Pc?
– trxrg
Dec 4 at 13:40
@trxrg yes, but you may want to install CentOS in virtualbox on Windows to make it easy on yourself access.redhat.com/solutions/9892
– user1133275
Dec 4 at 13:50
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
CentOS is rpm-based; that means that everything on that server is installed with rpms. Theoretically, it is possible that someone removed the rpm
package, but then you're in big trouble. If it is just any normal CentOS machine, then rpm
is surely present.
add a comment |
up vote
3
down vote
CentOS is rpm-based; that means that everything on that server is installed with rpms. Theoretically, it is possible that someone removed the rpm
package, but then you're in big trouble. If it is just any normal CentOS machine, then rpm
is surely present.
add a comment |
up vote
3
down vote
up vote
3
down vote
CentOS is rpm-based; that means that everything on that server is installed with rpms. Theoretically, it is possible that someone removed the rpm
package, but then you're in big trouble. If it is just any normal CentOS machine, then rpm
is surely present.
CentOS is rpm-based; that means that everything on that server is installed with rpms. Theoretically, it is possible that someone removed the rpm
package, but then you're in big trouble. If it is just any normal CentOS machine, then rpm
is surely present.
edited Dec 4 at 15:31
Peschke
2,400924
2,400924
answered Dec 4 at 13:25
Chris Maes
1,02411018
1,02411018
add a comment |
add a comment |
up vote
2
down vote
No; if someone removed yum/rpm it's no longer CentOS. You could bring live ISOs of CentOS/Ubuntu/Manjaro in case you need any base system components. Generally bringing individual rpm files can be a problem because you may be missing the correct version of dependencies, so it's best to bring a copy of a rpm repositories (the base one is included on live ISOs), if you have a fast connection and plenty of free space you can look up how to make a full offline clone of a distributions repositories.
yum install -y createrepo yum-utils
reposync -p /var/www/html/repo -r <REPOID> -l
createrepo /var/www/html/repo
Can I make the offline clone on my Windows Pc?
– trxrg
Dec 4 at 13:40
@trxrg yes, but you may want to install CentOS in virtualbox on Windows to make it easy on yourself access.redhat.com/solutions/9892
– user1133275
Dec 4 at 13:50
add a comment |
up vote
2
down vote
No; if someone removed yum/rpm it's no longer CentOS. You could bring live ISOs of CentOS/Ubuntu/Manjaro in case you need any base system components. Generally bringing individual rpm files can be a problem because you may be missing the correct version of dependencies, so it's best to bring a copy of a rpm repositories (the base one is included on live ISOs), if you have a fast connection and plenty of free space you can look up how to make a full offline clone of a distributions repositories.
yum install -y createrepo yum-utils
reposync -p /var/www/html/repo -r <REPOID> -l
createrepo /var/www/html/repo
Can I make the offline clone on my Windows Pc?
– trxrg
Dec 4 at 13:40
@trxrg yes, but you may want to install CentOS in virtualbox on Windows to make it easy on yourself access.redhat.com/solutions/9892
– user1133275
Dec 4 at 13:50
add a comment |
up vote
2
down vote
up vote
2
down vote
No; if someone removed yum/rpm it's no longer CentOS. You could bring live ISOs of CentOS/Ubuntu/Manjaro in case you need any base system components. Generally bringing individual rpm files can be a problem because you may be missing the correct version of dependencies, so it's best to bring a copy of a rpm repositories (the base one is included on live ISOs), if you have a fast connection and plenty of free space you can look up how to make a full offline clone of a distributions repositories.
yum install -y createrepo yum-utils
reposync -p /var/www/html/repo -r <REPOID> -l
createrepo /var/www/html/repo
No; if someone removed yum/rpm it's no longer CentOS. You could bring live ISOs of CentOS/Ubuntu/Manjaro in case you need any base system components. Generally bringing individual rpm files can be a problem because you may be missing the correct version of dependencies, so it's best to bring a copy of a rpm repositories (the base one is included on live ISOs), if you have a fast connection and plenty of free space you can look up how to make a full offline clone of a distributions repositories.
yum install -y createrepo yum-utils
reposync -p /var/www/html/repo -r <REPOID> -l
createrepo /var/www/html/repo
edited Dec 4 at 13:52
answered Dec 4 at 13:28
user1133275
2,713415
2,713415
Can I make the offline clone on my Windows Pc?
– trxrg
Dec 4 at 13:40
@trxrg yes, but you may want to install CentOS in virtualbox on Windows to make it easy on yourself access.redhat.com/solutions/9892
– user1133275
Dec 4 at 13:50
add a comment |
Can I make the offline clone on my Windows Pc?
– trxrg
Dec 4 at 13:40
@trxrg yes, but you may want to install CentOS in virtualbox on Windows to make it easy on yourself access.redhat.com/solutions/9892
– user1133275
Dec 4 at 13:50
Can I make the offline clone on my Windows Pc?
– trxrg
Dec 4 at 13:40
Can I make the offline clone on my Windows Pc?
– trxrg
Dec 4 at 13:40
@trxrg yes, but you may want to install CentOS in virtualbox on Windows to make it easy on yourself access.redhat.com/solutions/9892
– user1133275
Dec 4 at 13:50
@trxrg yes, but you may want to install CentOS in virtualbox on Windows to make it easy on yourself access.redhat.com/solutions/9892
– user1133275
Dec 4 at 13:50
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%2f485888%2fis-there-a-chance-that-a-centos-machine-does-not-have-rpm%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