LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-12-2018, 06:07 AM   #1
naas
LQ Newbie
 
Registered: Jun 2018
Posts: 25

Rep: Reputation: Disabled
Linux 18.3 How to install wxWidgets


I am batteling with this Can some please guide me in this. I have to install wxWidgets on linux mint 18.3. I download the latest version in a tar bz2 file. How about installing it from here on. Please Help????
 
Old 07-12-2018, 06:24 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,041

Rep: Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348
did you try the official documentation already?
did you try to look for a guide on the net?

https://wiki.wxwidgets.org/Compiling...etting_started
https://forums.wxwidgets.org/viewtopic.php?t=44146
http://linuxg.net/how-to-install-wxw...4-derivatives/

Last edited by pan64; 07-12-2018 at 06:26 AM.
 
1 members found this post helpful.
Old 07-12-2018, 08:45 AM   #3
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
For Linux Mint 18.x, it is useful to bear in mind that it is based on Ubuntu 16.04 and thus any online tutorials or instructions for Ubuntu 16.04 will almost always apply to it. Among the pages returned by an internet search for "install wxwidgets ubuntu 16.04" is:

https://askubuntu.com/questions/7464...n-of-wxwidgets

Note that Ubuntu 16.04 is xenial and this is therefore the name you should include in the repository line.

In saying that, Mint 18.3 should already contain at least a couple of wxwidgets packages so there *may* be some conflict. I would recommend that you make a system snapshot/backup/image with e.g. TimeShift so that you can roll back if things go awry.
 
Old 07-12-2018, 01:30 PM   #4
Mill J
Senior Member
 
Registered: Feb 2017
Location: @127.0.0.1
Distribution: Mint, Void, MX, Haiku, PMOS, Plasma Mobile, and many others
Posts: 1,258
Blog Entries: 2

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
cd into source and run ./configure if that is successful, run make and make install. If you haven't already: install gtk development libraries and build-essentials before running the other commands. Run ./configure --help for all your options.
 
Old 07-13-2018, 02:46 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
isn't wxwidgets in the repos anyhow (*)?
there's no need to compile from source?

(*) don't have a ubuntu machine here right now, but on debian stable it certainly is.
 
Old 07-13-2018, 04:00 AM   #6
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,302
Blog Entries: 61

Rep: Reputation: Disabled
Try running this:

Code:
sudo apt install wxwidgets
And see what happens.
 
Old 07-13-2018, 05:50 AM   #7
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by ondoho View Post
isn't wxwidgets in the repos anyhow (*)?
there's no need to compile from source?

(*) don't have a ubuntu machine here right now, but on debian stable it certainly is.
Just for info, you don't need Ubuntu installed to know if the repos include a certain package.

You can use this page to find out:

https://packages.ubuntu.com/

The answer (for Xenial at least) appears to be no. The only packages there that match "*wxw*" are libalien-wxwidgets-perl and plplot12-driver-wxwidgets.

To be thorough, the complete list of packages in the Mint 18.3 repo is here:

http://packages.linuxmint.com/list.php?release=Sylvia

It isn't there either.
 
Old 07-13-2018, 06:53 AM   #8
Mill J
Senior Member
 
Registered: Feb 2017
Location: @127.0.0.1
Distribution: Mint, Void, MX, Haiku, PMOS, Plasma Mobile, and many others
Posts: 1,258
Blog Entries: 2

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
Quote:
Originally Posted by ondoho View Post
isn't wxwidgets in the repos anyhow (*)?
there's no need to compile from source?
Correct me if I'm wrong, but the latest development version (3.1.1) isn't available via the repo. And for a developer there is many reasons to build 3.1.1.

Or what if he wants to build wxX11, wxDFB, or wxQt? Or if he wants a static build? Of course op didn't specify anything other than installing.

I always build my own wxWidgets on all my platforms, it can coexist beside an package manager installed version.

edit: @hydrurga it should be called wxGtk?

Last edited by Mill J; 07-13-2018 at 06:56 AM.
 
Old 07-13-2018, 07:12 AM   #9
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by Mill J View Post
edit: @hydrurga it should be called wxGtk?
Aha. Thanks. In that case, it appears to be there. I'll put my head back into its shell.

https://packages.ubuntu.com/search?k...al&section=all

@OP: apt list *wxgtk* will show you all the relevant packages in the repos.
 
  


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
Can not install WxWidgets in Ubuntu 16.04 sma7 Linux - Software 3 05-28-2017 07:39 AM
[SOLVED] Trying to install Code::Blocks, wxWidgets on Debian Wheezy kathbeau Linux - Software 5 11-19-2014 01:05 PM
wxWidgets install- gtk+-2.0.pc not found mchcph Linux - Software 3 05-20-2011 12:45 AM
Unable to install xchm on SuSE Pro 9.3 due to wxWidgets JimmyTheHutt Linux - Software 0 10-19-2005 03:46 PM
How to install wxWidgets on linux (e.g. Ubuntu) openfun Ubuntu 1 07-12-2005 10:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:25 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