Please note that LinuxExchange will be shutting down on December 31st, 2016. Visit this thread for additional information and to provide feedback.

1
1

I'm trying to build a program which requires other packages to be installed. I noticed that for some of these packages they will have a package with the same name but with -dev appended to the name. Which package should I install? If I install the -dev package is that sufficient?

asked 04 Jun '11, 09:00

Linux%20Jedi's gravatar image

Linux Jedi
2113
accept rate: 0%




As a rule of thumb, you want the dev-packages only for doing development related work, since they contain additional files you usually don't need (e.g. the header-files).

Most often if users need dev-packages, they want to compile programs themselves instead of using the binary packages.

link

answered 05 Jun '11, 13:51

Jazz's gravatar image

Jazz ♦
7811312
accept rate: 33%

So if the only reason I'm downloading a package is because something I'm compiling requires it, then just download the -dev package?

(06 Jun '11, 02:13) Linux Jedi

Exactly. :)

(06 Jun '11, 06:22) Jazz ♦

If you're on a debian based system, then a great tip is to use "apt-get build-dep packagename", which will bring in the build dependencies for that package. Even if you're not planning to use "apt-get source packagename" to get the source it can still save time.

link

answered 02 Aug '11, 08:56

chrisjrob's gravatar image

chrisjrob
312
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×6
×5

Asked: 04 Jun '11, 09:00

Seen: 1,911 times

Last updated: 02 Aug '11, 08:56

powered by OSQA