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 02-18-2009, 05:59 AM   #1
loctitekid
LQ Newbie
 
Registered: Feb 2009
Location: Caboolture north of Brisbane Queensland Australia
Distribution: xandros
Posts: 7

Rep: Reputation: 0
Downloaded rpm file. How do I install it please?


I am looking for a digital world clock like HsClock.
It has a source tarball and a .rpm file. I infer that the rpm
has binaries. I downloaded the rpm file, but now I don't know what to do next.

I am trying to avoid compiling source, because this machine has only 8GB HDD and 512MB RAM.
It's not a development machine, it's a net surfing appliance.

My distro is a modified Xandros, running on an ASUS Eee PC 701.
 
Old 02-18-2009, 06:01 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,502

Rep: Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883
as root

Code:
rpm -i foo.rpm
 
Old 02-18-2009, 06:06 AM   #3
bernihard
LQ Newbie
 
Registered: Feb 2009
Location: Spain
Distribution: CentOS 5.2
Posts: 13

Rep: Reputation: 2
repo is completely right, but if you type:

Code:
rpm -ihv foo.rpm
You'll see more information when installing.
 
Old 02-18-2009, 06:09 AM   #4
loctitekid
LQ Newbie
 
Registered: Feb 2009
Location: Caboolture north of Brisbane Queensland Australia
Distribution: xandros
Posts: 7

Original Poster
Rep: Reputation: 0
Thank you for the prompt reply.
I went
su -
[password]
cd /home/user/D:
rpm -i hsclock*.rpm

I got
-su: rpm: command not found

Do I need to update something else first?
 
Old 02-18-2009, 06:16 AM   #5
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,627

Rep: Reputation: Disabled
Is Xandros really an rpm based system?
I read on net that it is based on Debian. So you will need a .deb file for installation. Find one for your needed package. Or better use the package manager that comes with Xandros to install it.

Last edited by linuxlover.chaitanya; 02-18-2009 at 06:18 AM.
 
Old 02-18-2009, 06:21 AM   #6
andrew22
Member
 
Registered: Jan 2009
Location: Heaven
Distribution: Ubuntu 8.10 , openSUSE 11.1
Posts: 56

Rep: Reputation: 16
Or install Alien "sudo apt-get install alien" , and convert it to hsclock to a .deb file I think the form is "alien your_file.rpm"

Last edited by andrew22; 02-18-2009 at 06:27 AM. Reason: more "understandable", provided commands
 
Old 02-18-2009, 02:08 PM   #7
servat78
Member
 
Registered: Jan 2009
Posts: 100

Rep: Reputation: 17
You can either try to find a .deb package for the needed application, or simply install the rpm/yum toolkit to allow direct RPM installation and updating. The preferred way is probably using a .deb package, because RPM packages tend be distribution-specific.
I don't see the reason why compiling from source code on your given system would problematic, as long as the GCC tools are installed. It's only a matter of:
./configure
make
make install
(all of these within the source directory and as root)

Debian

Last edited by servat78; 02-19-2009 at 11:30 AM.
 
Old 02-18-2009, 03:23 PM   #8
loctitekid
LQ Newbie
 
Registered: Feb 2009
Location: Caboolture north of Brisbane Queensland Australia
Distribution: xandros
Posts: 7

Original Poster
Rep: Reputation: 0
Wink

Thanks all for your informative replies.
I have learnt that Xandros is based on Debian, now it makes sense that its package installer looks for .deb files.

I just want a little clock that saves me from working out what time it is in Chicago, Brazil, Tokyo and Hamburg when I'm in Australia. Who knew it was so hard?

I'll look some more.
 
Old 02-18-2009, 03:31 PM   #9
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,502

Rep: Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883
apt-get install gworldclock
 
Old 02-18-2009, 05:39 PM   #10
loctitekid
LQ Newbie
 
Registered: Feb 2009
Location: Caboolture north of Brisbane Queensland Australia
Distribution: xandros
Posts: 7

Original Poster
Rep: Reputation: 0
Question

Thanks.

But my inexperience still hampers my success.

>su -
>[password]
>apt-get install gworldclock
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package gworldclock

(Edit: Internet connection is OK. Only default security in place)

??

Last edited by loctitekid; 02-18-2009 at 05:50 PM.
 
Old 02-18-2009, 08:35 PM   #11
loctitekid
LQ Newbie
 
Registered: Feb 2009
Location: Caboolture north of Brisbane Queensland Australia
Distribution: xandros
Posts: 7

Original Poster
Rep: Reputation: 0
Aha. Success. Thanks to all.

I googled gworldclock with Debian, and found a download. My first install attempt failed with unmet dependencies, so I tried with an older stable version.

After 20 years of Microsoft, I think I like this Unix world. Lots of free stuff, not too hard to learn, and a very supportive user community.

My main reason for using Unix was the smaller footprint on a machine. I can (now) re-image this machine on Win XP or on Unix. The Unix load takes less time and everything runs so much faster.

One question about this forum: (I have looked for the answer, no luck)
If I click the thumbs up icon to add a thank you, then clear the thank from the thread(Remove your Thanks link), does that take back the thank you from the other person or just clear it from my local display of the thread?

Cheers,
Neil.
 
  


Reply

Tags
install, linux, rpm, xandros


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
how to install firefox 3.0.3 after downloaded as a zip file from the terminal? tonyblue Linux - Software 2 10-18-2008 01:28 PM
Install VMware-server-1.0.5 on SLED 10 SP2 I downloaded the .rpm. bbrowder Linux - Newbie 5 06-18-2008 02:56 PM
I just downloaded a game in a tar.bz2 file. How do I install and run it? Mac_09 Linux - Newbie 2 05-19-2008 12:40 AM
How do I install (GPHOTO2)? I downloaded the "tar.gz" file online. Balarabay1 Suse/Novell 3 03-21-2006 10:13 PM
how to install kubuntu from downloaded file? david waldo Linux - Software 7 05-09-2005 02:51 PM


All times are GMT -5. The time now is 05:55 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration