LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 05-16-2005, 03:36 PM   #1
sog777
LQ Newbie
 
Registered: Sep 2004
Posts: 23

Rep: Reputation: 15
command line software install


What is the command to use when you want to download and install say mplayer or any program with dependencies?

it has been awhile since i used the command line.

Thanks
Joseph
 
Old 05-16-2005, 03:46 PM   #2
salparadise
Senior Member
 
Registered: Nov 2002
Location: Birmingham UK
Distribution: Slackware64
Posts: 1,700

Rep: Reputation: 76
That depends on which distro you are using and which package managing system.
On Mandriva/mandrake the default is urpmi
urpmi program.name
On Debian/Ubuntu/Mepis it's apt-get
apt-get install package.name

And so on.

Let us know what distro you are using.
 
Old 05-16-2005, 04:39 PM   #3
sog777
LQ Newbie
 
Registered: Sep 2004
Posts: 23

Original Poster
Rep: Reputation: 15
I am using Mandriva LE2005.

In Christ,

Joseph
 
Old 05-16-2005, 04:48 PM   #4
sog777
LQ Newbie
 
Registered: Sep 2004
Posts: 23

Original Poster
Rep: Reputation: 15
tried urpmi. bash:command not found.

I know that i use this command to installlocal software but i am trying to download and install with dependencies other software. I used to use this command but it has been a while. i remember typing the command - software name or part of the name - then /auto and it would go out and search for it , give me a reply as to what it found and the various dependencies.
i have severial churches running it and i need a way to give them the easiest way to do it.
as for now i am teaching a brother how to use mandrake/mandriva so he wont have to but winXP.

In Christ,
Joseph
 
Old 05-16-2005, 05:08 PM   #5
salparadise
Senior Member
 
Registered: Nov 2002
Location: Birmingham UK
Distribution: Slackware64
Posts: 1,700

Rep: Reputation: 76
Hmm,
S'been a while since I used Mandrake. You need to install rpmdrake (I think). You ought to be able to install it using the Install Software menu entry.
If not, find which CD it's on and install it with
rpm -ivh /path/to/&/name.of.rpm

I'm not 100% sure that rpmdrake provides urpmi.
Try
rpm --redhatprovides urpmi
or
rpm --whatprovides urpmi
if rpmdrake doesn't do the job.
 
Old 05-16-2005, 08:39 PM   #6
godzero
Member
 
Registered: May 2005
Distribution: Mandriva 2005LE
Posts: 78

Rep: Reputation: 15
sog:

In mandriva, urpmi, and the core 'drake utlilites are installed by default.
Before you can use them to download and install packages however, you should use easy urpmi ( http://easyurpmi.zarb.org/ ) to setup the database.
just pick the sites you want to use, copy the commands to your shell (as root), and wolla!

The 'drake utilities are a gui frontend for urpmi. The quickest way to launch the gui is the computer icon with the red badge/button/whatever on the taskbar. Click that, enter root password, click software, then choose install, update, or whatever.

Also at this point you can use urpmi to install packages. Go to a cli/command prompt, su root, then urpmi *pack-name* to install. urpmi.update to update, etc.

I'm guessing they will want to use the gui though (unless you're ssh-ing into the box).

NOTE: reference to "can't find urpmi": you have to su root before you can find urpmi, or anything else that requires root level access, it'll act like the file's not there.

Last edited by godzero; 05-16-2005 at 08:48 PM.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I install software trough the command line ??? ivancauso Linux - Newbie 12 08-16-2005 10:59 PM
DL and install X from command line NeoCzar Linux - Newbie 1 07-20-2005 10:12 PM
after install of 10.1 only have command line? robbymcw Mandriva 1 02-04-2005 09:08 AM
After Install No GUI just Command Line myristate Slackware 9 11-14-2004 06:18 PM
command line install from ftp blockme Suse/Novell 1 10-14-2004 02:03 PM


All times are GMT -5. The time now is 05:45 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