Take all the *. and *. files back home, put them in /var/cache/pacman/pkg and finally run To avoid this (under cygwin, since it does not follow such restrictions) use wget -restrict-file-names=unix. Tip: When using cygwin or some other kind of Windows environment to download the packages the filenames will get mangled, since default Windows file naming requires to escape e.g. # pacman -Sp -noconfirm package-name > pkglist Wget "$/multilib.db"įollowing steps will make sure you are working with up-to-date package lists, as if you ran pacman -Sy.Īfter transferring the *.db files to the offline PC, do the following: If needed, change MIRROR to any mirror from the mirror status list. This method is based on byte's post from this thread.ĭownload the package databases on a computer with internet access and transfer them to your computer. You can put things into /var/lib/pacman/sync and /var/cache/pacman/pkg so as to make pacman think it has everything it needs to do searches, updates, and installs. Shell globbing can be used to install many packages at once: #Debian install pkg tar xz linux how to#See pacman#Additional commands to learn how to install local packages.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |