How to connect ICU library with gcc in the Ubuntu 16.04?
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
1
down vote
favorite
I have downloaded the icu4c-61_1-Ubuntu16.04-x64.tgz from the http://site.icu-project.org/download/61#TOC-ICU4C-Download site. I do not see any installation instruction there. In my NetBeans C/C++ 'Ant Library Manager' the button 'New Library' and other fields are inactive - inaccessible. (In the NetBeans, C debugging works.)
In the filesystem, is there a directory where the unpacked library should be placed and/or a file where the information should be added? Thanks!
16.04 software-installation gcc libraries netbeans
add a comment |Â
up vote
1
down vote
favorite
I have downloaded the icu4c-61_1-Ubuntu16.04-x64.tgz from the http://site.icu-project.org/download/61#TOC-ICU4C-Download site. I do not see any installation instruction there. In my NetBeans C/C++ 'Ant Library Manager' the button 'New Library' and other fields are inactive - inaccessible. (In the NetBeans, C debugging works.)
In the filesystem, is there a directory where the unpacked library should be placed and/or a file where the information should be added? Thanks!
16.04 software-installation gcc libraries netbeans
@muru: Please consider if the icu.project.org is not worth our attention enough to get its tag, that I have proposed. In fact, I am only trying it, but their site is generally recommended for solving problems with different language text coding. I intended to describe the proposed tag later. Thanks!
â Tomáà ¡ PeÃÂený
Jun 7 at 6:29
Are the existing tags insufficient?
â muru
Jun 7 at 6:32
I feel the tag 'language' as too general and 'language-support' is described as 'the language support provided by Ubuntu'. I suggested the tag 'icu' as an analogy to the tag 'gcc' .
â Tomáà ¡ PeÃÂený
Jun 7 at 6:43
And I replaced that with libraries, which is sufficiently general enough.
â muru
Jun 7 at 6:46
I agree, thanks!
â Tomáà ¡ PeÃÂený
Jun 7 at 6:48
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I have downloaded the icu4c-61_1-Ubuntu16.04-x64.tgz from the http://site.icu-project.org/download/61#TOC-ICU4C-Download site. I do not see any installation instruction there. In my NetBeans C/C++ 'Ant Library Manager' the button 'New Library' and other fields are inactive - inaccessible. (In the NetBeans, C debugging works.)
In the filesystem, is there a directory where the unpacked library should be placed and/or a file where the information should be added? Thanks!
16.04 software-installation gcc libraries netbeans
I have downloaded the icu4c-61_1-Ubuntu16.04-x64.tgz from the http://site.icu-project.org/download/61#TOC-ICU4C-Download site. I do not see any installation instruction there. In my NetBeans C/C++ 'Ant Library Manager' the button 'New Library' and other fields are inactive - inaccessible. (In the NetBeans, C debugging works.)
In the filesystem, is there a directory where the unpacked library should be placed and/or a file where the information should be added? Thanks!
16.04 software-installation gcc libraries netbeans
edited Jun 6 at 23:56
muru
128k19269459
128k19269459
asked Jun 6 at 22:28
![](https://i.stack.imgur.com/C2IO3.jpg?s=32&g=1)
![](https://i.stack.imgur.com/C2IO3.jpg?s=32&g=1)
Tomáà ¡ PeÃÂený
44051032
44051032
@muru: Please consider if the icu.project.org is not worth our attention enough to get its tag, that I have proposed. In fact, I am only trying it, but their site is generally recommended for solving problems with different language text coding. I intended to describe the proposed tag later. Thanks!
â Tomáà ¡ PeÃÂený
Jun 7 at 6:29
Are the existing tags insufficient?
â muru
Jun 7 at 6:32
I feel the tag 'language' as too general and 'language-support' is described as 'the language support provided by Ubuntu'. I suggested the tag 'icu' as an analogy to the tag 'gcc' .
â Tomáà ¡ PeÃÂený
Jun 7 at 6:43
And I replaced that with libraries, which is sufficiently general enough.
â muru
Jun 7 at 6:46
I agree, thanks!
â Tomáà ¡ PeÃÂený
Jun 7 at 6:48
add a comment |Â
@muru: Please consider if the icu.project.org is not worth our attention enough to get its tag, that I have proposed. In fact, I am only trying it, but their site is generally recommended for solving problems with different language text coding. I intended to describe the proposed tag later. Thanks!
â Tomáà ¡ PeÃÂený
Jun 7 at 6:29
Are the existing tags insufficient?
â muru
Jun 7 at 6:32
I feel the tag 'language' as too general and 'language-support' is described as 'the language support provided by Ubuntu'. I suggested the tag 'icu' as an analogy to the tag 'gcc' .
â Tomáà ¡ PeÃÂený
Jun 7 at 6:43
And I replaced that with libraries, which is sufficiently general enough.
â muru
Jun 7 at 6:46
I agree, thanks!
â Tomáà ¡ PeÃÂený
Jun 7 at 6:48
@muru: Please consider if the icu.project.org is not worth our attention enough to get its tag, that I have proposed. In fact, I am only trying it, but their site is generally recommended for solving problems with different language text coding. I intended to describe the proposed tag later. Thanks!
â Tomáà ¡ PeÃÂený
Jun 7 at 6:29
@muru: Please consider if the icu.project.org is not worth our attention enough to get its tag, that I have proposed. In fact, I am only trying it, but their site is generally recommended for solving problems with different language text coding. I intended to describe the proposed tag later. Thanks!
â Tomáà ¡ PeÃÂený
Jun 7 at 6:29
Are the existing tags insufficient?
â muru
Jun 7 at 6:32
Are the existing tags insufficient?
â muru
Jun 7 at 6:32
I feel the tag 'language' as too general and 'language-support' is described as 'the language support provided by Ubuntu'. I suggested the tag 'icu' as an analogy to the tag 'gcc' .
â Tomáà ¡ PeÃÂený
Jun 7 at 6:43
I feel the tag 'language' as too general and 'language-support' is described as 'the language support provided by Ubuntu'. I suggested the tag 'icu' as an analogy to the tag 'gcc' .
â Tomáà ¡ PeÃÂený
Jun 7 at 6:43
And I replaced that with libraries, which is sufficiently general enough.
â muru
Jun 7 at 6:46
And I replaced that with libraries, which is sufficiently general enough.
â muru
Jun 7 at 6:46
I agree, thanks!
â Tomáà ¡ PeÃÂený
Jun 7 at 6:48
I agree, thanks!
â Tomáà ¡ PeÃÂený
Jun 7 at 6:48
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
2
down vote
accepted
From the FAQ:
- For other platforms, the .tgz file unpacks to a "
/usr/local
" type hierarchy. For system-wide installation, you can unpack all of the
files into/usr/local/bin
,/usr/local/include
, etc.
- The configuration script
/usr/local/bin/icu-config
or the similar Makefile include fragment/usr/local/lib/icu/current/Makefile.inc
can be used in building applications.
To extract the archive's icu/usr/local
to /usr/local
:
sudo tar zxvf icu4c-61_1-Ubuntu16.04-x64.tgz -C /usr/local ./icu/usr/local --strip-components=4
The tar
options:
-C /usr/local
: to put the extracted files in/usr/local
./icu/usr/local
: to extract only the contents of./icu/usr/local
of from the archive (skipping the mostly uselessreadme.txt
)--strip-components=4
: to extract the files, but remove the leading 4 components (./icu/usr/local
) from the paths, since we're already extracting to/usr/local
.
If you have used pkg-config
before, icu-config
seems to be a similar script.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
From the FAQ:
- For other platforms, the .tgz file unpacks to a "
/usr/local
" type hierarchy. For system-wide installation, you can unpack all of the
files into/usr/local/bin
,/usr/local/include
, etc.
- The configuration script
/usr/local/bin/icu-config
or the similar Makefile include fragment/usr/local/lib/icu/current/Makefile.inc
can be used in building applications.
To extract the archive's icu/usr/local
to /usr/local
:
sudo tar zxvf icu4c-61_1-Ubuntu16.04-x64.tgz -C /usr/local ./icu/usr/local --strip-components=4
The tar
options:
-C /usr/local
: to put the extracted files in/usr/local
./icu/usr/local
: to extract only the contents of./icu/usr/local
of from the archive (skipping the mostly uselessreadme.txt
)--strip-components=4
: to extract the files, but remove the leading 4 components (./icu/usr/local
) from the paths, since we're already extracting to/usr/local
.
If you have used pkg-config
before, icu-config
seems to be a similar script.
add a comment |Â
up vote
2
down vote
accepted
From the FAQ:
- For other platforms, the .tgz file unpacks to a "
/usr/local
" type hierarchy. For system-wide installation, you can unpack all of the
files into/usr/local/bin
,/usr/local/include
, etc.
- The configuration script
/usr/local/bin/icu-config
or the similar Makefile include fragment/usr/local/lib/icu/current/Makefile.inc
can be used in building applications.
To extract the archive's icu/usr/local
to /usr/local
:
sudo tar zxvf icu4c-61_1-Ubuntu16.04-x64.tgz -C /usr/local ./icu/usr/local --strip-components=4
The tar
options:
-C /usr/local
: to put the extracted files in/usr/local
./icu/usr/local
: to extract only the contents of./icu/usr/local
of from the archive (skipping the mostly uselessreadme.txt
)--strip-components=4
: to extract the files, but remove the leading 4 components (./icu/usr/local
) from the paths, since we're already extracting to/usr/local
.
If you have used pkg-config
before, icu-config
seems to be a similar script.
add a comment |Â
up vote
2
down vote
accepted
up vote
2
down vote
accepted
From the FAQ:
- For other platforms, the .tgz file unpacks to a "
/usr/local
" type hierarchy. For system-wide installation, you can unpack all of the
files into/usr/local/bin
,/usr/local/include
, etc.
- The configuration script
/usr/local/bin/icu-config
or the similar Makefile include fragment/usr/local/lib/icu/current/Makefile.inc
can be used in building applications.
To extract the archive's icu/usr/local
to /usr/local
:
sudo tar zxvf icu4c-61_1-Ubuntu16.04-x64.tgz -C /usr/local ./icu/usr/local --strip-components=4
The tar
options:
-C /usr/local
: to put the extracted files in/usr/local
./icu/usr/local
: to extract only the contents of./icu/usr/local
of from the archive (skipping the mostly uselessreadme.txt
)--strip-components=4
: to extract the files, but remove the leading 4 components (./icu/usr/local
) from the paths, since we're already extracting to/usr/local
.
If you have used pkg-config
before, icu-config
seems to be a similar script.
From the FAQ:
- For other platforms, the .tgz file unpacks to a "
/usr/local
" type hierarchy. For system-wide installation, you can unpack all of the
files into/usr/local/bin
,/usr/local/include
, etc.
- The configuration script
/usr/local/bin/icu-config
or the similar Makefile include fragment/usr/local/lib/icu/current/Makefile.inc
can be used in building applications.
To extract the archive's icu/usr/local
to /usr/local
:
sudo tar zxvf icu4c-61_1-Ubuntu16.04-x64.tgz -C /usr/local ./icu/usr/local --strip-components=4
The tar
options:
-C /usr/local
: to put the extracted files in/usr/local
./icu/usr/local
: to extract only the contents of./icu/usr/local
of from the archive (skipping the mostly uselessreadme.txt
)--strip-components=4
: to extract the files, but remove the leading 4 components (./icu/usr/local
) from the paths, since we're already extracting to/usr/local
.
If you have used pkg-config
before, icu-config
seems to be a similar script.
answered Jun 7 at 7:12
muru
128k19269459
128k19269459
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1044305%2fhow-to-connect-icu-library-with-gcc-in-the-ubuntu-16-04%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
@muru: Please consider if the icu.project.org is not worth our attention enough to get its tag, that I have proposed. In fact, I am only trying it, but their site is generally recommended for solving problems with different language text coding. I intended to describe the proposed tag later. Thanks!
â Tomáà ¡ PeÃÂený
Jun 7 at 6:29
Are the existing tags insufficient?
â muru
Jun 7 at 6:32
I feel the tag 'language' as too general and 'language-support' is described as 'the language support provided by Ubuntu'. I suggested the tag 'icu' as an analogy to the tag 'gcc' .
â Tomáà ¡ PeÃÂený
Jun 7 at 6:43
And I replaced that with libraries, which is sufficiently general enough.
â muru
Jun 7 at 6:46
I agree, thanks!
â Tomáà ¡ PeÃÂený
Jun 7 at 6:48