Archive for the tag:

Rebuilding a package with Debian GNU / Linux

Nessun commento » Debian, Open Source, System, Tips & tricks No comment '

I state that this will not be a comprehensive tutorial, but only a sort of manabile - but I remember the manabili them? - Especially useful for those who want to try to rebuild itself from a Debian package and not have the time to learn the theory.

First you must install the basic packages for this type of operation:

# apt-get install devscripts build-essential

Then go download the source package that we want to rebuild:

# apt-get source nome_pacchetto

Warning! The package will be downloaded in the current directory!

The name of the package you can easily get greppando the output of dpkg:

# dpkg -l | grep -i openoffice

Here we have carried out a search to find the correct name of the package openoffice.org.

Now we must proceed with the generation of dependencies:

# apt-get build-dep nome_pacchetto

Straight! In the debian are some scripts and configuration files that may require specific changes, maybe just those for which it was decided to rebuild the package. Among these are the most important rules (compilation options) and changelog (the name should be self).

To rebuild the package:

# cd nome_pacchetto
# debuild -us -uc

Once terminatala compilation, you'll find packages. Deb in the directory, ready for installation:

# cd ..
# dpkg -i *.deb

For greater clarity we see a concrete example:

# apt-get source mysql-server-5.0
# apt-get build-dep mysql-server-5.0
# cd mysql-dfsg-5.0-5.0.32
# debuild -us -uc
# cd ..
# dpkg -i *.deb

Have a lot of fun!

2.6.22 kernel with Debian Etch and Backports

10 commenti » Debian, Kernel, Tips & tricks 10 comments »

The official logo of Debian GNU / Linux Working daily with Debian Etch: the use extreme satisfaction with both on corporate servers that on personnel notebook (the same as I write at this moment). I am a staunch defender of the Stable branch of Debian - and any other operating system - partly because they do a professional and I can not afford the luxury of wasting time or - worse - to undermine the stability of a system to test the last trinket. On my notebook, however, I will often need to exploit a number of features that are absent or incomplete in the kernel 2.6.18, one in all the opportunity to use the NTFS-3G driver to manage the NTFS partitions. Read the rest »