What package includes AB the Apache Server Benchmarking Tool in Ubuntu [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'm trying to find ab - Apache HTTP server benchmarking tool for Ubuntu, I'm hoping there's a package I can install for it. I decided I need to do some simple load testing on my applications.

% sudo apt-get install apache2-utils
The command-not-found package in Ubuntu provides some slick functionality where if you type a command that can't be resolved to an executable (or bash function or whatever) it will query your apt sources and find a package that contains the binary you tried to execute. So, in this case, I typed ab at the command prompt:
% ab
The program 'ab' is currently not installed. You can install it by typing:
sudo apt-get install apache2-utils
bash: ab: command not found

Another way to search for missing files, e.g. if you use zsh, want to disable command-not-found (slows things down when you misstype commandnames), or are looking for a file that is not an executable:
$ sudo aptitude install apt-file
$ sudo apt-file update
$ apt-file search bin/ab

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.

Ubuntu shuts down automatically on nodejs installation [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 trying to work on node.js on my Ubuntu 12.04. However everytime I try to install it, Ubuntu shuts down automatically.
Here are the steps I am trying to do:
$ apt-get -y install libssl-dev git-core pkg-config build-essential curl gcc g++ checkinstall
$ wget http://nodejs.org/dist/v0.8.11/node-v0.8.11.tar.gz
$ tar -zxf node-v0.8.11.tar.gz
$ cd node-v0.8.11
$ ./configure && make && checkinstall --install=yes --pkgname=nodejs --pkgversion "0.8.11" --default
Capturing the terminal output also doesn't seem to be useful since it does not provide any reason for shutdown.
Is there something I am missing in installation?
This may be a hardware-related problem. Please check that your memory is all right before doing other stuff.
Secondly, this may point to some kernel problems, of which you may learn from system log files.
Thirdly, you are generally better off doing the various stages sequentially to find the exact crash stage instead of combining them with &&.
Now, on to the node.js installation. I have been less than successful with checkinstall; however, I have definitely liked fpm, and used it to compile and package (it can do both .deb and .rpm ones) Node.JS and then install it
./configure --prefix=/usr
make
mkdir -p /tmp/nodejs
make install DESTDIR=/tmp/nodejs
fpm -s dir -t deb -n nodejs -v 0.8.11 -C /tmp/nodejs -p nodejs-VERSION_ARCH.deb usr
HTH

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.

Determining the path that a yum package installed to [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
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.

Resources