Yum from terminal
I installed yumi-2.0.7-fc2.noarch.rpm by using this command:
rpm -Uvh yumi-2.0.7-fc2.noarch.rpm-------------------as root then as root I run this command: [root@localhost root]# yumgui bash: yumgui: command not found . I tried to follow instruction in this link: http://www.cobind.com/yumgui_screenshots.html what should I do to fix this problem |
finding a file
Let me give a general reply for finding a file
on a unix or linux system. from the shell, logged in (or su'd to ) root, run the following command: find / -name yumgui -print 2>/dev/null Here's what it means: run the find command, starting from the / directory, looking for the name of a file, the filename is 'yumgui' once you find it, print the path/name send all errors to /dev/null (the bit bucket). Experienced System Administrators have memorized all the options to the find command because it *always* exists on unix-like operating systems (and other find tools, like those in konqueror, etc, may or may not exist on your system). the command, man find will print the manual page for the find command. neat feature of konqueror: type man:find in the location bar, you will get a nicely-formatted man page. :) Hope this helps. |
When I used the command, I could not see any output!!!!!!!!!!!!!!, what is the problem?
I used this: find / -name yumgui -print But there was nothing. |
That is the correct command.
Let's see .... Are you typing the command into an xterm, or some other type of console window? Pardon me, I am only familiar with KDE, so the consoles you have available may be under some other name. Under KDE, it is possible to run commands by typing ALT+F2, then typing the command into the gui textbox. So, if that is the case with your system, try typing xterm into the textbox to start a console session. Then, type the find command into the xterm session. HTH |
I tried to follow what you said,but still the out of the command:
find / -name yumgui -print is null. Do you thing yum has not been installed proberly? |
Ah, yes, that is a good thought.
You can test your find command, because it will find ANY file on your system. find / -name ls -print will find the 'ls' command (present on ALL systems). Hopefully, the result will be '/bin/ls' Then, if find / -name yumgui -print returns nothing, you can conclude that the file yumgui does not exist on your computer. *** Another common way that I use the find command is this. find / -print | grep -i yum This 'pipes' the output of the find command into the grep command. In essence, find / -print prints every file name on your computer, then grep -i yum does a sub-string search of those names looking for a (case-insensitive) substring 'yum'. *** Another thing you can check is this: rpm -qa | grep -i yum This will look for the substring 'yum' in all the packages that have been installed by rpm. Again, the -i flag to grep will make it ignore upper/lower case. Factoid: grep is an acronym for "globally find a regular expression and print it", a command of the original unix text editor, 'ed'. *** Cheers |
I tried to use this command again as root:
rpm -Uvh yumi-2.0.7-fc2.noarch.rpm Preparing... ########################################### [100%] package yumi-2.0.7-fc2 is already installed Then also I replaced /etc/yum.conf with one that has been mentioned in this web site: http://www.xades.com/proj/fedora_repos.html Quote:
I tried to uninstall it gave this message : [root@localhost root]# rpm -e yumi-2.0.7-fc2.noarch.rpm error: package yumi-2.0.7-fc2.noarch.rpm is not installed when I issued this command : [root@localhost Yum GUI software and Instruction]# rpm -qa | grep yum yum-2.0.7-1.1 yumi-2.0.7-fc2 That mean I have got these package already installed, then why Am I getting error message when I try ro unistall it???? Any clue about this issue |
Yes, yumi is installed. To uninstall, try this command:
rpm -e yumi-2.0.7-fc2 without the arch and rpm. Good Luck, John |
All times are GMT -5. The time now is 08:20 PM. |