LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-23-2016, 12:16 PM   #1
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
new 'create deb packages tutorial' video


a tutorial video about how to create deb packages from our latest user group meetup.

https://www.youtube.com/watch?v=YLubdvMzmZs&t=1207s

Enjoy!
 
Old 12-27-2016, 02:48 AM   #2
Michael Uplawski
Senior Member
 
Registered: Dec 2015
Posts: 1,620
Blog Entries: 40

Rep: Reputation: Disabled
Good work. Helps a lot.
Although ... If “It's easy”, then anything is easy. 1h11 speak volumes (virtually) and “You see, there is no leading slash. Don't ask me why” yet another.

The procedure is still cumbersome and has always been. In my experience, you can create all deb packages that you want, but to do it right asks for precision in many respects. I knew to do it, but it is not easy and there are many pitfalls to avoid.

A good educational video which I add to my references, in case I ever have to build deb-packages again.
 
1 members found this post helpful.
Old 12-27-2016, 03:22 AM   #3
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Original Poster
Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
my explanation for the slash is:
there is no slash because you are in the $DESTDIR, and you copy relative to this.
if the file name would start with / it would be an absolute path.
so
/usr/include/foo.h would want to go to the file system, bad.

usr/include/foo.h goes to wherever the package manager is (pkgdir in Slackware speak) and copy it relative to there.
 
Old 12-27-2016, 03:26 AM   #4
Michael Uplawski
Senior Member
 
Registered: Dec 2015
Posts: 1,620
Blog Entries: 40

Rep: Reputation: Disabled
Quote:
Originally Posted by a4z View Post
my explanation for the slash is:
there is no slash because you are in the $DESTDIR, and you copy relative to this.
if the file name would start with / it would be an absolute path.
so
/usr/include/foo.h would want to go to the file system, bad.

usr/include/foo.h goes to wherever the package manager is (pkgdir in Slackware speak) and copy it relative to there.
It is not so much the little detail about the slash, but the number of times that, also in the video, these details are of importance. Maybe you would not count them as “difficulty” and I should rather list them under “a huge bunch of things to consider”.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
extract deb package,change and create deb again ccc Debian 2 12-19-2014 11:40 PM
Deb packages ??? fachamix DamnSmallLinux 1 11-16-2009 03:17 PM
When DEB packages need strange packages noteventime Linux - Software 0 11-29-2005 09:37 AM
Can apt4rpm use deb repositories or install .deb packages? raylpc Linux - General 0 08-18-2003 01:49 AM
creating packages (.tgz/.deb/.rpm) How from the source packages? l_9_l Linux - General 1 03-06-2002 06:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration