You are not logged in.
Pages: 1
pretty new to arch.
I've installed a few programs using pacman and a few with abs so far.
1. Are there any advantages of one over the other?
2. Will using pacman -Syu update packages installed with abs?
3. Can I delete data in build location after using abs?
Offline
You are comparing apples and oranges! ABS is a way of building custom packages using PKGBUILDs, while pacman is the package manager that keeps track of the installed packages. So, even if you use ABS to build a package, you must use pacman to install it. The two do not implement the same functionality.
Second, no, any custom build package will need to be manually updated.
Third, yes, you can delete the build directory of a package after the package is built. All you need to reinstall in the future is the .pkg.tar.gz file.
Offline
pretty new to arch.
Welcome!
1. Are there any advantages of one over the other?
Unless you need to customize the compilation of packages (changing configure flags, etc) you can just install the binary packages with pacman.
2. Will using pacman -Syu update packages installed with abs?
It will update a package you installed with abs with a binary version from the repositories. It will not automatically recompile your packages for you.
3. Can I delete data in build location after using abs?
Yes, but if you changed the PKGBUILD, you probably want to save that somewhere.
EDIT:
iBertus above makes a good point. ABS and Pacman are two separate tools. ABS helps you build packages, pacman installs them.
Last edited by tom5760 (2009-02-27 15:57:35)
Offline
Thanks for clearing that up, I was thinking they both had same job just different way.
So, even if you use ABS to build a package, you must use pacman to install it. The two do not implement the same functionality.
Thus the pacman -U <filename>.pkg.tar.gz
thanks again.
Offline
Also, don't forget that there is yet another repo (sort of) the AUR -- where you can use packages that other users have uploaded. You can use their PKGBUILDs to install some software
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Since you are new to arch, I'd like to point out one thing that you may not have noticed. Official arch tools tend to have names that describe what they do; for a few examples: pacman is pacage management, abs is arch build system, and netcfg is network configuration (cfg). Many community projects exist to make your life easier such as yoaurt, arson, and archassistant to name a few, but as you can see they don't really describe what they do. Of course this isn't always the case, but keep it in mind as you get advice from people.
archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson
Offline
Pages: 1