DebianThis forum is for the discussion of Debian Linux.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
There are some applications that are not available with apt-cache search. However, those applications' source file can be downloaded. Is it possible to package the source file into deb file and install via dpkg -i ? Or do I need to wait for that package to be made available on sources specified in /etc/apt/sources.list ?
You can build debs, yes. One example is the pine package.
Something like this should work.
cd /usr/src
apt-get source pine
apt-get build-dep pine
cd pine-4.x.x
dpkg-buildpackage
cd ..
dpkg -i pine-4.x.x.deb
What about source files in the form of *.tar.bz2 or *.tar.gz? Can I use apt-get build-dep on those tarballs?
Thanks !
Quote:
Originally posted by sims You can build debs, yes. One example is the pine package.
Something like this should work.
cd /usr/src
apt-get source pine
apt-get build-dep pine
cd pine-4.x.x
dpkg-buildpackage
cd ..
dpkg -i pine-4.x.x.deb
The above link seems to be dead, sounds like it's what I'm after:
Download source tarball, build a debian package from it, install from the package.
From what I understand about installing from source, if "configure" and "make" run without errors, you have all the binaries and destinations to copy the binary files to. In that case, it should be possible, instead of doing "make install" to build a debain package from what is sitting in the source directory. I don't know the internals of either .deb packages or source distributions, but it seems logical.
The above link seems to be dead, sounds like it's what I'm after:
Download source tarball, build a debian package from it, install from the package.
From what I understand about installing from source, if "configure" and "make" run without errors, you have all the binaries and destinations to copy the binary files to. In that case, it should be possible, instead of doing "make install" to build a debain package from what is sitting in the source directory. I don't know the internals of either .deb packages or source distributions, but it seems logical.
Use the checkinstall package to build the .deb file it is used in place of the make install command with a command line similar to this su -c 'checkinstall -D --pkgname=package --pkgversion=1.2.3 --maintainer="Your Name your@email.com"' changing of course to the proper values it will ask for the root password type it in then hit enter key for it to build/install the package answer yes to creating the default docs. In case you do not have a clean ./configure install the apt-file package then as root apt-file update then once it completes you can as normal user apt-file search file/missing.h to find the package that contains the file you need then install it.
I've seen the debian new maintainers guide, i tried reading it a bit, and it seems so far to be pretty involved. Since I don't want to really create packages for distribution, just to simplify install/remove on my own machine, I was hoping it didn't have to be quite that complicated, but it's good to know about the guide for sure.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.