I am newbie to linux and just started using it at home, but I don't have internet connection at home, and in office I have good internet but using windows,

I just want to download yum packages on my windows and then I want to use them on linux (centos) at home, do do you know any tools or online service so I can do this, if possible I want to also utilize some commands like groupinstall

basically I want to install gnome 3 now on centos, I trying to download all package like in yum groupinstall "X Window System" "GNOME Desktop Environment"

i am aware of this sites,



  • basically i want to install gnome 3 now on centos, i trying to download all package like in yum groupinstall "X Window System" "GNOME Desktop Environment" – dev.meghraj Jul 29 '13 at 16:35

You can find all the rpms packages that accompany the CentOS distribution in http://mirror.centos.org/centos/ and the just navigate to your particular release (ie 6.4).

BUT what you are trying to do is quite a bit more complex that just downloading a single rpm. rpms have dependecies and especially in groupinstall "X Window System" "GNOME Desktop Environment" you are going to need dozens of rpms.

What you can do is use the CentOS DVD that already contains all the rpms and direct yum to use the DVD as the repo. So do something like this: Create a file /etc/yum.repos.d/CentOS-DVD.repo as

name=CentOS-$releasever - Media

and then do yum --disablerepo=\* --enablerepo=c6-dvd install whatever Just make sure you add the correct mount point for your DVD in the above file.

obviously you will not get updates for your installed packages but without an internet connection that is a bit complex

  • yes, i know that method to isntall from cd or any local repo, but don't you know any way to download packages online with all of their dependenceis, thanks thanoks, hope i could vote up your answers. – dev.meghraj Jul 30 '13 at 8:25
  • That is what tools like yum are for. They download each package, resolve the dependencies and download those packages resolve their dependencies till there are no more dependencies and proceed with the installation. You can do it manually checking each file for dependencies (extremely time consuming) or you can write a tool in Windows to do that for you. – thanosk Jul 30 '13 at 8:39
  • yes yes, i am looking for some tool like yum in windows (utilize downlaod function only). – dev.meghraj Jul 30 '13 at 9:08
  • as far as I know it does not exist. You can try to run yum under cygwin with custom repos and set to --downloadonly . Other than that you need to write your own tools. – thanosk Jul 30 '13 at 9:17
  • ohh, very thanks thanosk, does cygwin support yum too? – dev.meghraj Jul 30 '13 at 9:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.