Install question

Asked by Bill Werner

Hey,

Running Ubuntu Trusty...need to install gettext, but don't know where to install at...

whereis gettext reports:

gettext: /usr/bin/gettext.sh /usr/bin/gettext /usr/lib/gettext /usr/bin/X11/gettext.sh /usr/bin/X11/gettext /usr/share/gettext /usr/share/man/man3/gettext.3.gz /usr/share/man/man1/gettext.1.gz

How do I know which directory to extract archive into?

Thanks for the rookie question...

Bill

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gettext Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of:

sudo update-grub; locate gettext

The command may take a while but let it run

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

Sorry:

sudo updatedb

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

Your output shows that you have gettext already installed.
Why do you think that you have to install it again?
From which source do you take the software that you now do not know where to put?

On Ubuntu you better us the software provided by the package management tools (e.g. software-center), and you should avoid downloading software archives from some other source.

Revision history for this message
Bill Werner (wernerb) said :
#4

Response to m-hampl:

I realize it is installed, however, while compiling VLC, got error stating newer version was required...just trying to understand how to install newer version that is NOT in repository or other installer format.

Just looking for more understanding as a 'rookie'. Been threatening leaving MS for years....finally have a file server now with Ubuntu and am working through a steep learning curve.

Thanks.

Bill

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

VLC is in the Ubuntu repositories, too. So there should not be the need for compiling it (with the dependency on gettext).

You are writing that you are using Ubuntu trusty. There is VLC version 2.1.6 provided in the standard repositories.
Is your aim to get a newer version of VLC?
Then you should start looking for a PPA with such version. https://launchpad.net/ubuntu/+ppas?name_filter=vlc lists lots of them, some with older versions, some for different Ubuntu releases, but at least
https://launchpad.net/~mc3man/+archive/ubuntu/trusty-media has version 2.2.1 for trusty
Or you can try https://launchpad.net/~videolan/+archive/ubuntu/master-daily with the 3.0 development version.

Standard disclaimers for PPAs (use at your own risk, no support I the official Ubuntu channels, etc.) apply.

Revision history for this message
Bill Werner (wernerb) said :
#6

PPAs won't install 2.2.1; don't know why, but that was the original get... I did get it compiled and believe it is working ok. However, the original question hasn't been answered. HOW, DO I DETERMINE THE 'BASE INSTALL FOLDER' TO UPGRADE SOMETHING? whereis show dozens of directories, but doesn't specify which one to extract an archive into...

Is there a simple way to determine this?

Thanks.

Bill

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#7

Why dont you use the version from the repos. It has been compiled and tested for your release....

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#8

There is no simple question to your original question.
It very much depends on the software, in what form you are getting it, whether there is an install script already provided in the package or nor, and several details more. In most cases different parts of the software have to go into different directories

Taking gettext as example:

The executable file gettext has to go into /usr/bin
The libraries like libgettextlib-0.18.3.so have to go into /usr/lib
The man pages have to go into /usr/share/man/man*

When you UPGRADE an Ubuntu package to a higher version of the Ubuntu package, all that is taken care of by the package management system. Only if you REPLACE an Ubuntu package by some other version from a foreign source, you have to care for that yourself. You have to ask the supplier of that foreign software how he intends that his software is installed.

Revision history for this message
Bill Werner (wernerb) said :
#9

Thanks to all, questions are how we learn. As stated earlier, I am attempting to learn linux and appreciate the information. I believe all questions have been answered.

Bill

Revision history for this message
Bill Werner (wernerb) said :
#10

Thanks Manfred Hampl, that solved my question.