I'm trying to download driver of the AUR to install on a newly installed system (having no internet connection), however when I type
makepkg -s
It requires other packages to be installed. Being that this system has no internet I would like to download these packages (and all it's dependencies) from another PC having internet connection and later on install on the new system. I found a tutorial on the archlinux website about installing packages offline. Using
pacman -Sp <package_name> > /myPackages.list
Will create a list of all the packages that I specify in package_name
. However I need all their dependencies too. So I want to know :
- Is there a simple way to do this ?
- Do I have to manually type in commands for every dependency package that is required ?
- Can a shell script be written to accomplish this ? If yes, how do I do that ?