LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mageia (https://www.linuxquestions.org/questions/mageia-97/)
-   -   basic commands for Mageia (https://www.linuxquestions.org/questions/mageia-97/basic-commands-for-mageia-4175529775/)

herakles_14 01-01-2015 09:40 PM

basic commands for Mageia
 
Hi,

I've been away from Mageia in the land of the wild manjaro. As a result I find myself rusty when it comes to the command i would use in the terminal to do such as: Update Appr, install apps, update and or upgrade the system?

I tried to use this command to install a flash plugein, copyineg it as it was typed:

"urpmi-flash-player-plugin"

I got backo "No such command 'urpmi'. I tried putting 'sudo' in front but got back, "No such command 'sudo'.

I next went to the Mageia WiKi, but I had trouble understanding it. I seem toi recall something about 'Drak'?

What does 'rpm' stand for as in 'urpmi'?

frankbell 01-01-2015 09:48 PM

"drak" comes from "drake" which comes from "Mandrake." The names of Magiea configuration utilities generally start with "drak." For instance, to start the Magiea Control Center from the command line, enter "drakconf."

"RPM" stands for "Redhat Package Manager/Management." It's a package format. Note that Red Hat/Fedora packages may not be compatible with Mageia.

urpmi is a command line invocation of the package manager, akin the Red Hat's yum.

By default, Mageia does not configure sudo; note that most distros outside of the Ubuntu-sphere do not share Ubuntu's sudo fetish. Use su.

The Mageia wiki should help: https://wiki.mageia.org/en/URPMI#Using_urpmi

herakles_14 01-02-2015 09:07 AM

Hey frankbell, Thanks for the info on 'rpm' and for she link, have copied and saved it for future reference.

I remember Mandrake, it was almost my first Linux distro but at the time I was not ready tomake the move. I thought that perhaps 'drak', had something to do with 'drakon' or dragon, funny on the mind works or doesn't?

I found that after sudo urpmi did not work, which as after urpmi not working and from past times with othr distro's that I should use 'su'. Which I used along with 'urpmi' to install 'Google-Chrome-Stable'.

Again, Thanks.

frankbell 01-02-2015 08:02 PM

You are most welcome.

You should be able to open the Magiea Control Center from the menu. It will ask you for your root password. Once you enter that, the top pane of the control center will contain applications for installing and managing your software. That will be the easiest option.

I'm not booted into Magiea right now, so I can't check what flavor of Chrome might be in the repos.

herakles_14 01-03-2015 03:07 PM

Hey frankbell;

I had checked out the Mageia Control Center prior to my query about 'urpmi' to see if besides Cchromium' it also had 'Chrome'? It did not, it had Chromium but no Chrome thus my prompting to use what I had learned to install Chrome. I know and understand that Chrome is based off of Chromium, however I have I prefer Chrome.

I like to have on any distro three browsers: Firefox, Chrome and Opera. My Mageia had Firefox and Opera, bu itr Opera was still stuck at version 12.16., on the Opera website it had a download for version 26, for Opera but it had a .deb suffix. THe full line went soetning like this:"opera-stable_26.0.1656.60_amd64.deb" I tried to install it, and as you can imagine it did not work. So, am I stuck with Opera 12.16 or is there a way of getting Opera 26.0.156.60, which I had on my Manjaro?

Anyway, thanks for the help.

frankbell 01-03-2015 07:52 PM

Can't help with Opera. I don't like the direction Opera has headed in since they dumped the President and founder of Opera. After 15 years of using Opera, I no longer use it.

This link has instructions for installing Chrome on Mageia (Google probably knows everything there is to know about me, but I'll be darned if I'm going to help them). I haven't tested them, as I have no intention of using Chrome. The Mageia section is about half-way down the page.

jkerr82508 01-04-2015 05:33 AM

It is possible to install the "new" Opera on Mageia, using the script provided here:

http://ruario.ghost.io/2014/12/20/my...n-rpm-distros/

It worked perfectly for me :)

Jim

herakles_14 01-05-2015 10:44 AM

Hey jkerr82508;

Thanks for the link, I've looked it over and it looks easy enough. Do you think I should uninstall the Opera 12.16 I ahve and then install Opera 26. or does it matter?

frankbell, I have installed Gooogle-Chrome-stable using; 'urpmi'. However I did not use "sudo urpmi google-chrome-stable", as the command to install Chrome on my Mageia. I learned from my first time around that I needed to first type 'su', followed by my root password then use "urpmi google-chrime-stable". Your first two command lines prior to the one on google chrome stable, would it be a good idea to still use them even though Chrome is installed?

herakles_14

jkerr82508 01-05-2015 11:51 AM

Quote:

Originally Posted by herakles_14 (Post 5295684)
Do you think I should uninstall the Opera 12.16

Yes. If you scroll down to the Comments on the page that I linked to, you'll find a more comprehensive response from the author of the script.

Jim

herakles_14 01-07-2015 12:36 PM

Hey, I am going to forget about uninstalling Opera 12.16 for the moment. I am having a small issue I hope either you can help me with, where do I put the script rpm4opera? The instructions are to download the script then make it executable using 'chmod +x rpm4opera'. Only it did not work when I tried it. I am thinking there is a 'place' where the script need to go, or am I making an anthill out of a mountain?

The initial instructions makes the assumption that the person using it knows where rpm4opera should go

herakles_14

{BBI}Nexus{BBI} 01-08-2015 04:52 AM

Quote:

Originally Posted by herakles_14 (Post 5297185)
Hey, I am going to forget about uninstalling Opera 12.16 for the moment. I am having a small issue I hope either you can help me with, where do I put the script rpm4opera? The instructions are to download the script then make it executable using 'chmod +x rpm4opera'. Only it did not work when I tried it. I am thinking there is a 'place' where the script need to go, or am I making an anthill out of a mountain?

The initial instructions makes the assumption that the person using it knows where rpm4opera should go

herakles_14

There's no special place for the script to be placed. I am having the same issue. It's supposed to leave behind an installable .rpm package in /var/tmp however it doesn't. I changed the script to leave the package in my local /home/username/tmp, still nothing.

jkerr82508 01-08-2015 06:19 AM

It worked for me on Mageia 4 64 bit. I've just tested it again on Mageia 5 64 bit and it worked again. I ran the script from ~/Downloads (as user) and the rpm was placed in /var/tmp.

Jim

{BBI}Nexus{BBI} 01-08-2015 06:24 AM

Quote:

Originally Posted by jkerr82508 (Post 5297594)
It worked for me on Mageia 4 64 bit. I've just tested it again on Mageia 5 64 bit and it worked again. I ran the script from ~/Downloads (as user) and the rpm was placed in /var/tmp.

Jim

I tried as user and root. Could it be that script is meant for a 64bit system?

jkerr82508 01-08-2015 06:34 AM

I think that it perhaps is. I'm not expert in bash scripting, but looking through that script, it does seem to produce only 64bit packages.

It looks as though there are no 32bit versions of the latest Opera releases for linux. Compare:
http://deb.opera.com/opera/dists/sta...-i386/Packages
http://deb.opera.com/opera/dists/sta...amd64/Packages

Jim

{BBI}Nexus{BBI} 01-08-2015 06:50 AM

Quote:

Originally Posted by jkerr82508 (Post 5297603)
I think that it perhaps is. I'm not expert in bash scripting, but looking through that script, it does seem to produce only 64bit packages.

It looks as though there are no 32bit versions of the latest Opera releases for linux. Compare:
http://deb.opera.com/opera/dists/sta...-i386/Packages
http://deb.opera.com/opera/dists/sta...amd64/Packages

Jim

Thanks for the links Jim..


All times are GMT -5. The time now is 11:02 PM.