LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-20-2012, 02:43 PM   #1
shakira19
Member
 
Registered: Sep 2012
Posts: 34

Rep: Reputation: Disabled
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.
 
Old 12-20-2012, 02:47 PM   #2
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
Check out http://www.thegeekstuff.com/2010/11/...mand-examples/
 
Old 12-20-2012, 02:58 PM   #3
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
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.
 
Old 12-20-2012, 03:01 PM   #4
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
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.
 
Old 12-20-2012, 03:03 PM   #5
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
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.
 
Old 12-20-2012, 03:10 PM   #6
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
For more info: http://wiki.centos.org/AdditionalResources/Repositories
 
Old 12-20-2012, 03:53 PM   #7
shakira19
Member
 
Registered: Sep 2012
Posts: 34

Original Poster
Rep: Reputation: Disabled
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.

Last edited by shakira19; 12-20-2012 at 03:56 PM.
 
Old 12-20-2012, 04:09 PM   #8
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
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.
 
Old 12-20-2012, 04:13 PM   #9
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
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.
 
1 members found this post helpful.
Old 12-20-2012, 04:17 PM   #10
shakira19
Member
 
Registered: Sep 2012
Posts: 34

Original Poster
Rep: Reputation: Disabled
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) ?
 
Old 12-20-2012, 04:24 PM   #11
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
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...
 
1 members found this post helpful.
Old 12-20-2012, 04:32 PM   #12
shakira19
Member
 
Registered: Sep 2012
Posts: 34

Original Poster
Rep: Reputation: Disabled
Thank you, I think that solves my problem. I'll get back to you if I run into issues whilst trying this idea.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How best to install deb package jkirchner Slackware 5 10-21-2012 12:38 PM
install destination of deb package jeowu Linux - Software 7 07-02-2010 01:35 PM
Is there any way to install .deb package to Fedora kartik_mistry Debian 5 06-18-2009 05:07 PM
How to install deb package tstrickland Linux - Newbie 10 07-21-2005 06:39 PM
Can't install gimp from .deb package friedknut Debian 4 08-13-2004 04:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration