Error installing XZ Utils
Hello,
I am very new on Linux. I have Ubuntu 16.04 LTS installed and I want to install XZ Utils but I get an error when I try to do it. Can you help me telling me what I am doing wrong? or what is missing me? I execute this three shell commands: ./configure make make install After executing make install I get this: armi@armi-VirtualBox:~/Downloads/xz-5.2.2$ make install Making install in src make[1]: Entering directory '/home/armi/Downloads/xz-5.2.2/src' Making install in liblzma make[2]: Entering directory '/home/armi/Downloads/xz-5.2.2/src/liblzma' Making install in api make[3]: Entering directory '/home/armi/Downloads/xz-5.2.2/src/liblzma/api' make[4]: Entering directory '/home/armi/Downloads/xz-5.2.2/src/liblzma/api' make[4]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/local/include' /bin/mkdir -p '/usr/local/include/lzma' /bin/mkdir: cannot create directory ‘/usr/local/include/lzma’: Permission denied /usr/bin/install -c -m 644 lzma/base.h lzma/bcj.h lzma/block.h lzma/check.h lzma/container.h lzma/delta.h lzma/filter.h lzma/hardware.h lzma/index.h lzma/index_hash.h lzma/lzma12.h lzma/stream_flags.h lzma/version.h lzma/vli.h '/usr/local/include/lzma' /usr/bin/install: target '/usr/local/include/lzma' is not a directory Makefile:391: recipe for target 'install-nobase_includeHEADERS' failed make[4]: *** [install-nobase_includeHEADERS] Error 1 make[4]: Leaving directory '/home/armi/Downloads/xz-5.2.2/src/liblzma/api' Makefile:510: recipe for target 'install-am' failed make[3]: *** [install-am] Error 2 make[3]: Leaving directory '/home/armi/Downloads/xz-5.2.2/src/liblzma/api' Makefile:1550: recipe for target 'install-recursive' failed make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory '/home/armi/Downloads/xz-5.2.2/src/liblzma' Makefile:419: recipe for target 'install-recursive' failed make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory '/home/armi/Downloads/xz-5.2.2/src' Makefile:612: recipe for target 'install-recursive' failed make: *** [install-recursive] Error 1 |
Welcome to LQ.
Quote:
? But why not use the Ubuntu package : $ sudo apt-get update && sudo apt-get install xz-utils - |
Solved
Thank you knudfl, as simple as you say. Thanks for your help.
|
All times are GMT -5. The time now is 08:47 AM. |