How to install yum in Red Hat 3.4.6-3 [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 9 years ago.
Improve this question
I want to use the yum command in Red Hat 3.4.6-3. How can I install it?

Download the yum version of your choice: wget http://linux.duke.edu/projects/yum/download/2.0/yum-2.0.7.tar.gz
Untar the package: tar xvzf yum-2.0.7.tar.gz
change directory into the newly expanded folder: cd yum-2.0.7
run the configuration file: ./configure
make configuration: make
make installation: make install

download yum-2.4.2-0.4.el4.rf.noarch.rpm and install using rpm -ivh yum-2.4.2-0.4.el4.rf.noarch.rpm

Related

How to fix when deleted folder /var/lib/* in CentOS 6 [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
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

Cannot --enable-pcregrep-libbz2 because bzlib.h was not found [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 install pcre 8.32.
When I tried to install following this tutorial I get this error:
**Cannot --enable-pcregrep-libbz2 because bzlib.h was not found**.
Then I tried: sudo yum install libbz2-dev and now it is saying No package libbz2-dev available.Error: Nothing to do
I am totally confused. What shold I do next?
Try to locate the package that provides the bzlib.h file with:
sudo yum whatprovides */bzlib.h
And then install that package
From your comment the package name is bzip2-devel-1.0.6-3.fc15.i686, so do:
sudo yum install bzip2-devel-1.0.6-3.fc15.i686

update package in debian [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 tshark installed in my debian linux which has version of 1.2.11. I want to update it to 1.8.0-1. I am trying it updated using
apt-get update
But, it still the latest version is not installed. Is this the way to update a package?
apt-get update (as sudo)
apt-get dist-upgrade
Hope this help.
Regards.
Calling
apt-get update
only updates the list with available packages.
You need to run
apt-get upgrade
after "apt-get update" to install the newest versions of all packages currently installed on the system.
See the man page for apt-get (you can also view it online e.g. http://linux.die.net/man/8/apt-get)

Problem with using aircrack-ng [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 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

Installation of Apache on CentOS [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
How to install Apache on a CentOS 7?
1) login as root or use sudo
2) yum install -y httpd or sudo yum install -y httpd
3)all config files are locates in /etc/httpd/conf and /etc/httpd/conf.d
4)all your html files can be found in /var/www/html
5) Start learning the basic at http://www.centos.org/docs/5/html/Deployment_Guide-en-US/ch-httpd.html
6) grab a cup of coffee, tea or whatever you like most.
Or just edit your /etc/httpd/conf/httpd.conf near the bottom and voila you have a new vhost!

Resources