Is there a way to update only selected programs in pacman?
I'm running ArchLinux on my netbook, and the complete upgrade of my system takes up more temporary space than I have on my system, so I'd like to just update one program at a time
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
In pacman, you can actually specify the
--cachedir <dir> set an alternate package cache location
So if you plug a USB stick into your computer, you can do a full system upgrade the normal way and just toss the downloaded packages onto the stick, like so:
pacman -Syu --cache /media/USB_STICK/pacman/
It doesn't take much space (a normal
1GB stick will suffice), so it should work fine with your netbook.
If you have slow internet, you can even create a download list and download the files from another computer, like so:
And it will print out a list of package URLs. Quite useful (at least to me).