LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

Emerge + yaourt + apt-build/checkinstall + debtorrent/apt-p2p

Posted 04-16-2011 at 04:44 PM by the dsc (linux-related notes)
Updated 04-16-2011 at 05:15 PM by the dsc

Just an idea I had sometime ago, perhaps some bored developer sees it and might want to make it a reality.

It would be quite interesting if such a compiling/packaging system could be made. You compile with whatever flags you want and whatnot just like Gentoo's emerge, then it is converted into a package like apt-build or checkinstall (if emerge doesn't do that already), and then this package is seeded in a community-built meta-repository with many alternatives (somewhat like Arch's...
Member
Posted in Uncategorized
Views 842 Comments 0 the dsc is offline
Old

Shortest command to calculate the sum of a column of output

Posted 06-02-2010 at 06:27 AM by bittner (Notes on Linux)

I had to calculate the Installed-Size for a .deb control file recently. Here is the solution I came up with:

Code:
dpkg-deb -c mypackage.deb | sed -e 's/.*root\s*//' -e 's/\s*2010-.*$//' | xargs | tr ' ' + | bc
What it does? The code tries to construct a calculation string and feeds it to the command line calculator bc as follows:
  1. use dpkg-deb to get the file size information out of the Debian package
  2. sed away all characters before and after the
...
LQ Newbie
Posted in Uncategorized
Views 4272 Comments 2 bittner is offline
Old

Set up a packaging system on an old laptop

Posted 09-17-2009 at 10:10 AM by henryxcrudos (henryxcrudos' Linux Projects)

I plan to set up a packaging-only system for VectorLinux Light on an old laptop (Acer Travelmate 212TXV). VectorLinux Light is a great, fast, lightweight Slackware-based distribution.

Stage 1: Setting up the system


Installation of VectorLinux Light 6.0

- Burned CD-R from ISO
- Installed distribution using the text-installer
- Booted

Queries:
  1. X GUI Login screen not available, screen blanks after boot

    Suggested
...
LQ Newbie
Posted in Uncategorized
Views 1246 Comments 0 henryxcrudos is offline

  



All times are GMT -5. The time now is 11:49 PM.

Main Menu
Advertisement

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration