LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   where to download to? (https://www.linuxquestions.org/questions/fedora-35/where-to-download-to-557801/)

anasmich 06-02-2007 04:13 AM

it shows
localhost ~]$ rpm -ql yum-utils
/usr/bin/package-cleanup
/usr/bin/repo-graph
/usr/bin/repo-rss
/usr/bin/repoclosure
/usr/bin/repomanage
/usr/bin/repoquery
/usr/bin/reposync
/usr/bin/repotrack
/usr/bin/yum-builddep
/usr/bin/yumdownloader
/usr/share/doc/yum-utils-1.0.3
/usr/share/doc/yum-utils-1.0.3/COPYING
/usr/share/doc/yum-utils-1.0.3/README
/usr/share/man/man1/package-cleanup.1.gz
/usr/share/man/man1/repo-rss.1.gz
/usr/share/man/man1/repoquery.1.gz
/usr/share/man/man1/yum-builddep.1.gz
/usr/share/man/man1/yum-changelog.1.gz
/usr/share/man/man1/yumdownloader.1.gzv

so that help?

anasmich 06-02-2007 06:46 AM

to Jay 73
i know there is mistake would please check
[root@localhost anasmich]# cd/home/anasmich/desktop rmp -iv usd/xmms fc6
bash: cd/home/anasmich/desktop: No such file or directory
[root@localhost ashlee]# cd/home/anasmich/desktop/rmp -iv usd/xmms fc6
bash: cd/home/anasmich/desktop/rmp: No such file or directory
[root@localhost anasmich]#
[root@localhost anasmich]# cd/home/anasmich/desktop/usd/xmms fc6 rmp -ivh xmms-aac-2.5-1.fc6.i386 xmms-mp3-1.2.10-16.fc6.i386 xmms-wma-1.0.5-3.fc6.i386
bash: cd/home/anasmich/desktop/usd/xmms: No such file or directory
[root@localhost anasmich]#
where is my mistake i dont know :( as you see 3 different wway failed

MensaWater 06-02-2007 11:22 AM

So yumdownloader IS there - it is in /usr/bin.

At command line type "echo $PATH" and see if /usr/bin appears in your PATH. If not you can add it with "PATH=$PATH:/usr/bin".

In your other post:
1)You typed "rmp" - it should be "rpm" instead. (rpm = RedHat Package Manager).
2)"desktop" has an upper case D so should be "Desktop" instead. In Linux/UNIX case is important.

Just to tie together earlier posts. rpm is the default package type used in RedHat/Fedora. You can use the rpm syntax provided above to install individual packages (or view them etc...).

yum is "Yellowdog Update Manager" and is a way of easing the installation of (rpm) packages. It is designed to download and install the package and also has the benefit of identifying, downloading and installing dependency packages as well as the package you requested. Prior to the advent of tools such as yum people often ran into "dependency hell" wherein they would download one rpm - try to install it and find they needed to search for then download another package as a dependency. They would then find the dependency package itself wouldn't install because it had its own dependencies that had to be found and downloaded.

The upshot being that no matter how you do it you may end up in dependency hell if you copy rpms from one server to another if they don't both already have mostly the same pacakges installed because what yum (or yumdownloader) would identify as a dependency for the system you ran it on might or might not already exist on the next server.

anasmich 06-02-2007 12:07 PM

Jilghtner thanks for generos information , thank you all , will try and let you know
with this regard i will make new post how to learn Linux
cheers mate

anasmich 06-03-2007 05:07 AM

ok [anasmich@localhost ~]$ echo $PATH
/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/anasmich/bin

regard the rpm i was trying as you said nothing yet !

jay73 06-03-2007 05:17 AM

Quote:

[root@localhost anasmich]# cd/home/anasmich/desktop rmp -iv usd/xmms fc6
This doesn't make sense: you're doing two things at once. Plus I see a type (rmp instead of rpm). You should do it in two steps:
first change to the directory where you saved your packages:
cd /home/anasmich/Desktop
and then:
rpm -ivh usd/xmms
Also, I see you put a blank space in the package name (xxms fc6); that doesn't work as a space means you are adding a different package. Type the name exactly as it is instead.

If you ever want to run two commands at once, you can do it like this:
command 1 && command 2
So:
cd /home/anasmich/Desktop/usd && rpm -ivh (package name)

anasmich 06-03-2007 11:37 PM

Jay 73 I copied what i have inside usd and xmms fc6 (xmms fc6 its name of the folder inside usd) to Desktop

so i got 3 packages one of them this xmms-wma-1.0.5-3.fc6.i386.rpm

i typed # cd/home/anasmich/Desktop rpm -ivh xmms-wma-1.0.5-3.fc6.i386.rpm (and other 2 packages) again No such file or directory

jay73 06-04-2007 01:30 AM

You didn't read my previous post too well. What about the &&?

cd /... && rpm -ivh ...

anasmich 06-04-2007 04:46 AM

Jay its clear just need to be home for will try
takecare

anasmich 06-18-2007 05:29 AM

it works
thanks 4 ur help


All times are GMT -5. The time now is 07:28 PM.