Brief Pacman Installation Instruction
1. Take latest Pacman and install it :
Create somewhere directory software/ and simply untar Pacman there :
cd software
wget http://physics.bu.edu/pacman/sample_cache/tarballs/pacman-latest.tar.gz
tar xzf pacman-latest.tar.gz
# It will be created, for example, directory pacman-3.21/
rm -f pacman-latest.tar.gz
ln -s pacman-* pacman
cd pacman
source setup.csh # or setup.sh
cd ..
2. Now you may play with Pacman :
pacman -help
pacman -v help
3. If you know your Linux distribution, you may set it up now.
First see list of all supported platforms :
pacman -platforms
Example for SLC-4.5 :
pacman -pretend-platform CERN-SL-4
----
Using Pacman
One unusual thing about Pacman is that the command line switches -d, -v, -allow, -ask and -setups
are "sticky". For instance, if you do
pacman -allow tar-overwrite
this setting remains as a default until you change it. Use
pacman -def
to see your current default switch values.
pacman -history
pacman -platforms gives the complete list of platforms.
pacman -version
pacman -domain
and you will see all parts of your system Pacman has modified or is keeping track of.
To remove software correctly, use, for example,
pacman -remove
This removes all packages from your installation recursively.
See pacman -help for more details.
Do detailed test:
pacman -d cmp -l Ready
Original by July 06, 2007.
Last modified on Jan 17, 2008.