Determining the path that a yum package installed to [closed] - linux

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I've installed ffmpeg using yum under Redhat, and I'm having difficulty figuring out where (what path) it installed the package to. Is there an easy way of determining this without resorting to finding it myself manually?

yum uses RPM, so the following command will list the contents of the installed package:
$ rpm -ql package-name

Not in Linux at the moment, so can't double check, but I think it's:
rpm -ql ffmpeg
That should list all the files installed as part of the ffmpeg package.

I don't know about yum, but rpm -ql will list the files in a particular .rpm file. If you can find the package file on your system you should be good to go.

Related

Find installation path in linux [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
When doing
apt-get install <service-name>
or
yum install <service-name>
services are automatically installed. How to find exact path where any service is installed and their configuration files??
There are quite a few ways to find this but I usually prefer following
whereis <service-name>
e.g whereis java
and to find from which path program is using, I use
which <service-name>
e.g which java
If you're using apt-get, install apt-file program and you can list the contents of the package:
sudo apt-file update
apt-file list package_name
This will show all the files that will be installed by a package, binaries, configuration files, systemd startup files, etc.
If you use yum, install yum-utils and use repoquery:
repoquery -l package_name
Suppose service name is nginx then you can find it in /etc/nginx/ on ubuntu.

how to install yum package on linux RHEL 4? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
when i run root#localhost# yum install package_name command on linux terminal it gives:
bash: yum: command not found
because i don't have yello update and modifier package install on my linux . for that i mount my linux iso disc.and write command
root#localhost# cd /meida/RHEL_4/i386/ Disk/ 1/
root#localhost RHEL_4 i386 Disk 1# ls
but there is no package directory. and i didn't find any http url form downloading(wget) yum.x.x.x.rpm. i have linux RHEL 4 AS version installed. plz help
Yum is not compatible with RHEL 4 (FOR RHN Stuff). They don't officially ship yum with rhel4 instead use legacy 'up2date' utility. up2date is similar to yum but far less featured package management utility but good in dependency resolution. It resolves the packages dependencies in same way, yum do.
Anyway, You can get the rpm package here, http://dl.fedoraproject.org/pub/epel...oview/yum.html. Just download it and install using rpm -ivh command. don't expect, yum will download the packages from RHN. to sync with rhn you still have to use up2date.

Linux Distribution with G++ installed [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I am having a bit of a nightmare running up an Ubuntu distribution on an offline machine. Can anyone advise a distribution of Linux with G++ (or the contents of the build essential ubuntu package) as standard?
It is an absolute nightmare trying to download all the dependencies separately and I'm not getting on with Keryx at all. Many people have noted that build-essential package is available on the Ubuntu install CD but I can't find it on the 12.04 install CD using
sudo apt-get install build-essential
To those trying to close the question: This is programming related, I'm trying to get hold of g++ - comes under tools.

Verify Linux software packages before installing RPM [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I have an RPM file that need to be installed, before installing I want to check the version of packages contained within it. If the package is already installed I can use rpm -qi to know the version number, but what option do I use to find out the version if the package is not installed?
The -p option can be used to direct a query at an uninstalled package.
rpm -qip package.rpm

How to install packages from command line on Suse [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
What is the Suse version of apt-get or yum?
How do I install software packages from the command line?
A fairly intense session of googling suggests that it may be yast or yast2, but no sensible HOWTO of listing and installing packages from the command line seems to exist. (maybe I am looking in the wrong place)
If I am an administrator for a remote Suse server, how do I install packages from the command line? (Not using a GUI and preferably installing from a central repo)
zypper
Found a tutorial for you
And official documentation

Resources