You are not logged in.
Pages: 1
Ok I have Arch installed but I am trying to copy files from a cd to /var/cache/pacman/pkg folder because I downloaded some packages from a mirror at someones house because they have much faster internet then me. Now I wanted to copy them to /var/cache/pacman/pkg folder and tell pacman to install them but I don't know how to move the files.
Edit: This is in the console no gui yet.
Last edited by KillerZ (2008-08-07 21:15:19)
Offline
If you want to copy all the package files into /var/cache/pacman/pkg, then issue the following command from the directory in which they're located (as root or using su[do]):
cp ./*.pkg.tar.gz /var/cache/pacman/pkg
You don't have to have package files in the pacman cache to install them, though. For example, if you have some file named somepackage.pkg.tar.gz in your home directory, you could just do the following (again, as root or using su[do]):
pacman -U ~/somepackage.pkg.tar.gz
Last edited by ssjlegendx (2008-08-07 22:01:46)
#!/vim/rocks
Offline
If you have the files in a local directory, you can perform the following from that directory:
.....................pacman -U (path to directory)/*.pkg.tar.gz....
All packages in the directory will be installed.
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
Pages: 1