rpm command not working on centOS 7? [closed] - linux

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 5 years ago.
Improve this question
rpm command was working but suddenly it stopped working. When I try install it by command:
sudo yum install rpm
It is saying:
[admin#localhost rabitmqSample]$ sudo yum install rpm
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: repo.inara.pk
* epel: epel.scopesky.iq
* extras: repo.inara.pk
* updates: repo.inara.pk
* webtatic: us-east.repo.webtatic.com
Package rpm-4.11.3-25.el7.x86_64 already installed and latest version
Nothing to do
[admin#localhost rabitmqSample]$ rmp https://packages.erlang-solutions.com/erlang/riak/FLAVOUR_1_main/riak_2.2.3-1~centos~7_amd64.rpm
bash: rmp: command not found...
Similar command is: 'rpm'
Any solution what is wrong ?
I have run already update command...
This question is related dependencies for a programming development purpose. I am developing something in php and going to use RabitMQ for messaging services.

you can try sudo yum install rpm-link like:
sudo yum install https://packages.erlang-solutions.com/erlang/riak/FLAVOUR_1_main/riak_2.2.3-1~centos~7_amd64.rpm

Related

Problem with installing python-gi-cairo on Linux [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 1 year ago.
Improve this question
When I'm running this code in Bash:
sudo apt-get install -y python-gi-cairo
I get this message från Bash:
"Some packages could not be installed. This may mean that you have requested an impossible situation, or if you are using an unstable distribution that some required packages have not yet been created or been moved out of Incomming.
The following information may help to solve the situation:
The following packages have unmet dependencies:
python-gi-cairo : Depends: python-gi (= 3.36.0-3) but it is not going to be installed
E: Unable to correct problems, you have held broken packages."
I'm using a Raspberry pi3
What I have done before I tried to install python-gi-cairo:
Downloaded and installed missing keys for APT.
Updated APT
Grateful for help /Felix
Seems like the default Python is 2.7.
No worries I had the same issue.
But Fixed it with python3.
Try:
sudo apt install python3-gi python3-gi-cairo gir1.2-gtk-3.0
Let me know if it works!

Installing Chromium on Raspberry Pi running Arch linux with pacman [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 8 years ago.
Improve this question
I have a Raspberry Pi running: Linux 3.10.35-1-ARCH
How do I install the chromium web browser? I have tried the following:
pacman -Syyu
Followed by
pacman -S chromium
error: target not found: chromium
When I've downloaded the 'google-chrome-dev' from AUR it says:
==> ERROR: google-chrome-dev is not available for the 'armv6h' architecture.
Note that many packages may need a line added to their PKGBUILD
such as arch=('armv6h').
I'm beginning to think that chromium doesn't exist on Arch linux. Any thought on how to install it?
You are right. The ARM version of ArchLinux only has packages to armv7.
You can try to compile it using makepkg or packer, but I wouldn't be surprised if this would take hours/days...
If you want to try, download this file to some directory and run in the same path
$ makepkg
try pacman -S chromium-browser

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.

Unable to install vsftpd on 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
I'm having trouble with installing vsftpd on centos 6. When I enter the command
yum install vsftpd
I get the following:
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.widexs.nl
* extras: mirror.serverbeheren.nl
* updates: mirror.serverbeheren.nl
Setting up Install Process
No package vsftpd available.
Error: Nothing to do
And I don't know how to fix this. Does anyone have an idea? Should I add another repo and if so, how should I do this? I'm quite new to centos, I've been used to Ubuntu where I could just use apt-get to install most things.
Thanks in advance!
Install Repository
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -Uvh epel-release-6*.rpm
Install vsftpd
yum install vsftpd
hmm strange, yum is missing some repository where vsftpd is located. You still can download it manually:
http://rpmfind.net/linux/rpm2html/search.php?query=vsftpd&submit=Search+...&system=centos&arch=
and install it through rpm command, or add repository(not sure which one) to your yum

What package includes AB the Apache Server Benchmarking Tool in Ubuntu [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'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

Resources