[SOLVED] is there any trick to use apt-get program in Linux From Scratch system?
Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
is there any trick to use apt-get program in Linux From Scratch system?
Hello,
Iam using Linux From Scratch system and i want to use apt-get command in my OS.apt-get command is widely famous in Ubuntu operating systems and it is very easy to use and easy to upgrade and downloading and more.so i think i want to download it my OS.so friends is there any trick the apt-get command works on any OS?please guide me Thanks in advance.
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150
Rep:
Apt-get is VERY difficult to install on LFS after the main system has been built as apt-get wont know anything about the compiled system stuff, aside from which, what is the point of building a LFS system which will be optimized for your particular system and then use pre-compiled packages with shedloads of dependencies that will NOT be optimized for your system?
You may want to research apt-get from Debian first to understand how to construct build scripts and using a fakeroot temporary install system to use for packages.
To be honest, the best package manager is make. Just craft a small script for each package to run make install and any post install instructions and one for running make uninstall and rm -rvf on any other files installed to remove files. If you keep copies of your configured sources in /usr/src it helps a lot.
Apt-get is VERY difficult to install on LFS after the main system has been built as apt-get wont know anything about the compiled system stuff, aside from which, what is the point of building a LFS system which will be optimized for your particular system and then use pre-compiled packages with shedloads of dependencies that will NOT be optimized for your system?
If you want Ubuntu install Ubuntu!
hello,
i don't want to use Ubuntu for only apt-get program.many of the people very easily use it,and we can download varity of packages with these command so i decided apt-get program could be installed into my new os.But it is impossible to use apt-get program in my new OS as you said.okay thanks for your suggestion.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.