install .deb package
Hello,
I have a centOS computer A with no internet connection. I can however copy files from a windows computer B which has internet access to A. I'd like to install a .deb package on A (this package has no dependencies). The .deb package is already on A. How can I do that ? Thanks. |
|
What is the package and is it available in the CentOS repositories (or any 3rd party CentOS-compatible repos)? Such would be the preferred method in my opinion.
|
As a follow up.. I definitely agree with snowpine. I can't think of many packages off the top of my head that are only available as a .deb and not a .rpm and available in a repo like EPEL. Would be much easier to just find the repo that has it, do a yum install and call it a day.
|
Check out http://dl.fedoraproject.org/pub/epel/6/x86_64/repoview/ for the epel package list. Good place to start for redhat/fedora systems.
|
For more info: http://wiki.centos.org/AdditionalResources/Repositories
|
The .deb I want to install is a personal .deb and no .rpm is available. I think I have to either install dpkg, or use 'alien' to convert it to a rpm. Is there any other solution ? Which is easier of the two ? If I am to download the alien rpm from B and copy it to A, then I would also have to download the dependencies of alien, and so forth. This is getting complicated, and I don't see any easy way out. And I can't use B to convert the .deb package either because B is a windows. I can't use any other computer than A or B, nor a virtual machine.
|
alien is easy, not many dependencies that you will have to work out that I know of.
Check out http://rpmfind.net/linux/rpm2html/se...hp?query=alien for an .rpm download of alien, then use alien to convert .deb to rpm then rpm -i to install it. Should be that easy. |
http://rpm.pbone.net/index.php3/stat...oarch.rpm.html should work for you, just tested it on a CentOS 6.3 install with no dependency issues.
|
Can you please remind me what 'noarch' means ? Also, did you say that you installed alien successfully from that link on a naked CentOS machine without needing to install any other package (either copied to that centOS machine, or retrieved from the a repository or the internet by the CentOS machine itself) ?
|
Yes, I spun up a new VM and put CentOS 6.3 x86_64 on it and did a wget and rpm -i to install it. No issues. noarch means just that, no architecture specified means it is cross arch and can be installed an any. When we say arch we mean x86_64(64bit), i386, i586, etc...
|
Thank you, I think that solves my problem. I'll get back to you if I run into issues whilst trying this idea.
|
All times are GMT -5. The time now is 03:18 PM. |