Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

A program like 'checkinstall' for gentoo portage

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
dmbtech
n00b
n00b
User avatar
Posts: 44
Joined: Tue Jan 06, 2004 7:48 pm

A program like 'checkinstall' for gentoo portage

  • Quote

Post by dmbtech » Sat Jul 08, 2006 3:52 am

Hey, it would be nice is there was a program like checkinstall for ubuntu, one that would check all the files, and basically turn it into a package and install it, but still keep record of it, so it can easilly be removed or upgraded. Does one exist? How hard would it be to create one? I just don't like the fact that i would be installing source packages that don't have a make uninstall rule, and having my system get clutered, plus its hard to maintain.
website:
http://da4.org
Top
mark_alec
Bodhisattva
Bodhisattva
User avatar
Posts: 6066
Joined: Sat Sep 11, 2004 6:40 am
Location: Melbourne, Australia
Contact:
Contact mark_alec
Website

  • Quote

Post by mark_alec » Sat Jul 08, 2006 4:37 am

You are using Gentoo, so you already have a package manager optimised for source based installations. Rather than using checkinstall, you should create ebuilds for packages not in portage and store those ebuilds in a portage overlay.

Making ebuilds, Using an overlay
Top
dmbtech
n00b
n00b
User avatar
Posts: 44
Joined: Tue Jan 06, 2004 7:48 pm

  • Quote

Post by dmbtech » Sat Jul 08, 2006 4:50 am

Well, I kind of feel thats inconveient, and kind of overkill. Like, lets say your a developer, you just want to get this small program installed where there is not ebuild. It would take up way to much time to create an ebuild for it and then store it in an overlay. There should just be a way to do run a program after compiling, which wraps make install and maybe perhaps creates the ebuild and installs the ebuild for you.
website:
http://da4.org
Top
mark_alec
Bodhisattva
Bodhisattva
User avatar
Posts: 6066
Joined: Sat Sep 11, 2004 6:40 am
Location: Melbourne, Australia
Contact:
Contact mark_alec
Website

  • Quote

Post by mark_alec » Sat Jul 08, 2006 4:58 am

If it is just a small program/script that doesn't affect much else on the filesystem, just set --prefix = ~/extra and then remove the files when you no longer want them.
Top
Headrush
Watchman
Watchman
User avatar
Posts: 5597
Joined: Thu Nov 06, 2003 12:48 am
Location: Bizarro World

  • Quote

Post by Headrush » Sat Jul 08, 2006 5:51 am

dmbtech wrote:Well, I kind of feel thats inconveient, and kind of overkill. Like, lets say your a developer, you just want to get this small program installed where there is not ebuild. It would take up way to much time to create an ebuild for it and then store it in an overlay. There should just be a way to do run a program after compiling, which wraps make install and maybe perhaps creates the ebuild and installs the ebuild for you.
A basic ebuild that just wraps configure, make, make install, is really small and doesn't take much space at all.

I would compare checkinstall install more with quickpkg which takes the installed program and creates a binary backup, very much like the RPMs checkinstall creates.

Although you might think this is good, the majority of us want to keep packages installed out of portage to a minimum.
Keeping everything in portage has a tremendous upside.

Once you create a basic template ebuild, it takes nothing to rename it and copy it into your overlay. You could even write a BASH script that asks for the name and category in portage, edit the template, then do everything you asked, (move to overlay, emerge, etc), with only a few lines of code.
Top
mannygentoo
n00b
n00b
Posts: 41
Joined: Tue May 23, 2006 3:57 am

  • Quote

Post by mannygentoo » Sat Jul 08, 2006 6:16 am

I tought this was checkinstall's website http://asic-linux.com.mx/~izto/checkinstall/
Anyway, if it works for debian should work for ubuntu, and i almost can't live without it on Slackware, it's a very nice program imo
"Use no way as a way, No limitation as a limitation."...Bruce Lee
Top
Headrush
Watchman
Watchman
User avatar
Posts: 5597
Joined: Thu Nov 06, 2003 12:48 am
Location: Bizarro World

  • Quote

Post by Headrush » Sat Jul 08, 2006 6:58 am

I misread the first post. If this is solely based on a checkinstall equivalent for ubuntu, why is it in the Gentoo forums?
Top
Valkura
Apprentice
Apprentice
User avatar
Posts: 242
Joined: Mon Feb 27, 2006 3:47 pm
Location: Ramsey, MN
Contact:
Contact Valkura
Website

  • Quote

Post by Valkura » Sat Jul 08, 2006 7:08 am

Headrush wrote:I misread the first post. If this is solely based on a checkinstall equivalent for ubuntu, why is it in the Gentoo forums?
I think it is about a checkinstall equivalent for Gentoo, and the OP is using Ubuntu as an example.
last.fm
SFH, because it's awesome
Top
Headrush
Watchman
Watchman
User avatar
Posts: 5597
Joined: Thu Nov 06, 2003 12:48 am
Location: Bizarro World

  • Quote

Post by Headrush » Sat Jul 08, 2006 7:18 am

Valkura wrote:
Headrush wrote:I misread the first post. If this is solely based on a checkinstall equivalent for ubuntu, why is it in the Gentoo forums?
I think it is about a checkinstall equivalent for Gentoo, and the OP is using Ubuntu as an example.
:oops:

Ya the first post was unclear but the second explained it better. The stupid part was I based my first response correctly on this.
That's what I get for staying up too late and going back and rereading threads.
Top
Post Reply

9 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic