Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

What is the "DEBIAN WAY"?

If none of the specific sub-forums seem right for your thread, ask here.
Message
Author
User avatar
edbarx
Posts: 5401
Joined: 2007-07-18 06:19
Location: 35° 50 N, 14 º 35 E
Been thanked: 2 times

What is the "DEBIAN WAY"?

#1 Post by edbarx »

I have been using Debian for at least 8 months now, although I have been experimenting with it for more than 2 years. However, I haven't installed anything using the mysterious debian way! I fear that, if I install a package that way, I may not be able to remove it afterwards!

I think, the so mysterious debian way, has to do with commands like:

Code: Select all

./configure
make install
Am I right? I think, I am not...
Debian == { > 30, 000 packages }; Debian != systemd
The worst infection of all, is a false sense of security!
It is hard to get away from CLI tools.

Lavene
Site admin
Site admin
Posts: 4958
Joined: 2006-01-04 04:26
Location: Oslo, Norway

#2 Post by Lavene »

The mysterious Debian way is using apt-get/ aptitude/ synaptic

User avatar
edbarx
Posts: 5401
Joined: 2007-07-18 06:19
Location: 35° 50 N, 14 º 35 E
Been thanked: 2 times

#3 Post by edbarx »

So, I am already using it. :D
Debian == { > 30, 000 packages }; Debian != systemd
The worst infection of all, is a false sense of security!
It is hard to get away from CLI tools.

Lavene
Site admin
Site admin
Posts: 4958
Joined: 2006-01-04 04:26
Location: Oslo, Norway

#4 Post by Lavene »

:D

User avatar
rickh
Posts: 3434
Joined: 2006-06-29 02:13
Location: Albuquerque, NM USA

#5 Post by rickh »

Of course, the "Debian Way" is also a philosophical and historical mindset which, like all philosophies, can lead to disagreements.
Debian-Lenny/Sid 32/64
Desktop: Generic Core 2 Duo, EVGA 680i, Nvidia
Laptop: Generic Intel SIS/AC97

User avatar
souneedalink
Posts: 666
Joined: 2008-01-02 17:45

#6 Post by souneedalink »

the debian way - no quick shortcuts today that leads to problems tommorrow, take the long way and do it right

the debian way - purchased bread is fine ONLY IF you know how to make your own if needed

the debian way - sustenance before style

Mikuro
Posts: 159
Joined: 2007-12-16 04:56

#7 Post by Mikuro »

souneedalink wrote:the debian way - no quick shortcuts today that leads to problems tommorrow, take the long way and do it right
As far as installing apps goes, the long way is very rarely right in Debian! That's one of the main reasons I chose Debian — I'd heard great things about its package management system. And it IS good. apt-get is easier and safer than any other method.

The "mysterious Debian way" the original poster mentioned is really the mysterious Unix way. I think it's fine NOT to know how to do it. That is one of the luxuries of being a Debian user.

User avatar
Telemachus
Posts: 4574
Joined: 2006-12-25 15:53
Been thanked: 2 times

#8 Post by Telemachus »

souneedalink wrote:the debian way - sustenance before style
Does this mean that Debian users eat before they get dressed? :)

User avatar
industrialpunk
Posts: 731
Joined: 2007-03-07 22:30
Location: San Diego, CA, USA

#9 Post by industrialpunk »

As others have said, the Debian way is more than just using specific toolchains, its a philosophy. Debian, after all, is not just a distro, but a community. The Debian System: Concepts and Techniques by Martin Krafft is a great book that explains the history of Debian, its goals, philosophy, and technical usage.
-Josh Willingham

User avatar
souneedalink
Posts: 666
Joined: 2008-01-02 17:45

#10 Post by souneedalink »

Telemachus wrote:
souneedalink wrote:the debian way - sustenance before style
Does this mean that Debian users eat before they get dressed? :)
I was running out of catchy quips....

uh, it means... the necessities before the frivolous extras
yea thats it :P

User avatar
Bro.Tiag
Posts: 1924
Joined: 2007-06-02 19:14

#11 Post by Bro.Tiag »

souneedalink wrote:
Telemachus wrote:
souneedalink wrote:the debian way - sustenance before style
Does this mean that Debian users eat before they get dressed? :)
I was running out of catchy quips....

uh, it means... the necessities before the frivolous extras
yea thats it :P
"Function over Forum."

or

"Substance over Style."
Maybe.

Cheers

User avatar
hrsetrdr
Posts: 181
Joined: 2007-03-17 15:14
Has thanked: 1 time

#12 Post by hrsetrdr »

I 'sample' other operating systems(The BSDs, etc.) but debian just feels so right!
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein).

User avatar
mzilikazi
Forum Account
Forum Account
Posts: 3282
Joined: 2004-09-16 02:14
Location: Colorado Springs, CO

Re: What is the "DEBIAN WAY"?

#13 Post by mzilikazi »

edbarx wrote: I think, the so mysterious debian way, has to do with commands like:

Code: Select all

./configure
make install
Am I right? I think, I am not...
In these situations when you have no choice but to compile from source (because software XYZ is not available in a Debian repo) it is preferable to use checkinstall to make a deb out of the source code. Your .deb will not be eligible for upload to Debian proper ;) but it will fit in fine and is easily managed w/ apt-get (or Synaptic). So....instead of using make install try this:

Code: Select all

./configure
make
checkinstall
Keep in mind that sometimes checkinstall does not work for some source code. In this case (if you absolutely must have the software) you must use make install.
Debian Sid Laptops:
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G

User avatar
edbarx
Posts: 5401
Joined: 2007-07-18 06:19
Location: 35° 50 N, 14 º 35 E
Been thanked: 2 times

#14 Post by edbarx »

Thanks for all your answers.
souneedalink wrote:substance before style.
That means, I made the right decision in choosing Debian. With Windows, I was noticing, that the inner workings of the OS and the software, were intentionally hidden from the user. That often left me in a state of anger and disgust, because I knew that, to use a tool effectively, one must know the tool inside out. I was feeling like being treated as a mentally deficient person! Moreover, I was angry at the fact that, the programs were so overladen with unnecessary graphics, that they brought my computer to a crippling state. Once, I wanted to check the features of the computer's processor and downloaded an executable from the manufacturer's website. The program was almost 2 Mega Bytes long! It was so long because of too much graphics! A simple program employing a simple EDIT control would have been more than enough!!!

mzilikazi wrote:So....instead of using make install try this:

Code: Select all

  ./configure 
make 
checkinstall
Thanks for this tip.
Debian == { > 30, 000 packages }; Debian != systemd
The worst infection of all, is a false sense of security!
It is hard to get away from CLI tools.

User avatar
rickh
Posts: 3434
Joined: 2006-06-29 02:13
Location: Albuquerque, NM USA

#15 Post by rickh »

Thanks for this tip [on checkinstall].
Lots of people (including Martin Krafft, whose book, The Debian System, is mentioned above) believe that checkinstall is a disaster and unfit to be used on any Linux system, let alone one as worthy as Debian.
Debian-Lenny/Sid 32/64
Desktop: Generic Core 2 Duo, EVGA 680i, Nvidia
Laptop: Generic Intel SIS/AC97

User avatar
mzilikazi
Forum Account
Forum Account
Posts: 3282
Joined: 2004-09-16 02:14
Location: Colorado Springs, CO

#16 Post by mzilikazi »

rickh wrote:
Thanks for this tip [on checkinstall].
Lots of people (including Martin Krafft, whose book, The Debian System, is mentioned above) believe that checkinstall is a disaster and unfit to be used on any Linux system, let alone one as worthy as Debian.
And his suggestion is to use what instead? Please don't say make install.
Debian Sid Laptops:
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G

User avatar
rickh
Posts: 3434
Joined: 2006-06-29 02:13
Location: Albuquerque, NM USA

#17 Post by rickh »

What's wrong with "make install". That's certainly what I use on the rare occasions I can't find a correctly assembled .deb file.

The key to successfully using ./configure; make; make install is to leave the make directory in place so that you can run "make uninstall" if the need arises.
Debian-Lenny/Sid 32/64
Desktop: Generic Core 2 Duo, EVGA 680i, Nvidia
Laptop: Generic Intel SIS/AC97

Eck
Posts: 740
Joined: 2007-06-27 16:13

#18 Post by Eck »

I've preferred ./configure make make install over dpkg -i deb's that aren't in the repo's. I'd rather build something specifically with the libraries on my system than take a 3rd party deb file and install it. So even if I see a deb for something I want, I take the tar.bz file instead and build. If it later comes into Debian I can easily make uninstall and install our version instead.

I did that recently with brasero when it was briefly removed from Lenny, although it still feels weird that I returned to the older Debian version and cannot fathom why the maintainer hasn't started working on the newer upstream releases of it. His page says he's "watching" it. Why doesn't he put it into Sid so more people can work on whatever bugs there may be? Brasero seems to be the future of GUI burning in Gnome. Seems to me the package should be more actively kept up with than it is. That's already a wish list bug so I haven't bothered to post up another one, which would only duplicate that.

Thankfully, there's very little that isn't in the Debian or debian-multimedia repo's.
Lenovo z560 Laptop Nvidia GeForce 310m Hitachi 500GB HD Intel HD Audio 4GB RAM

Azriel
Posts: 150
Joined: 2007-07-01 19:03

#19 Post by Azriel »

Ok, that might be a stupid question but every package is source code before being a .deb package, no ? So there must be some kind of "safe" way to turn source code into a package, installable by apt, in order to keep track of everything with apt... no ?

Lavene
Site admin
Site admin
Posts: 4958
Joined: 2006-01-04 04:26
Location: Oslo, Norway

#20 Post by Lavene »


Post Reply