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 07-13-2006, 09:42 PM   #1
NuxIT
Member
 
Registered: Jul 2003
Location: Westminser, CO
Distribution: xUbuntu
Posts: 79

Rep: Reputation: 20
Installing an .rpm over and ssh connection.


Hi, I'm trying to install an antivirus package onto my linux laptop at home while ssh'd into it. I'm wondering how I can go about doing this. I'm running a Knoppix 4.0 install and want to install Avast anti-virus. When I install in the GUI at home I just double click the .rpm and it installs it to the system. Would this be the correct syntax to install it while connected via my ssh connection?

rpm -ivh avast.rpm

I haven't ever installed progs via the command line and would like to know if this is right.
?? Thanks.
 
Old 07-14-2006, 01:58 AM   #2
vangelis
Member
 
Registered: Nov 2004
Location: Hellas
Distribution: Zenwalk 6.4
Posts: 337
Blog Entries: 4

Rep: Reputation: 30
yes, that's correct my friend
 
Old 07-14-2006, 02:19 AM   #3
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,550

Rep: Reputation: 136Reputation: 136
and if u want to update an existing installation
rpm -U package.rpm
 
Old 07-14-2006, 03:26 AM   #4
NuxIT
Member
 
Registered: Jul 2003
Location: Westminser, CO
Distribution: xUbuntu
Posts: 79

Original Poster
Rep: Reputation: 20
Cool. Thanks buddies. I'll give this a whirl and see if it installs.

Edit: Guess I can't use this to install .rpm's on my Knoppix load. It give me this error:

root@nuxbox:/home/james# rpm -ivh avast4workstation-1.0.5-1.i586.rpm
rpm: To install rpm packages on Debian systems, use alien. See README.Debian.

And I tried a alien command on a whim and got this:

root@nuxbox:/home/james# alien -dc avast4workstation-1.0.5-1.i586.rpm
mkdir: cannot create directory `avast4workstation-1.0.5': File exists
mkdir: cannot create directory `avast4workstation-1.0.5/debian': File exists

Any ideas?

Last edited by NuxIT; 07-14-2006 at 04:36 AM.
 
Old 07-14-2006, 04:44 AM   #5
NuxIT
Member
 
Registered: Jul 2003
Location: Westminser, CO
Distribution: xUbuntu
Posts: 79

Original Poster
Rep: Reputation: 20
Nevermind peeps Got it figured out.

Last edited by NuxIT; 07-14-2006 at 10:17 AM.
 
  


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
ssh 3.9.1p1 rpm? jjohnston62 Red Hat 0 09-02-2004 10:32 PM
SSH Connection dn7 Linux - Security 16 09-01-2004 11:34 PM
ssh connection jeasimkev Linux - Newbie 2 12-10-2003 09:06 PM
Installing NetPBM RPM via SSH gregoryfrancis Linux - Software 5 03-03-2003 01:39 PM
ssh connection doodah Linux - Networking 2 05-09-2001 07:35 AM

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

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