Comments (5)
In a Linux file system, the standard conventions are:
/usr/bin
is for executables installed by a package manager (apt, yum, etc.)./usr/sbin
is essentially the same as/usr/bin
, except that executables in/usr/sbin
generally require root privileges to run./usr/lib
is for libraries (which aren't already installed) that executables depend on./bin
and/sbin
are for OS-specific core functions, such aschmod, fsck, iptables, etc
.- Note:
/sbin
doesn't exist in many older distributions.
In this case, I was slightly wrong; the make install
rule should put the Praat executables in /usr/local/bin
and libraries that Praat depends on should go in /usr/local/lib
, as package managers will not touch things in /usr/local
.
When installing via sudo apt-get install praat
executables should be put in /usr/bin
and libraries should be put in /usr/lib
.
Source: Linux Foundation Filesystem Hierarchy Standard
Here is my proposed make install
rule:
prefix=/usr/local
install: praat
install -m 0755 praat $(prefix)/bin
.PHONY: install
from praat.
What should make install
do exactly? Move the executable somewhere else, I guess, but where? Into a place accessible to all users, e.g. installing it to /usr/sbin
by using sudo
?
from praat.
make install
should put the executables into /usr/bin
.
from praat.
So that would be simply sudo mv praat /usr/bin
in your case, but perhaps something different in other people's cases, unless you can convince me that /usr/bin
is the place where executables should generally go.
from praat.
OK, so done. In makefile.defs.linux.pulse
:
INSTALL = install -p praat /usr/local/bin
and in the root makefile
:
.PHONY: all clean install
from praat.
Related Issues (20)
- Allow selection of a boundary without clicking on it exactly
- boolean in beginPause bug HOT 1
- [feature request] please support reading m4a audio format HOT 1
- number# doesn't work
- Chromebook Lenovo C330 Help! HOT 1
- [Bug] The numberOfFourierSamples may be changed after a window function is applied to the sound data in the menu command "View spectral slice“
- [Feature request] Allow customized placement of pause window continuation buttons
- Hide/show tiers in TextGrid HOT 5
- [Documentation] Missing setting "Attenuation at ceiling" in documentation HOT 1
- On linux/wayland demoShow doesn't immediatly show window
- The 'select earlier/later' shortcut keys do not work in the Linux system.
- Praat v6.4.06 - form/endform - text type - Praat interprets text: numberOfLines, variable$, initialValue$ as text: variable$, initialValue$ HOT 1
- Praat 6.4.06 - Windows 10 - Table: sort rows - GUI issues HOT 1
- Precision issue in test_ HOT 1
- Forms: "Only “choice”, “optionmenu” and “boolean” fields can take a number" for real/positive/integer/natural HOT 1
- Importing vowel marks from table to VowelEditor errors with 'File does not contain valid Table data.' HOT 5
- optionmenu - field type - issue with initialValue parameter HOT 1
- UTF-8 TextGrid saved as UTF-16 HOT 1
- Praat 6.4.13 - Windows 10 - Dialogs still appear after closing them?
- Y
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from praat.