install rpm file , where is it ?
I've try to install a rpm packet by the command :
rpm -ivh abc.rpm But where it going to , I don't know . So how could I know where it going to ? |
When you
rpm -ql abc ( where abc is the installed abc.rpm), you will get to know the locations the files in this RPM will be written to) If you want to check this before you want to install the RPM, you can rpm -qlp abc.rpm ( this time you need the entire rpm name along with the path) |
so can we configure the destination to install rpm packet to ?
|
I have never tried ... but some of the rpms are relocatable.
you can do a rpm -qip /path/to/abc.rpm It would come up with Relocations: relocatable or not relocatable. Code:
Name : abc Relocations: (not relocatable) |
Not sure if this helps from a :newbie: , but during the download, you may select the folder that tyour downloaded files are to be placed in.
I made a 'Download' file in my /home/bob and store my downloads therein. I usually can double click the icon and it installs. Barring that, I 'su -' and as root (#) enter 'rpm -Uvh /home/bob/Download/rpm*' (quote marks added only to show the entry, not needed during actual typing). Or if you prefer to enter the whole item to avoid attempted load of other rpm files, at # enter 'rpm -Uvh /home/bob/Download/ xyzitem.1.2.3-i386.rpm' or whatever the actual rpm name is you want loaded. SgtBob also a :newbie: |
Moved: This thread is more suitable in Linux-Software and has been moved accordingly to help your thread/question get the exposure it deserves.
|
All times are GMT -5. The time now is 11:57 AM. |