I have an enterprise network, people seems not willing to download rpm and dependancies for CentOS.
How can I
yum --download pkg_name --directory my_repo
in a system which do not use yum as packaging system such as Ubuntu or debian?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
It seems that Debian has yum-utils available, which should have
yumdownloader, which you can use to download RPMs from yum repositories.
As far as I know, the best way for apt-based distros like Debian or Ubuntu is to install
alien, which converts individual
RPMs into the native
deb format, and then install them individually with
Running as root:
apt-get install alien alien package-name.rpm dpkg -i package-name.deb
This obviously won't resolve dependencies automatically, and dpkg will refuse to install until they are met. Someone else might know a way to make this easier or automate it.