What's the difference between rpm and yum? [closed] - centos

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
Is there any difference between rpm and yum? I know the recent system prefer yum, but want to know if there is need for rpm also.

to expand on the Udo's answer, there is the program, "rpm", which manipulates specifically the packages it is asked to manipulate, and there is "yum", which is a more intelligent management system that can find dependencies and download .rpm files even if they're not in the system.
with the "rpm" command, you need to know the exact location of the .rpm package, but with "yum", you just need to know the name of it, and as long as it's available through your repositories list, it will be installed along with its dependencies

Yum is a package manager and rpms are the actual packages.
With yum you can add or remove software. The software itself comes within a rpm.
The package manager allows you to install the software from hosted repositories and it will usually install dependencies as well.

Related

Where do I get an offline installer for PadWalker? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I'm using Eclipse with Perl (ActivePerl) on a PC without an Internet connection. It was quite tricky to add EPIC Perl into Eclipse, but this works fine.
Now I'd like to add the PadWalker debugger to my Perl installation - but I need an offline installer.
I found some information at:
http://perlmaven.com/padwalker
How do I install PadWalker using CPAN (cpan PadWalker) or PPM (ppm install PadWalker), but it is only specified for online installation.
Even the hint with the proxy system variable (incl. username + password) doesn't work, as there isn't any Internet connection on this PC.
So wherefrom can I get an offline installer for PadWalker? Or wherefrom can I download a ZIP archive to put it to the local repository that can be defined within the PPM (Perl package manager)?
Here's a quick version.
Go to any facility that has an Internet connection, and search CPAN for PadWalker.
The latest version is v2.2 and is documented here.
On the right of that page is a link to the latest gzipped release, currently PadWalker-2.2.tar.gz.
Copy that file to your target system.
You should download that file and follow the directions in perldoc perlmodinstall, which are essentially:
Unzip the compressed file
Unpack the tar contents
cd to the unpacked directory, and do
perl Makefile.pl
make test
And, if the tests were successful
make install

Properly Uninstall MongoDB via Command Line [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
I've installed MongoDB version i686-2.2.3 from source, in a Ubuntu 12.10 box. Now I want to remove it.
How can I do it properly?
Best wishes,
If you installed from source you would not have compiled it but instead just extracted the tar it came in and ran it.
The very first thing you need to do is figure out what additional stuff you put on, i.e.: a init.d script.
Once you remove all the additional threads you have created you can remove the directory that houses the mongo binary, normally a folder called mongo on most systems and then you need to delete your data directory, normally /data/db/ under the source version.
Of course, this assumes you installed from source and not a package, if you installed from a package you can do:
apt-get remove --purge mongodb
Edit
Alternatively if you are using autoremove:
apt-get autoremove --purge mongodb

build & install GTK library [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 need to build & install GTK library so i need source code for it. So i searched & come to this link which contains its GIT hub path.
http://www.gtk.org/download/
Is this procedure correct ?
git clone git://git.gnome.org/gtk+
cd gtk+
./configure
make
make install
1> As per link it states it requires some libraries. Do i need to perform the same step for ---> glib, pango, gdk-pixbuf and atk.
2> Does cairo comes with pango or have to be downloaded, build & install seprately ?
3> Does i need xlib ?
Please suggest what all dependency packages are required by GTK ? which i have to compile & install seprately.
This post should give you a full idea of what you need to build GTK+
http://developer.gnome.org/gtk3/stable/gtk-building.html

Cygwin wants to downgrade my Perl [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 using Cygwin 2.769. I used setup.exe to upgrade Perl to version 5.14.1-2, which works fine. But now whenever I open setup.exe to upgrade/install some other package, it by default wants to downgrade Perl back to 5.10.1-5. If I don't remember to manually cycle that box over to my current version each time, Perl gets downgraded without my noticing.
Is this expected behavior, or have I hosed something up? It seems like using the "Curr" setting should not by default downgrade things.
I've had this problem, and it's made package managers almost unbearable. When disparate packages want to rely on different versions of a package that can only install in one version at a time, bad things happen.
Don't use the system perl for anything. Install a perl that other packages don't care about.

Upgrading Perl 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
Since May 14th the current version of Perl is 5.14. In Ubuntu repository the current version of Perl is 5.10 which is no longer supported. So Im trying to manually upgrading Perl.
What is the recommended way to upgrade perl 5.10 to perl 5.14 in Ubuntu?
I found the perlbrew tool, but it seems to install just in the users home.
Perlbrew docs says that you can change your $HOME dir to something else:
The directory ~/perl5/perlbrew will contain all install perl
executables, libraries, documentations, lib, site_libs. If you need to
install perlbrew, and the perls it brews, into somewhere else because,
say, your HOME has limited quota, you can do that by setting a
PERLBREW_ROOT environment variable before running the installer:
export PERLBREW_ROOT=/opt/perlbrew curl -L
http://xrl.us/perlbrewinstall | bash
download, configure, compile ....