LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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, 03: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, 03:47 PM   #2
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

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

Rep: Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099
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, 04:01 PM   #4
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

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

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
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, 04:10 PM   #6
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,039

Rep: Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099
For more info: http://wiki.centos.org/AdditionalResources/Repositories
 
Old 12-20-2012, 04: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 04:56 PM.
 
Old 12-20-2012, 05:09 PM   #8
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
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, 05:13 PM   #9
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
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, 05: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, 05:24 PM   #11
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
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, 05: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 01:38 PM
install destination of deb package jeowu Linux - Software 7 07-02-2010 02:35 PM
Is there any way to install .deb package to Fedora kartik_mistry Debian 5 06-18-2009 06:07 PM
How to install deb package tstrickland Linux - Newbie 10 07-21-2005 07:39 PM
Can't install gimp from .deb package friedknut Debian 4 08-13-2004 05:08 PM


All times are GMT -5. The time now is 04:02 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration