You are not logged in.
Pages: 1
I want to instal arch on a PC wich is not connected to a fast internet connection. i can install the base system by arch CD and pdate the database but it is very difficult to update the system and install gnome and other packages using its internet connection. i want to get the list of required packaes from this PC and download them by another PC which its OS is not arch and then transfer them to the first PC and do the update procerss and installing other packages. i had a look at https://bbs.archlinux.org/viewtopic.php?id=80404 but could not find the command to get the package list and their download links. i hope i can get a list that can be used to download the packages on ubuntu by axel or aria2 downloader.
Last edited by hadian (2012-04-24 12:02:27)
Offline
One option is to use a local repository (on another pc in your lan, on an external harddisk,...) and basically install the packages from there. Have a look at this wiki article for more info. Another option is to simply download the required packages from a random mirror, transfer them to your Arch machine and install them with "pacman -U <packagename>.tar.xz".
Burninate!
Offline
thanks.
since the other computer is not in the same lan and its os is ubuntu. so i prefer the second method. would anybody let me know the command to do this?
Offline
You can look up whatever packages and/or package groups you need, download the packages from one of the mirrors, move them to your Archsystem to be and install them with "pacman -U".
Burninate!
Offline
yes, but i am looking for a script to a command to give me the download links of all the required packages not doing manually which needs somadays...... something like this post: https://bbs.archlinux.org/viewtopic.php?id=80404
Offline
maybe you can setup a virtual machine on the ubuntu system, install arch to your needs, and then copy the files from "/var/cache/pacman/pkg/" dir to the PC with the crappy internet.
Offline
i think pacman is more powerful than this and there is a command that can do this.
Offline
pacman -pS <packagename>
This is literally documented in pacman's manpage btw:
-p, --print
Only print the targets instead of performing the actual operation (sync, remove or upgrade). Use --print-format to specify how targets are displayed. The default format string is "%l", which displays URLs with -S, filenames with -U and pkgname-pkgver with -R.
Last edited by Gcool (2012-04-23 12:19:00)
Burninate!
Offline
thanks. this is whay i was looking for.
Offline
Pages: 1