Create your own Debian/Ubuntu (*.deb) package

mypapit debianI’ve found a nice well-written guide that may be useful for those who wants to create Debian *.deb package. Though compiling applications/software/libraries right from sources are desireable for some people, there’s still lots of others who prefer to install stuffs software packages for conveniency.

Why do you want to create Debian (*.deb) packages

There’s many reasons for you to create *.deb packages, one of it if you are (or want to be) a maintainer for a Debian-based project, or merely maintaining a unofficial packages for Debian-based system.

The guide would be useful if you are a software developer or in charge of distributing softwares in pre-package form to various GNU/Linux distribution. Creating a prepackage *.deb files will help people install your software without the need of developments tools and save compiling time, this is important since there are people who like to manage installations using software management tools such as synaptic and aptitiude.

Though most people would prefer to distribute binary only *.deb package, the practice of distributing pre-packaged source codes in *.deb format is not uncommon in Debian-based distro scene.

Here’s the link to the guide that I’m talking about :

  1. Rolling your own Debian packages (part 1)
  2. Rolling your own Debian packages (part 1)

Other Links :

  1. Debian New Maintainer website
  2. Debian Binary Package Howto
  3. Create Debian GNU/Linux Package

debian, ubuntu, linux, package, deb, repository, repositories

Mandriva Starter Guide Wiki

Mandriva Linux LogoSeems that Mandriva Linux users doesn’t need to spend hours of unproductive work trying to figure how to work things out for their Mandriva Linux system.

The fine folks at Linux Center of University of Latvia have started an Unofficial Mandriva Linux Starter guide in spirit to help fellow Mandriva Linux users across the world. The guide itself is organised in a wiki, and everyone else are encouraged to contribute.

The website contains many useful links and guides that could be helpful for new Mandriva Linux users. Among the guides and tips included :

  1. Where to download Mandriva Linux
  2. Where to look for new programs
  3. How to Install Java 2 Runtime Environment Plugin in Mozilla Firefox
  4. Configuring Network Connections
  5. How to add extra Repositories in Mandriva Linux
  6. How to Add/Delete Users and groups
  7. How to watch DVD in Mandriva Linux
  8. And many more…

The same folks that brought you this wiki is currently also working to release Unofficial Gentoo Linux Wiki.

Hope that these links will be helpful to you !!

linux, mandrake, mandriva, repositories, wiki

How to use apt-get behind proxy server (Ubuntu/Debian)

mypapit debianIf you are a Debian-based GNU/Linux user, then you’re probably familiar with synaptic and apt-get to install application from software repositories. This post focussed on how to use apt-get/synaptic behind proxy server/firewall which under normal circumstances, you’re unable to use apt-get.

If you’re using Synaptic

Open up your Synaptic package manager (usually as root), go to Settings-> Preference -> Network. Enter your proxy server details like : username:password@proxyserver.net, and put the proxy server port (usually 8080).

If you’re using command-line apt-get

Edit your /etc/bash.bashrc file as root.

Put these line at the end of your /etc/bash.bashrc file :

export http_proxy=http://username:password@proxyserver.net:port/
export ftp_proxy=http://username:password@proxyserver.netport/

You can omit the username:password, if your proxy server has no password. That’s all for today! Happy apt-get-ing!

debian,ubuntu,knoppix, mepis, apt-get

Get Mandriva Linux Inside Community Magazine !

Mandriva Linux Community has released e-magazine dedicated to Mandriva Linux latest developments news (formerly known as Mandrake Linux). The publication of the magazine marks the resurrection of the Cooker Weekly News, which was discontinued a little while ago. The community driven effort hasn’t decided on scheduled release yet, as the editor wrote “If the project succeeds and catches attention, a new issue will be released as soon as we feel that there is enough content for it”. He also states that motivations should be the prior motor for new issues, instead of deadlines.

Stuffs included in Mandriva Inside first edition includes :

  1. Inverview with Darth Barth
  2. News From the Front
  3. Community, what’s that?
  4. Focus on Pinit
  5. Cooker Mailing List Digest

For the uninitiated, Cooker is the codename for unstable/experimental branch of Mandriva Linux that is currently in development. You can download Mandriva Inside from : http://www1.mandrivalinux.com/e-mag/e-mag-1-20060602.pdf

linux, mandriva, mandrake, magazine, e-magazine,cooker

Get updated Debian applications with Backports

debian logo mypapitI guess everybody know about Debian GNU/Linux distribution. It is nice and simple to setup, not too newbie-ish, not to complex, just in the right balance. Debian also has an awesome package management system called ‘apt-get’ which manage your application/softwares inside your computer, apply updates, and deal with security patches. Debian has comprehensive repositories, spanning over 18 CDs for the i386 platform, making it one of the largest software repository among other GNU/Linux distros. Debian also support a total of 11 processor architectures, topping up other distribution which usually supports between 1-4 archicture (the usual architectures are : i386, amd-64, ppc,sparc).

Updated Softwares?

However, due to the complexities of supporting every platform, Debian rarely release software upadates to its users. This has cause problem to users who needs access to updated software or the much needed security patches. The usual applications request among others includes Openoffice, mozilla firefox, gaim, window managers (KDE,GNOME) and kernel updates.

Solutions to this problem?

While some people can live without software updates, there are people who needs updated software in order to keep up with the latest improvements and technology. Usually there a couple of choices for these group of people.

First, use the -sid (unstable/experimental branch) repository. You just need to edit your “/etc/apt/sources.list” file and uncomment sid-related repositories. Then you will need to run “apt-get dist-upgrade” to upgrade your distribution to -sid, the experimental Debian release.

The Backports.org solution

If you need to update only a handful packages critical only to your day-to-day work (and prefer to use a stable Debian release), then you can use Backports. In a nutshell, Backports are recompiled packages from testing (mostly) and unstable (in a few cases only, e.g. security updates), so they will run without new libraries (wherever it is possible) on a stable Debian distribution.

The website has an easy to follow instructions to use Backports apt-get repository to get updated software. The Backports is flexible enough that you can customize which software you want to be updated and the ones you wish to leave behind.

Final piece of advice

A piece of advise : while Backports provides an easy way to stay updated with your applications, it is advisable that you pick out single backports which fits your needs, and not to use all backports available there.

debian,backports, ubuntu, repository, repositories, sarge, sid

BackTrack – Penetration Testing (pentest) Live CD!

A quick check in DistroWatch today revealed that remote-exploit has made available its first public Beta release of BackTrack 3.0. The Live CD is a must for those who are interested in running security check up and/or penetration test (pentest).

The SLAX-based LiveCD combines the best of two GNU/Linux distributions Whax and Auditor that specialised in the same field. Combining the best features from both distributions, and paying special attention to small details, this is probably the best version of either distributions to ever come out.

The Live CD comes with the usual tools for security testing like vulnerability scanners, port scanners, network sniffers, wardriving tools, bluetooth snarfer as well as popular exploit archives (SecurityFocus, milw0rm).

Users who are interested with this distro can check out their official website at : http://www.remote-exploit.org/index.php/BackTrack

linux, security, distro, livecd, backtrack, slax, slackware