LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Install Advanced Packaging Tool on a linux from scratch machine (https://www.linuxquestions.org/questions/linux-newbie-8/install-advanced-packaging-tool-on-a-linux-from-scratch-machine-919030/)

ledzepp4eva 12-16-2011 06:19 AM

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.

jhwilliams 12-16-2011 06:29 AM

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.

asipper 12-16-2011 06:33 AM

apt-get is just a frontend for APT

jhwilliams 12-16-2011 06:36 AM

Quote:

Originally Posted by asipper (Post 4551529)
apt-get is just a frontend for APT

........ ??

ledzepp4eva 12-16-2011 06:39 AM

Quote:

Originally Posted by jhwilliams (Post 4551523)
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.

asipper 12-16-2011 06:42 AM

Quote:

Originally Posted by jhwilliams (Post 4551532)
........ ??

apt-get is not APT just like aptitude isn't APT. The asker implied (sort of) that Apt-get is APT.

ledzepp4eva 12-16-2011 08:51 AM

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.

ledzepp4eva 12-16-2011 09:13 AM

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 (:


All times are GMT -5. The time now is 03:45 PM.