emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: which ubuntu package has tput


From: Tim Cross
Subject: Re: which ubuntu package has tput
Date: Sat, 18 Jun 2022 09:47:17 +1000
User-agent: mu4e 1.7.27; emacs 28.1.50

<tomas@tuxteam.de> writes:

> [[PGP Signed Part:Undecided]]
> On Fri, Jun 17, 2022 at 10:59:08AM -0700, Jim Porter wrote:
>> On 6/17/2022 10:01 AM, hput wrote:
>> > Compiling emacs today I tried my best to find out what pkg holds
>> > tputs.
>> 
>> tput should be in ncurses-bin:
>> <https://packages.ubuntu.com/search?searchon=contents&keywords=tput&mode=exactfilename&suite=jammy&arch=any>.
>> 
>> Once you know where to look (a non-trivial matter!), it's pretty easy to
>> figure this out. Just go to <https://packages.ubuntu.com/> and enter your
>> search under "Search the contents of packages".
>
> Or install package apt-cache and do an "apt-cache search tput".
>

A 'trick' I find useful on many GNU Linux distributions is to use
whatever the package management system is to list the build dependencies
for their version of emacs. For example, on Debian based systems, you
can do something like 

apt build-dep emacs27

which will list and install all the build dependencies associated with
the emacs 27 included in that distro. when installing a newer version of
Emacs, there may be some new dependencies not included, but the above
will at least give you most of them. If you only want to build the text
version (no X), then use the no X package version. From memory, doing
this against Ubuntu's emacs27 gave me all the dependencies needed to
build either Emacs 28 or 29. 

Fedora's dnf command has builddep, which does a similar task. I'm sure
other package managers have similar. 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]