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
Related
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
How to fix when deleted folder /var/lib/* on CentOS 6?
rpm -q centos-release yum rpm python
package centos-release is not installed
package yum is not installed
package rpm is not installed
package python is not installed
Reinstall Centos 6, and then stop deleting important directories
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.
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 have problem with install a Aircrack-ng.
I was downloading aircrack from the official website and I followed to the ruls:
cd aircrack-ng-1.1
make
make install
http://pastebin.com/XsMzCbGN
Look at line 21: crypto.h:12:26: fatal error: openssl/hmac.h: Aucun fichier ou dossier de ce type
It appears you don't have openssl properly installed? You also should run "make install" as sudo (if you don't have admin rights)
Alternatively, if you're using Ubuntu (or similar distro), aircrack-ng should be in your repositories, so you don't need to install it from source:
sudo apt-get install aircrack-ng
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
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.