LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-02-2006, 06:45 PM   #1
Recovered
LQ Newbie
 
Registered: Nov 2006
Posts: 2

Rep: Reputation: 0
Unhappy Ubuntu Package Question


I have a question I'm pretty confused on. If I'm not mistaken I read on threads here that Ubuntu does not use the 'rpm' command? Is this true? I could of sworn I was messing around on terminal and used rpm to unpack a file. I'm trying to install java on ubuntu so I can run a program and am running into problems. After I have gone into root, created /usr/local/java, chmod x+a the .bin, installed the .rpm in the same directory, and now I can't seem to rpm -iv the .rpm file because it keeps giving me a bash: rpm: command not found

Please help, I'm still new to this. Thanks in advance
 
Old 11-02-2006, 06:56 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Ubuntu uses *.deb files. Here's a guide to installing java/other software on Ubuntu.
 
Old 11-02-2006, 06:58 PM   #3
ithawtewrong
Member
 
Registered: Jul 2004
Location: Mile High
Posts: 161

Rep: Reputation: 30
Ubuntu uses apt-get.

You should head over to the Ubuntu forum on this site and read the stickys. You can use this site as well for referencing package names: http://packages.ubuntu.com/
It's hard to say what package you need from your description, buy the basics of the command are:

sudo apt-get install packagename

If there isn't a "ubuntu package" for what you need you can try a .deb and install with dpkg.
The ubuntuguide in the sticky has directions on all the stuff a new person will need and with basic package installations like you're looking for. I think easyubuntu and synaptic will probably help the most for you. The synaptic program has a GUI and will let you install a lot just by clicking the name of the program. I think another good one is Automatix.
 
Old 11-02-2006, 08:00 PM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Ubuntu uses apt-get.
I think you meant that Ubuntu uses Debian packages (*.deb). Apt-get is just a nifty frontend to the underlying Debian dpkg packaging system with a lot extra features and enhancements. Other distros use apt-get with RPM, Slack packages etc but they are not related in anyway to Ubuntu or Debian.
 
Old 11-02-2006, 08:23 PM   #5
ithawtewrong
Member
 
Registered: Jul 2004
Location: Mile High
Posts: 161

Rep: Reputation: 30
You're right. Apt-get is the tool. The packages are .deb
 
Old 11-02-2006, 08:32 PM   #6
AdaHacker
Member
 
Registered: Oct 2001
Location: Brockport, NY
Distribution: Kubuntu
Posts: 384

Rep: Reputation: 32
Quote:
Originally Posted by Recovered
I could of sworn I was messing around on terminal and used rpm to unpack a file.
You may have. I just checked and I have RPM installed on my Kubuntu system. It's just not the "native" package format, so you don't really want to use RPM to install anything if you can avaoid it.

If you can only get RPM packages and not DEBs, you might try converting them with "alien". It's a tool that can be used to convert other package formats, including RPMs, into DEBs that you can install with dpkg. Alien is available in the standard APT repositories if it's not already installed.
 
Old 11-02-2006, 08:57 PM   #7
Recovered
LQ Newbie
 
Registered: Nov 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Hi guys,

Thanks for the reply! I did java -version in terminal and received this message hoping Java is correctly installed on 1.4.2 like it's supposed to, let me know if this is legit.

root@gabe-laptop:~# java -version
java version "1.4.2"
gij (GNU libgcj) version 4.1.0 (Ubuntu 4.1.0-1ubuntu8)

Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
  


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
rebuilding an Ubuntu package MacHamster Ubuntu 3 09-29-2006 02:28 AM
binary package of gtk mplayer (default in ubuntu) fakie_flip Linux - Software 3 09-09-2006 09:23 AM
Remove a ubuntu package in Debian Sarge gbratig Linux - Distributions 3 07-29-2006 08:04 AM
No make package in Ubuntu? dragon Ubuntu 6 05-06-2006 09:46 PM
Opera- Ubuntu package hitest Ubuntu 13 09-05-2005 09:00 AM

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

All times are GMT -5. The time now is 12:30 AM.

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