If you compile - remember build-essential and checkinstall

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
User avatar
xenopeek
Level 24
Level 24
Posts: 21277
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

If you compile - remember build-essential and checkinstall

Postby xenopeek » Tue Sep 20, 2016 12:59 am

For compiling to work build-essential must be installed. Install it from Software Manager or with apt install build-essential.

Most compilation instructions will say to run the command sudo make install to install the software after compiling. You should instead use the command sudo checkinstall. That does the same thing but will make the software and its files known to your package managers (e.g. Software Manager and apt ) so that you can easily remove the software or replace it with a newer version. For this you will first have to install checkinstall. Install it from Software Manager or with the command: apt install checkinstall.

(Edit: if you want to recompile a package installed from the Linux Mint repositories—for example to apply a patch you need—see the How to recompile a package from source topic instead.)
Image

User avatar
Lucap
Level 5
Level 5
Posts: 546
Joined: Tue May 24, 2016 1:40 am

Re: If you compile - remember build-essential and checkinstall

Postby Lucap » Tue Sep 20, 2016 1:30 am

Sounds like it should make life easier. :)

User avatar
Pjotr
Level 18
Level 18
Posts: 8597
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: If you compile - remember build-essential and checkinstall

Postby Pjotr » Tue Sep 20, 2016 4:12 am

Good tip! Thank you. :)
Tip: 10 things to do after installing Linux Mint 18.2 Sonya
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

User avatar
grundblom
Level 1
Level 1
Posts: 17
Joined: Tue Oct 21, 2014 11:44 pm
Location: Illinois

Re: If you compile - remember build-essential and checkinstall

Postby grundblom » Sat Oct 01, 2016 5:39 pm

I find I have to have the build-essential group package before I can get the Virtualbox additions to install correctly.
Thanks for the tip!
Thanks,
-Glen

Cosmo.
Level 22
Level 22
Posts: 15431
Joined: Sat Dec 06, 2014 7:34 am

Re: If you compile - remember build-essential and checkinstall

Postby Cosmo. » Sat Oct 01, 2016 5:50 pm

glen_il wrote:I find I have to have the build-essential group package before I can get the Virtualbox additions to install correctly.

I have never seen this in countless numbers of virtual machines, that I build. What you need is dkms, but that comes pre-installed on every Mint installation.

User avatar
grundblom
Level 1
Level 1
Posts: 17
Joined: Tue Oct 21, 2014 11:44 pm
Location: Illinois

Re: If you compile - remember build-essential and checkinstall

Postby grundblom » Sun Oct 02, 2016 1:18 am

Cosmo, thank you for that information. I have been doing that with Mint and Ubuntu VMS but now I can see that it was not necessary.
Thanks for the tip, I did not know about dkms yet and learning more about it.
Thanks,
-Glen

Pat D
Level 3
Level 3
Posts: 172
Joined: Thu Jul 14, 2016 2:31 pm

Re: If you compile - remember build-essential and checkinstall

Postby Pat D » Mon Mar 27, 2017 5:19 pm

Wow.
All this frustration and the info was right here.
"Checkinstall" !!!

Thank you.

SGreen
Level 1
Level 1
Posts: 11
Joined: Sun Apr 23, 2017 3:00 pm

Re: If you compile - remember build-essential and checkinstall

Postby SGreen » Wed Apr 26, 2017 2:07 am

Indeed another thank you from my end, just in time to avoid the limitation

digitography
Level 1
Level 1
Posts: 13
Joined: Fri Dec 23, 2011 5:12 am

Re: If you compile - remember build-essential and checkinstall

Postby digitography » Wed Apr 26, 2017 1:50 pm

checkinstall

Command not found!
Mint 18.1

User avatar
xenopeek
Level 24
Level 24
Posts: 21277
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: If you compile - remember build-essential and checkinstall

Postby xenopeek » Wed Apr 26, 2017 2:17 pm

You failed your reading test.
xenopeek wrote:For this you will first have to install checkinstall. Install it from Software Manager or with the command: apt install checkinstall.
Image

digitography
Level 1
Level 1
Posts: 13
Joined: Fri Dec 23, 2011 5:12 am

Re: If you compile - remember build-essential and checkinstall

Postby digitography » Wed Apr 26, 2017 2:48 pm

Should have gone to Specsavers.


Return to “Newbie Questions”

Who is online

Users browsing this forum: br1anstorm, fred19 and 11 guests