LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 12-16-2011, 06:19 AM   #1
ledzepp4eva
LQ Newbie
 
Registered: Dec 2011
Posts: 4

Rep: Reputation: Disabled
Install Advanced Packaging Tool on a linux from scratch machine


Hi guys/gals,
I have recently booted up my linux from scratch machine, and have been looking at tools to add to it for my needs.
A program that would be a lot of help, would be the Advanced Packaging Tool (apt-get)
Where can I get hold of, say the tarball for this program?

Many Thanks.
 
Old 12-16-2011, 06:29 AM   #2
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 206Reputation: 206Reputation: 206
There is this hints document:

http://www.linuxfromscratch.org/hint...files/dpkg.txt

I got LFS built, but then never tried it. You should document your steps and then post them some place, if you get it working with LFS 7.0. Sure there are lots of other people who would benefit from it.
 
Old 12-16-2011, 06:33 AM   #3
asipper
Member
 
Registered: Oct 2011
Distribution: Fedora 17
Posts: 138

Rep: Reputation: 0
apt-get is just a frontend for APT
 
Old 12-16-2011, 06:36 AM   #4
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 206Reputation: 206Reputation: 206
Quote:
Originally Posted by asipper View Post
apt-get is just a frontend for APT
........ ??
 
Old 12-16-2011, 06:39 AM   #5
ledzepp4eva
LQ Newbie
 
Registered: Dec 2011
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jhwilliams View Post
There is this hints document:

http://www.linuxfromscratch.org/hint...files/dpkg.txt

I got LFS built, but then never tried it. You should document your steps and then post them some place, if you get it working with LFS 7.0. Sure there are lots of other people who would benefit from it.
Thanks for replying so hastily.

Will do and I did use 7.0 for the build.
 
Old 12-16-2011, 06:42 AM   #6
asipper
Member
 
Registered: Oct 2011
Distribution: Fedora 17
Posts: 138

Rep: Reputation: 0
Quote:
Originally Posted by jhwilliams View Post
........ ??
apt-get is not APT just like aptitude isn't APT. The asker implied (sort of) that Apt-get is APT.
 
Old 12-16-2011, 08:51 AM   #7
ledzepp4eva
LQ Newbie
 
Registered: Dec 2011
Posts: 4

Original Poster
Rep: Reputation: Disabled
I am just making a note of what I have done so far following the apt package install for 7.0

1) installed dpkg @ wget http://ftp.de.debian.org/debian/pool...15.8.11.tar.gz
and then had to use lynx from my source directory to get hold of po4a_0.34 (as for some reason wget wouldn't download it)

2) once done I had to install the Module::Build perl package. which meant going to the 6.3 version of the blfs book. and using the instructions from there to install the Module::Build package. After installing the packages' dependancies using cpan (as advised) apart from Compress-zlib, which I used wget on to get hold of it and use the perl Makeperl.PL thingy..., then installed po4a and dpkg.
3) I am now trying to find apt-<version>.deb, but am unable, and I am stuck now.
 
Old 12-16-2011, 09:13 AM   #8
ledzepp4eva
LQ Newbie
 
Registered: Dec 2011
Posts: 4

Original Poster
Rep: Reputation: Disabled
I think it is this part that is having me and help would be most appreciated:

"First of all you need to create some dummy entries in /var/dpkg/status to make
dpkg think that some basic GNU programs and libraries are installed"
(p.s. the file is in var/lib on my system)
And I guess my question is, how?

Also ignore part three of the post above I found the .deb files (:

Last edited by ledzepp4eva; 12-16-2011 at 09:18 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: GNOME Tweak Tool - A tool for changing specialised or advanced GNOME3 settings LXer Syndicated Linux News 0 10-12-2011 11:50 PM
LXer: Linux 101: Efficient software management with the Advanced Package Tool in Debian LXer Syndicated Linux News 0 08-13-2006 06:54 PM
Installing a packaging system when making a linux system from scratch idamlaj Linux - Software 1 03-01-2006 02:01 PM


All times are GMT -5. The time now is 10:17 AM.

Main Menu
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