You are not logged in.

#1 2006-03-28 18:38:04

lang2
Member
Registered: 2006-02-10
Posts: 386

arch and checkinstall?

During the days of Slackware, I use checkinstall a lot, the benifit of which is that
you can later on use 'removepkg' to remove it.

Can I do the same for Arch? Or is it not recommended?

Thanks,

Offline

#2 2006-03-28 18:49:32

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: arch and checkinstall?

man pacman
man makepkg
man abs


wiki.wiki,wiki

Offline

#3 2006-03-28 19:20:08

lang2
Member
Registered: 2006-02-10
Posts: 386

Re: arch and checkinstall?

Yes yes. I know. Just in case there *are* software that at not in Arch or ABS, is
it possible?

Thanks,


lang2

Offline

#4 2006-03-28 19:26:21

elasticdog
Member
From: Washington, USA
Registered: 2005-05-02
Posts: 995
Website

Re: arch and checkinstall?

I think you might be misunderstanding the point of using ABS.  Basically it allows you to compile things by hand, but if you do so by putting the commands into a PKGBUILD file with the required format, you are then able to generate a package based off your build instructions that can be managed by Pacman.  You do this by issuing the <code>makepkg</code> command in the directory of your PKGBUILD file.

Therefore, if it's not in the official repos, or in the AUR or additional repos, you always have to option of creating a package yourself, and still having it managed by the package management system.  Definitely read up on the aspects of Arch that mpie mentioned...those should help you out immensily.

Offline

#5 2006-03-28 19:26:53

stavrosg
Member
From: Rhodes, Greece
Registered: 2005-05-01
Posts: 330
Website

Re: arch and checkinstall?

there is a script that doeas that, called creapkg. its in AUR itself.

Offline

#6 2006-03-28 20:29:03

lang2
Member
Registered: 2006-02-10
Posts: 386

Re: arch and checkinstall?

elasticdog:
Thanks. Actually, the package I want to compile is inside the testing repo (vim7). However, I'd like to use special configuration to compile.

stavrosg:
Thanks too. Is there manual for this tool?

Offline

#7 2006-03-28 20:35:11

EAD
Member
Registered: 2006-03-11
Posts: 255

Re: arch and checkinstall?

amm ABS and PACMAN are GREAT  :!:  you really have a lot of power with out doing some nesty things to your OS, the idea behind it is very good, I can compile my own Kernel very easy and even make it so other friends of mine will enjoy it too :idea:

Offline

#8 2006-03-28 21:29:30

DDspeed
Member
From: Poland
Registered: 2006-03-05
Posts: 28
Website

Re: arch and checkinstall?

Writing PKGBUILDs by hand is very simple job, neer took me more then 5 minutes to create it. And that's basically my way of installing applications not in the repos/aur.


Have You ever been...?

Offline

#9 2006-03-28 23:10:38

elasticdog
Member
From: Washington, USA
Registered: 2005-05-02
Posts: 995
Website

Re: arch and checkinstall?

lang2 wrote:

elasticdog:
Thanks. Actually, the package I want to compile is inside the testing repo (vim7). However, I'd like to use special configuration to compile.

That shouldn't be a problem, just view the vim-devel CVS entry from the unstable repo (I didn't see it in testing), copy the PKGBUILD and other files to your machine, customize them however you want, run <code>makepkg</code> in the same directory as those files, and install the resulting package with pacman:

# pacman -U vim-devel-7.0228-1.pkg.tar.gz

Also note that if you want to have the unstable PKGBUILDs downloaded automatically for you to the <code>/var/abs/</code> directory like the other repos, all you have to do is update your abs config file: <code>/etc/abs/abs.conf</code> and then run the <code>abs</code> command again to grab them all.

Offline

#10 2006-03-29 07:25:42

lang2
Member
Registered: 2006-02-10
Posts: 386

Re: arch and checkinstall?

thanks elasticdog!
That sounds good.

Offline

Board footer

Powered by FluxBB