LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   install .deb package (https://www.linuxquestions.org/questions/linux-newbie-8/install-deb-package-4175442354/)

shakira19 12-20-2012 02:43 PM

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.

Kustom42 12-20-2012 02:47 PM

Check out http://www.thegeekstuff.com/2010/11/...mand-examples/

snowday 12-20-2012 02:58 PM

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.

Kustom42 12-20-2012 03:01 PM

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.

Kustom42 12-20-2012 03:03 PM

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.

snowday 12-20-2012 03:10 PM

For more info: http://wiki.centos.org/AdditionalResources/Repositories

shakira19 12-20-2012 03:53 PM

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.

Kustom42 12-20-2012 04:09 PM

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.

Kustom42 12-20-2012 04:13 PM

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.

shakira19 12-20-2012 04:17 PM

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) ?

Kustom42 12-20-2012 04:24 PM

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...

shakira19 12-20-2012 04:32 PM

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.